Skip to content

Top of window truncated on panel auto resize with small window height #779

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

Closed
per1234 opened this issue Jan 27, 2022 · 1 comment · Fixed by #1151
Closed

Top of window truncated on panel auto resize with small window height #779

per1234 opened this issue Jan 27, 2022 · 1 comment · Fixed by #1151
Assignees
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Jan 27, 2022

Describe the bug

If you have height of the IDE window set fairly small (as might be required with a small display/large interface scale/tiled windows), operations that automatically resize the panel (e.g., opening the panel or changing tabs) can cause the top of the window to truncate (resulting in the apparent disappearance of important UI elements such as the button bar).

To Reproduce

  1. Open Serial Monitor
  2. Resize the Arduino IDE window size until the bottom of the window is truncated to the point where the panel can not accommodate the height of the baud rate dropdown menu (Parts of the UI disappear when window is to small #662).
  3. Open the baud rate menu in the Serial Monitor.

🐛 The elements at the top of the IDE window have been cut off to accommodate the forced resizing of the panel.
🐛 There is no scroll bar which would allow bringing that part of the window back into view, or indicate in a standard manner that the issue was caused by the window dimensions.

screencast4

Expected behavior

The top of the window is never truncated.

If truncation is required, it occurs at the more intuitive bottom of the window.

Desktop

  • OS: Windows 10
  • Version: 2.0.0-rc3-snapshot.1d88263
    Date: 2022-01-24T16:22:30.529Z
    CLI Version: 0.20.2 [13783819]

Additional context

The demonstration above was the most simple procedure I found to reproduce it. However, there are several other conditions it can occur under. In these, simply opening Serial Monitor, clicking one of the panel tabs, or another common operation causes the top truncation.

This is essentially the same issue as #662. However, this variant is a worse user experience because it occurs at some unknown time after the window resizing, so they will not necessarily connect the window resizing action to the apparent loss of the user interface. The top of the window also contains the essential UI elements of the button bar and editor tabs, so its truncation has more of an impact than the loss of the status bar.

Originally reported at https://forum.arduino.cc/t/buttons-on-toolbar-disappear-after-upload-ide-2-0/948849

Related: #129

@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Jan 27, 2022
@per1234
Copy link
Contributor Author

per1234 commented Jul 8, 2022

Closing as fixed by #1151

@per1234 per1234 closed this as completed Jul 8, 2022
@per1234 per1234 assigned per1234 and unassigned 91volt Jul 8, 2022
@per1234 per1234 linked a pull request Jul 8, 2022 that will close this issue
4 tasks
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.

2 participants