Closed Bug 627755 Opened 14 years ago Closed 14 years ago

No resizer when status bar is turned off

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: neil, Assigned: neil)

Details

Attachments

(1 file, 1 obsolete file)

Bug 489303 has made it possible to turn on scrollbars on the web page when the status bar is turned off.
Attached patch Proposed patch (obsolete) — Splinter Review
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #505822 - Flags: review?(philip.chee)
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)
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 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+
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.

Attachment

General

Created:
Updated:
Size: