-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't workingui / uxissues related to user interface / user experienceissues related to user interface / user experience
Description
An example bug report, illustrating an existing problem.
Describe the bug
When the program first starts, the preview window's zoom % and slider position are not accurate. Any adjustments to the slider cause it to be correctly updated.
To Reproduce
Steps to reproduce the behavior:
- Start the program, set preview window's zoom slider to a value greater than 100%
- Properly close the program
- Start the program again
- Observe the preview window's zoom % and position
- Alter the zoom slider position slightly to see where it should be
Expected behavior
On start up, the program should display the preview zoomed in at the previous session's settings and accurately report the % zoom value above the slider.
Desktop (please complete the following information):
- Observed in Windows 10, and on Manjaro Linux (from source).
Additional context
- This issue appears related to the setMaxZoom() function needing an updated preview window to correctly calculate the available window geometry.
- Calling updatePreview() function before and after .settings.setMaxZoom() solves the issue but doubles CPU load on all zoom alterations.
- Since the issue is only present at start up, a more frugal solution is preferable.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingui / uxissues related to user interface / user experienceissues related to user interface / user experience