Open
Bug 1124227
Opened 10 years ago
Updated 2 years ago
Windows are restored as SW_SHOWNORMAL before being resized (by session restore?) to their actual state.
Categories
(Core :: Widget: Win32, defect, P3)
Tracking
()
NEW
People
(Reporter: johan.charlez, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: polish, Whiteboard: [win:sizing])
STR:
1. Open multiple windows with multiple tabs. From my experience the more windows and tabs you have opened, the more noticeable the bug is.
2. Maximize all windows.
3. Restart Firefox.
Actual result:
Maximized windows are restored as normal/restored windows (SW_NORMAL?), after which they are maximized. The effect is quite jarring, the screen flashes white as windows are given their proper state.
Expected result:
Maximized windows should restore as maximized immediately on restart. They should not restore as normal windows first only to be maximized a second (or more) later. Note that you can't interact with windows before they have been maximized.
Could this be a session restore bug? Until someone can confirm this on Linux and/or OS X, widget:win32 seems like the best fit.
I came across http://mxr.mozilla.org/mozilla-central/source/widget/windows/nsWindow.cpp#6456 the other day, maybe this could help here?
MSDN BeginDeferWindowPos: https://msdn.microsoft.com/en-us/library/windows/desktop/ms632672%28v=vs.85%29.aspx
MSDN DeferWindowPos: https://msdn.microsoft.com/en-us/library/windows/desktop/ms632681%28v=vs.85%29.aspx
MSDN EndDeferWindowPos: https://msdn.microsoft.com/en-us/library/windows/desktop/ms633440%28v=vs.85%29.aspx
I get different results: When restarting firefox, only the last window that is opened by firefox gets restored to maximum state, all other windows remain SW_NORMAL. This is very annoying as it forces the user to maximize the windows manually after each restart.
This bug however does NOT appear, when going to appearance customizations -> enable title-bar.
(In reply to xaser from comment #2)
> I get different results: When restarting firefox, only the last window that
> is opened by firefox gets restored to maximum state, all other windows
> remain SW_NORMAL. This is very annoying as it forces the user to maximize
> the windows manually after each restart.
>
> This bug however does NOT appear, when going to appearance customizations ->
> enable title-bar.
What you're describing is probably bug 384278.
Updated•8 years ago
|
Priority: -- → P4
Whiteboard: tpi:+
Updated•2 years ago
|
Severity: normal → S3
Comment 5•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 16 votes.
:spohl, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Flags: needinfo?(spohl.mozilla.bugs)
Comment 6•2 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Flags: needinfo?(spohl.mozilla.bugs)
Comment 7•2 years ago
|
||
I can confirm that I see this behavior, as originally reported, on the current Nightly.
Requeueing for triage.
Flags: needinfo?(spohl.mozilla.bugs)
Updated•2 years ago
|
Flags: needinfo?(spohl.mozilla.bugs)
Priority: P4 → P3
Whiteboard: tpi:+ → [win:sizing]
You need to log in
before you can comment on or make changes to this bug.
Description
•