Opened 5 weeks ago
Last modified 4 weeks ago
#18865 new bug
Should restore default window position when it starts out of screen (easy)
Reported by: | slema | Owned by: | Zardshard |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta5 |
Component: | Applications/Icon-O-Matic | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I changed my desktop from 4k to 1080 at some point. As a result the position for Icon-O-Matic kept opening out of screen. Visually I saw nothing. When I opened it from filetypes nothing happened apparently as it was indeed visible but outside of screen bounds.
I believe that if on app startup the window to be restored is out of maximum visible area the default size should be restored (this is what I did manually by going into the settings and deleting the settings file for icon-o-matic before restarting it).
Change History (7)
comment:1 by , 5 weeks ago
Component: | User Interface → Applications/Icon-O-Matic |
---|---|
Keywords: | window position removed |
Owner: | changed from | to
comment:2 by , 5 weeks ago
Milestone: | Unscheduled → R1/beta5 |
---|
comment:3 by , 5 weeks ago
comment:5 by , 5 weeks ago
Ah, wasn't aware of that API. That should make it easier. You may need to update fLastWindowFrame
after calling it.
comment:7 by , 4 weeks ago
Summary: | Should restore default window position when it starts out of screen → Should restore default window position when it starts out of screen (easy) |
---|
This looks like it would make a good easy ticket.
Hint to whoever decides to take this up: figure out a way to get the screen's size, perhaps through
BScreen::GetMode
, and take that into account when updatingfLastWindowFrame
in IconEditorApp.cpp.