Closed
Bug 627755
Opened 14 years ago
Closed 14 years ago
No resizer when status bar is turned off
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: neil, Assigned: neil)
Details
Attachments
(1 file, 1 obsolete file)
5.48 KB,
patch
|
philip.chee
:
review+
|
Details | Diff | Splinter Review |
Bug 489303 has made it possible to turn on scrollbars on the web page when the status bar is turned off.
Assignee | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Comment on attachment 505822 [details] [diff] [review]
Proposed patch
> + getBrowser().showWindowResizer = !window.fullScreen &&
> + !isElementVisible(document.getElementById("status-bar"));
I can never remember the indentation rules for this sort of situation. Is four spaces correct here?
While testing this patch I ran into Bug 626997. Perhaps you need to port attachment 505499 [details] [diff] [review] as well.
Attachment #505822 -
Flags: review?(philip.chee)
Assignee | ||
Comment 3•14 years ago
|
||
There is an edge case where the resize listener doesn't work but somehow I doubt that users will manually resize their browser to the particular size.
Attachment #505822 -
Attachment is obsolete: true
Attachment #506214 -
Flags: review?(philip.chee)
Comment 4•14 years ago
|
||
Comment on attachment 506214 [details] [diff] [review]
With maximise fix
r=me
> addEventListener("PopupCountChanged", UpdateStatusBarPopupIcon, true);
>
> addEventListener("AppCommand", HandleAppCommandEvent, true);
>
> + addEventListener("resize", updateWindowResizer, false);
Optionally remove the blank lines in between these addEventListener(s) on checkin.
Attachment #506214 -
Flags: review?(philip.chee) → review+
Assignee | ||
Comment 5•14 years ago
|
||
Pushed changeset 0c665572476a to comm-central.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•