Closed
Bug 245088
Opened 21 years ago
Closed 21 years ago
The 'Customize toolbar' window looks bad in recent nightlies and 0.9rc
Categories
(Firefox :: Toolbars and Customization, defect, P2)
Tracking
()
RESOLVED
FIXED
People
(Reporter: marcoos, Assigned: bugs)
References
Details
(Keywords: fixed-aviary1.0, regression, Whiteboard: http://testrunner.mozilla.org/test.cgi?run_id=243#848)
Attachments
(6 files, 3 obsolete files)
46.51 KB,
image/jpeg
|
Details | |
822 bytes,
patch
|
Details | Diff | Splinter Review | |
131.78 KB,
image/png
|
Details | |
74.61 KB,
image/png
|
Details | |
5.01 KB,
patch
|
Details | Diff | Splinter Review | |
91.00 KB,
image/png
|
Details |
Build: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a2) Gecko/20040529
Firefox/0.8.0+
A vertical toolbar is shown in the Customize window, which makes the buttons
unreadable.
A screenshot follows.
Reporter | ||
Comment 1•21 years ago
|
||
Reporter | ||
Comment 2•21 years ago
|
||
I can also reproduce this bug in the aviary branch build for Linux.
(Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040605 Firefox/0.8.0+)
Reporter | ||
Comment 3•21 years ago
|
||
Changing kWindowWidth in customizeToolbar.js from 600 to 650 fixes the problem.
This patch does just this.
Reporter | ||
Comment 4•21 years ago
|
||
In my opinion, this bug should be a blocker for 0.9.
Flags: blocking0.9?
Reporter | ||
Updated•21 years ago
|
Summary: The 'Customize toolbar' window looks bad in recent nightlies → The 'Customize toolbar' window looks bad in recent nightlies and 0.9rc
Comment 5•21 years ago
|
||
See bug 171454 - very similar, but no necessarily a dupe? Both are caused by
setting an explicit pixel width instead of letting the window resize automatically.
Reporter | ||
Comment 6•21 years ago
|
||
In comment 0 I wrote "vertical toolbar", I of course meant "vertical scrollbar". :)
Comment 7•21 years ago
|
||
After opening the customize dialog several times, I even had this terrible
window.
Reporter | ||
Comment 8•21 years ago
|
||
*** Bug 246005 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 9•21 years ago
|
||
I wonder why some people have it even more narrow than I do (attachment 149623 [details])...
Comment 10•21 years ago
|
||
(In reply to comment #9)
> I wonder why some people have it even more narrow than I do (attachment 149623 [details])...
I posted the narrow one. Actually, I get it only sometimes, usually I get
something similar to what you posted. If you open the customize dialog via
context menu of a toolbar, apply (without do any changes), open it again, apply
(make this several times in a row) then you will notice how the height of the
dialog changes (first showing only 2 lines of icons, then 2.5 lines, then 3
lines), and suddenly, you get the messed up dialog like shown in attachment 150368 [details]
Comment 11•21 years ago
|
||
severity major since it makes it unusable. keyword regression
Severity: normal → major
Keywords: regression
Comment 12•21 years ago
|
||
This bug persisted in Firefox 0.9 final, using GTK2+XFT build here.
Comment 13•21 years ago
|
||
confirming. I see this bug in state from attchment 150368 with 0.9 final. No
matter in new profile or old.
Flags: blocking1.0?
Comment 14•21 years ago
|
||
Also the funny thing is that everytime i'm opening this pseudo-window it opens
in another place, width and height. In result somethimes i can use it.
Updated•21 years ago
|
Flags: blocking0.9?
Comment 15•21 years ago
|
||
I have seen a situation like in 'Screenshot' at my girlfriends PC. In most cases
it renders correctly for me, but sometimes I get the same thing as in 'Another
Screenshot'.
Updated•21 years ago
|
Flags: blocking1.0? → blocking1.0+
Priority: -- → P2
Comment 16•21 years ago
|
||
I hope someone can fix this ugliness for 0.9.1. I can't imagine advocating for
this version of firefox otherwise, despite the very nice improvements.
Comment 17•21 years ago
|
||
Did this regress relatively recently, or had people been seeing it for a long
time before this bug was opened? Also, so far this seems to be linux only...are
those seeing the bug running with non-standard settings that could be causing
the problem (big font, etc.)? Not that it shouldn't be fixed to work with such
settings, I'm just trying to figure out what might cause this.
Comment 18•21 years ago
|
||
I've been seeing this 'forever' (i.e. since I first tried firebird, after it
changed its name from pheonix).
Comment 19•21 years ago
|
||
If it's not new, then there's a good chance this is a dupe of bug 171454, or at
least a symptom of the same problem.
Comment 20•21 years ago
|
||
*** Bug 255024 has been marked as a duplicate of this bug. ***
Comment 21•21 years ago
|
||
I have seen the problem with window being narrow long before 0.9.
It may have something to do with my machine being rather slow (a Duron 850)?
Comment 22•21 years ago
|
||
(In reply to comment #17)
> Did this regress relatively recently, or had people been seeing it for a long
> time before this bug was opened? Also, so far this seems to be linux only...are
Sorry for additional bugspam. I remember seing it on Windows as early as in,
say, 0.6.
Comment 23•21 years ago
|
||
There is a race condition in the onLoad() function where the window is being
moved while it's not completely created. I put an alert() before the
repositionDialog() invocation and the problem vanished.
I could try fixing it myself somehow but I guess it shouldn't be that hard now
(plus, it's 2:26 am here). If it can't be fixed easily, I suggest disabling
the scroll effect (at least for the 1.0 release).
Comment 24•21 years ago
|
||
I have fixed it in my Firefox (but it's not at all elegant) by applying a 200 ms
delay in the onLoad() method in
$FIREFOX/chrome/toolkit.jar!content/global/customizeToolbar.js
and it works, but it can't be fixed this way in the official FF.
The elegant solution would be to delay the repositioning of the window until
it's available. But I don't know how to do it.
Comment 25•21 years ago
|
||
The onLoad() function is called BEFORE the window is completely created.
Therefore, if ma
y happen (although, it doesn't have to, there's a race condition) that the
repositionDial
og() function does not have any effect.
So, we could periodically (say, every 10 ms) check if the window has been
constructed (by
checking if window.left is not undefined). If so, we can proceed with the
repositioning.
Comment 26•21 years ago
|
||
1. Sorry for bugspam.
2. The fix is, I would say, temporary, until the bug with onLoad() (being
called before the window is ready) is fixed.
Updated•21 years ago
|
Attachment #159264 -
Attachment is obsolete: true
Comment 27•21 years ago
|
||
Comment on attachment 159266 [details] [diff] [review]
patch, standards compliant (kudos, gandalf)
It still doesn't work as it should. Sometimes the bug occurs.
Attachment #159266 -
Attachment is obsolete: true
Comment 28•21 years ago
|
||
Simply moving the hidechrome attribute to the xul increases window creation
speed lot.
This patch kills the slide out/in animation (which looks like ass on anything
but the fastest builds/systems), and also sets up the dialog content before
repositioning. It also doesn't try to force the width and/or height -- this
means that we'll end up with a possibly large window, but at least all the
icons will be visible without scrolling. Calling repositionDialog from a
0-timeout would ensure that the dialog is always the right size, but it also
causes a visual "jump" of the dialog as soon as its displayed
Attachment #160194 -
Flags: review?(bugs)
Comment 30•21 years ago
|
||
Why this patch does not remove slideOpen and slideClose functions since they're
not used anymore?
Andrzej wrote that setting width via XUL <window> property fixes this problem. I
think it's a better solution.
Comment 31•21 years ago
|
||
No, it did not. I have noticed a few "narror windows" with the settings moved to
XUL as well. But it did help make them less occuring, yes.
Assignee | ||
Comment 32•21 years ago
|
||
Remove slide-out, make the window not reposition badly near the bottom of the
screen, add mconnor's close keybindings.
Attachment #160194 -
Attachment is obsolete: true
Assignee | ||
Comment 33•21 years ago
|
||
Fixed br & trunk.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Attachment #160194 -
Flags: review?(bugs)
Comment 34•21 years ago
|
||
looks like it has been fixed on the branch, so could somebody please add the
fixed-aviary1.0 keyword?
(i know this is trivial but it would be useful for querying the overall number
of remaining bugs)
Updated•21 years ago
|
Keywords: fixed-aviary1.0
Comment 35•21 years ago
|
||
This may have caused bug 262256.
Comment 36•21 years ago
|
||
I still get the scrollbar plus the window still "looks bad" because it has no
border whatsoever. Screenshot follows.
Comment 37•21 years ago
|
||
Updated•19 years ago
|
QA Contact: bugzilla → toolbars
You need to log in
before you can comment on or make changes to this bug.
Description
•