Closed
Bug 297158
Opened 20 years ago
Closed 20 years ago
Place all application windows in the center of the screen if previous location cannot be found
Categories
(Core :: Widget, enhancement)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bugs.caleb, Unassigned)
Details
What is currently done (atleast on Windows) is, that if the previous position of a window is not found (new profile...) then it is placed in the top-left corner of the screen (atleast in my 1280x1024 resolution) which, of course, makes the user move it back to the center (or somewhere else that is convinient). I propose to have windows whose previous position is undefined to be placed in the center of the screen. I've been told that this kind of data is saved in localstore.rdf in the profile directory. So basically, if the position cannot be found in localstore.rdf, the new window poisition is calculated like this: Window.Left = static_cast<int>((Screen.Width - Window.Width) / 2); Window.Top = static_cast<int>((Screen.Height - Window.Height) /2);
Looks like I forgot to take window overlapping into consideration.. INVALID.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•