Skip to content

Application content only fills part of full IDE window dimensions when opening new file #1244

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

Open
3 tasks done
Sorin-Jayaweera opened this issue Jul 23, 2022 · 2 comments · Fixed by #1255
Open
3 tasks done
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@Sorin-Jayaweera
Copy link

Sorin-Jayaweera commented Jul 23, 2022

Describe the problem

image

To reproduce

  1. Start Arduino IDE.
  2. Select a sketch from Arduino IDE's File > Open Recent menu.
  3. Let the file open while the window dimensions are less than the maximized dimensions, don't fullscreen while loading.
  4. Wait for the sketch to finish loading.
  5. Immediately 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

Original report

2.0.0-rc9

Last verified with

2.3.6

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.

Additional reports


Keywords

  • "resize"

  • "resized"

  • "maximize"

  • "maximized"

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
@Sorin-Jayaweera Sorin-Jayaweera 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 pushed 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 <[email protected]>
kittaakos pushed a commit that referenced this issue Jul 27, 2022
kittaakos pushed a commit that referenced this issue Jul 27, 2022
kittaakos pushed 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 <[email protected]>
kittaakos pushed 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 <[email protected]>
kittaakos pushed 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 <[email protected]>
kittaakos pushed 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 <[email protected]>
kittaakos pushed 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 <[email protected]>
@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):

image

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.

Workaround

  1. Click the "restore" icon at the top right corner of the Arduino IDE window:
    image
  2. Click the "maximize" icon at the top right corner of the Arduino IDE window:
    image

@kittaakos kittaakos removed the conclusion: resolved Issue was resolved label Jan 10, 2023
@per1234 per1234 changed the title Opening new file is quarter-screen Application content only fills part of full IDE window dimensions when opening new file Sep 24, 2023
@kittaakos kittaakos removed their assignment Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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