Closed Bug 83944 Opened 24 years ago Closed 24 years ago

urlbar history popup should have a max-width

Categories

(SeaMonkey :: Themes, defect, P3)

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.7

People

(Reporter: jrgmorrison, Assigned: hewitt)

References

Details

Attachments

(2 files)

I often wind up reloading url's that are long GET queries, by hitting return in the urlbar. This adds them to my history list. The problem is that the popup has an unconstrained width, so the popup that comes up is as wide as my monitor (but it isn't really that useful to be able to see that information in the query string). It seems like a simple rule, such as: #ubhist-popup { max-width : 40em; } would be good to add to the skins. It seems to work well for me [it limits it to 40em if the urlbar is less than 40em wide, and otherwise it keeps the popup as no greater than the width of the urlbar]. I'll attach an image of the uselessly wide popup that I often get. It seems to me that this fits the 'low-risk', 'clear benefit' criteria. Whaddya think?
Will it solve the problem in bug 83457 ??
*** Bug 83237 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
Summary: urlbar history popup should have a max-width; better UI if it does. → urlbar history popup should have a max-width
*** Bug 90811 has been marked as a duplicate of this bug. ***
*** Bug 94697 has been marked as a duplicate of this bug. ***
*** Bug 97331 has been marked as a duplicate of this bug. ***
Severity: normal → minor
Priority: -- → P3
Target Milestone: --- → mozilla1.0
*** Bug 107725 has been marked as a duplicate of this bug. ***
Target Milestone: mozilla1.0 → mozilla0.9.8
Why can't it find the width of its parent? It's finding a max width of {screen width} already. This would let you resize the window and the URL bar with minimal effect.
Target Milestone: mozilla0.9.8 → mozilla0.9.7
Attached patch patchSplinter Review
This popup actually did have a max-width - it has the sizetopopup attribute set, which is supposed to instruct it to be no wider than the urlbar textbox. However, as I discovered, sizetopopup will only change the size of a popup if it has to grow it - if it needs to shrink it, it won't. I think this is the wrong behavior, and so, this patch allows sizetopopup to shrink as well.
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified the patch.
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: