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

Top part of UI disappears when opening recent sketch #1515

Closed
3 tasks done
aliphys opened this issue Oct 3, 2022 · 3 comments · Fixed by #1517
Closed
3 tasks done

Top part of UI disappears when opening recent sketch #1515

aliphys opened this issue Oct 3, 2022 · 3 comments · Fixed by #1517
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

@aliphys
Copy link

aliphys commented Oct 3, 2022

Describe the problem

When opening a recent sketch, the top part of the UI disappears.
image

To reproduce

  1. Open a recently opened sketch
  2. Click on Output
  3. Top part of window disappears

See video recording here: https://www.loom.com/share/f3e55c19d1434a128695cc5a9f7820d8

Expected behavior

I would expect that the UI elements don't change, when I click on Output.

Arduino IDE version

20221003

Operating system

Windows

Operating system version

Windows 10

Additional context

No response

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
@aliphys aliphys added the type: imperfection Perceived defect in any part of project label Oct 3, 2022
@r3inbowari
Copy link
Contributor

Hi! I can't reproduce, but I noticed that the occluded problem seems to reappear when the window is minimized.
OS: Windows 11(21H2)

image

@per1234
Copy link
Contributor

per1234 commented Oct 3, 2022

Thanks @aliphys. Please open File > Preferences from the Arduino IDE menus and tell me whether the "Automatic" checkbox is checked or unchecked next to the "Interface Scale" preference, and what is the % value of that preference.

I encountered this bug some time back: #779. I marked it as solved, but now I see it was solved only when using the default 100% interface scale. I can still reproduce the bug (both with the IDE version from the time of the "fix", and with the latest nightly) when I use a larger interface scale value.

I noticed that the occluded problem seems to reappear when the window is minimized.

I noticed this also. This was previously reported at #662 and considered fixed by the same PR #1151. As with #779, I see the "fix" was only a fix when using the default interface scale. However, unlike #1151 there was almost immediately a regression that caused the fix to be lost even with the default interface scale setting! I didn't do a full bisection, but I find the status bar is clipped slightly starting from 99664ee and seriously clipped as shown in your screenshot starting from 5ff9ce0.

@per1234 per1234 added the topic: code Related to content of the project itself label Oct 3, 2022
@aliphys
Copy link
Author

aliphys commented Oct 3, 2022

@per1234 This is the screenshot for the File > Preferences menu
image
The "Automatic" checkbox for the "Interface Scale" is checked, and the value is set to 120%.

I tried seeing what happens when I resize the window (with the above settings) and can confirm your observations about #779 . The top part only truncates when the window is smaller than a critical value.

Additionally, when the "Automatic" check box is disabled and the "Interface Scale" value is set to 100%, the truncation issues is resolved.

I have demonstrated both here: https://www.loom.com/share/c896d29dc69e4c39aec1b61ae09636ef

@per1234 per1234 linked a pull request Oct 7, 2022 that will close this issue
4 tasks
@per1234 per1234 closed this as completed Oct 7, 2022
@per1234 per1234 self-assigned this Oct 7, 2022
@per1234 per1234 added the conclusion: resolved Issue was resolved label Oct 7, 2022
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