arduino-ide icon indicating copy to clipboard operation
arduino-ide copied to clipboard

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

Open Sorin-Jayaweera opened this issue 2 years ago • 2 comments

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

Original report

2.0.0-rc9

Last verified with

1ec0a8c

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!

Additional reports

  • https://forum.arduino.cc/t/ide-2-doesnt-resize-contents-reliably/1171736
  • https://forum.arduino.cc/t/pardus-23-1-latest-arduino-ide-2-3-2-stable-latest-dev-ttyusb0-acsess-denied/1302886/7

Issue checklist

  • [X] I searched for previous reports in the issue tracker
  • [X] I verified the problem still occurs when using the latest nightly build
  • [X] My report contains all necessary details

Sorin-Jayaweera avatar Jul 23 '22 05:07 Sorin-Jayaweera

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 https://github.com/arduino/arduino-ide/pull/1255):

image

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

image

There is another report of it here: https://github.com/arduino/arduino-ide/issues/1309#issuecomment-1209857244

per1234 avatar Aug 10 '22 04:08 per1234

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

per1234 avatar Aug 10 '22 04:08 per1234