Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening new file is quarter-screen #1244

Open
3 tasks done
finncat62 opened this issue Jul 23, 2022 · 2 comments · Fixed by #1255
Open
3 tasks done

Opening new file is quarter-screen #1244

finncat62 opened this issue Jul 23, 2022 · 2 comments · Fixed by #1255
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@finncat62
Copy link

finncat62 commented Jul 23, 2022

Describe the problem

image

To reproduce

open the ide
file -> open recent -> filename
let the file open while small, don't fullscreen while loading.
after just done loading or at the very end of loading, fullscreen.

the screen will be stuck until you close and reopen, unless you fullscreen while loading or adjust size and reset to fullscreen

Expected behavior

follow the set window size and fully fill.

Arduino IDE version

2.0.0-rc9

Operating system

Windows

Operating system version

10

Additional context

if you fullscreen while loading or give more then 10ish seconds(for me), then it will work normally.

I couldn't find a bug report similar to this, sorry if it a duplicate!
I am an extremely novice programmer, and I love arduino! Its so much fun, I love learning everything. You guys are loved and amazing and are truly saving me from complete boredom while letting me explore and create. Thank you!

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@finncat62 finncat62 added the type: imperfection Perceived defect in any part of project label Jul 23, 2022
@per1234 per1234 added the topic: code Related to content of the project itself label Jul 23, 2022
kittaakos added a commit that referenced this issue Jul 26, 2022
Set the zoom level, when the app is ready.

Closes #1244.

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos added a commit that referenced this issue Jul 27, 2022
Closes #1244.

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos added a commit that referenced this issue Jul 27, 2022
Closes #1244.

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos added a commit that referenced this issue Jul 27, 2022
 - Debounced the connectivity status update.
 - Silent the output channel for the Arduino LS.
 - Delay the problem markers update with 500ms.
 - Do not update the status bar on every `keypress` event.
 - Debounced the tab-bar toolbar updates when typing in editor.
 - Fixed electron menu contribution binding.
 - Aligned the editor widget factory's API to Theia.
 - Set the zoom level when the app is ready (Closes #1244)
 - Fixed event listener leak (Closes #1062)

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos added a commit that referenced this issue Jul 27, 2022
 - Debounced the connectivity status update.
 - Silent the output channel for the Arduino LS.
 - Delay the problem markers update with 500ms.
 - Do not update the status bar on every `keypress` event.
 - Debounced the tab-bar toolbar updates when typing in editor.
 - Fixed electron menu contribution binding.
 - Aligned the editor widget factory's API to Theia.
 - Set the zoom level when the app is ready (Closes #1244)
 - Fixed event listener leak (Closes #1062)

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos added a commit that referenced this issue Jul 28, 2022
 - Debounced the connectivity status update.
 - Silent the output channel for the Arduino LS.
 - Delay the problem markers update with 500ms.
 - Do not update the status bar on every `keypress` event.
 - Debounced the tab-bar toolbar updates when typing in editor.
 - Fixed electron menu contribution binding.
 - Aligned the editor widget factory's API to Theia.
 - Set the zoom level when the app is ready (Closes #1244)
 - Fixed event listener leak (Closes #1062)

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos added a commit that referenced this issue Aug 1, 2022
 - Debounced the connectivity status update.
 - Silent the output channel for the Arduino LS.
 - Delay the problem markers update with 500ms.
 - Do not update the status bar on every `keypress` event.
 - Debounced the tab-bar toolbar updates when typing in editor.
 - Fixed electron menu contribution binding.
 - Aligned the editor widget factory's API to Theia.
 - Set the zoom level when the app is ready (Closes #1244)
 - Fixed event listener leak (Closes #1062)

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos added a commit that referenced this issue Aug 1, 2022
 - Debounced the connectivity status update.
 - Silent the output channel for the Arduino LS.
 - Delay the problem markers update with 500ms.
 - Do not update the status bar on every `keypress` event.
 - Debounced the tab-bar toolbar updates when typing in editor.
 - Fixed electron menu contribution binding.
 - Aligned the editor widget factory's API to Theia.
 - Set the zoom level when the app is ready (Closes #1244)
 - Fixed event listener leak (Closes #1062)

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@per1234 per1234 added the conclusion: resolved Issue was resolved label Aug 1, 2022
@per1234 per1234 reopened this Aug 10, 2022
@per1234
Copy link
Contributor

per1234 commented Aug 10, 2022

It seems this can still occur, but perhaps only with very specific timing:

I encountered it by chance while using the build from 2.0.0-rc9.1-snapshot-54db9bb (which includes the fix made at #1255):

window-resize-bug

And again just now with 2.0.0-rc9.1-snapshot-8a1cabd

image

There is another report of it here: #1309 (comment)

@per1234
Copy link
Contributor

per1234 commented Aug 10, 2022

I am now able to reproduce it consistently via this procedure:

  1. Start the Arduino IDE.
  2. Reduce the window dimensions.
  3. Select File > Quit from the Arduino IDE menus.
  4. Start the Arduino IDE.
  5. Wait for the splash animation to stop.
  6. Immediately maximize the window.

I have not been able to reproduce it when opening a new window via File > New, so perhaps it should be considered a separate bug?

I have only tested for it on Windows so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants