Closed
Bug 215839
Opened 21 years ago
Closed 19 years ago
Text on icons should be aligned onto a straight line
Categories
(Firefox :: Toolbars and Customization, defect, P3)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: jan_sammler, Assigned: kevin)
References
Details
Attachments
(5 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
If the user selects "Text and Icons" from the "Show"-section in the customize
dialogue, he'll get a text underneath the icons in the toolbars. This text isn't
aligned onto a straight line. Instead, some icons are misaligned - at least with
the standard theme.
Reproducible: Always
Steps to Reproduce:
1. Open the customize dialogue.
2. Select Show: Text and Icons and select "Use Small Icons".
3. Click 'Done'.
Actual Results:
The Toolbar produces the icons with some text misaligned.
Expected Results:
The Toolbar should produce the icons with rightly aligned text.
only back and forward is different from the rest on mine
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•21 years ago
|
||
After looking through some of the code I've arrived at the assumption that the
problem has something to do with the fact that the Back and Forward buttons are
bound in browser.css like this:
-moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button");
The other buttons, which are not bound in this way, do not exhibit the same
behavior as Back and Forward, and so their text seems misaligned compared to
those two.
I am going to attach a screenshot that points out quite specifically the
alignment problem. Note that in the image, the misalignment is not only limited
to the text...it appears that the icons themselves are misaligned as well.
Comment 3•21 years ago
|
||
Comment 4•21 years ago
|
||
This is just a fundamental appearance issue that we should fix for 1.0.
Blocks: 225791
Target Milestone: --- → Firebird1.0
Comment 5•21 years ago
|
||
*** Bug 217293 has been marked as a duplicate of this bug. ***
Comment 6•21 years ago
|
||
From the dup: this happens in both "Text" mode and "Icons and text" mode.
Comment 7•21 years ago
|
||
*** Bug 233096 has been marked as a duplicate of this bug. ***
Comment 8•21 years ago
|
||
Confirming with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a)
Gecko/20040128 Firebird/0.8.0+
OS: Windows XP → All
i tracked the mis-alignment down to some missing padding on menu-buttons in
classic/skin/classic/browser/browser.css.
this patch ONLY applies to menu-buttons (back, forward, inspect) in small icons
mode + icons and text mode as originally described in this bug. it does NOT
cover the text mode issue described in bug 217293. i remember seeing other
bugs where linux has rendering issues with menu-buttons. the issue reported in
this bug looks fine for me with this patch on windows 2000. i do not see the
text mode problem. bug 217293 should be un-duped.
Updated•21 years ago
|
Assignee: hyatt → bugs
Priority: -- → P3
Target Milestone: Firefox1.0 → Firefox0.9
Comment 10•21 years ago
|
||
> it does NOT
> cover the text mode issue described in bug 217293. i remember seeing other
> bugs where linux has rendering issues with menu-buttons.
a bug about toolbar menu-buttons in linux that i mentioned in my previous comment 9:
http://bugzilla.mozilla.org/show_bug.cgi?id=219650
some screenshots and discussion:
http://weblogs.mozillazine.org/djst/archives/004744.html
Updated•21 years ago
|
Flags: blocking1.0?
Comment 11•21 years ago
|
||
Yeah that's kind of nasty isn't it.
Flags: blocking1.0? → blocking1.0+
Target Milestone: Firefox0.9 → Firefox1.0beta
Comment 12•20 years ago
|
||
Fixed in Winstripe
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 13•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040609
Firefox/0.8.0+ (FF0.9rc)
Not with the small icons+text
Comment 14•20 years ago
|
||
verified with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7)
Gecko/20040611 Firefox/0.8.0+
Status: RESOLVED → VERIFIED
Comment 15•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040609
Firefox/0.8.0+
and
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040608 Firefox/0.8.0+
(GTK2+XFT)
REOPEN this bug please , it's not fixed (see attachement)
Reproduce:
1. Open Customise toolbar
2. Select Icons and Text and [V] Use Small icons
3. Drag the Back, Reload, Forward and Stop button to the right of help and
Press Done
Comment 17•20 years ago
|
||
Sorry for the spam
WORKSFORME
using Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040611
Firefox/0.8.0+
Comment 18•20 years ago
|
||
Marking FIXED again
Status: REOPENED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → FIXED
Comment 20•20 years ago
|
||
I'm still seeing the misalignment with 0.9 on Gnome (default install of Fedora
Core 2). I've attached a screenshot.
This might be related to the issue in comment #10 ?
Comment 21•20 years ago
|
||
S(In reply to comment #20)
> Created an attachment (id=150930)
> Screenshot of 0.9 toolbar alignment problems on Gnome
>
> I'm still seeing the misalignment with 0.9 on Gnome (default install of Fedora
> Core 2). I've attached a screenshot.
>
> This might be related to the issue in comment #10 ?
Well, should this be reopened, then?
Should it maybe block "Aviary"?
Comment 22•20 years ago
|
||
>> Fixed in Winstripe
> Not with the small icons+text
Actually, with BOTH small and large icons, text is still misaligned for me. A
restart of the browser does not fix the odd display. Firefox 0.9.1, Linux.
Reopening due to many reports of this.
Simon, in the future you may want to avoid marking FIXED and VERIFYing a bug
based on one user report, which wasn't even on the same platform. Just adds to
the confusion.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 23•20 years ago
|
||
whoa, umm... this bug as originally reported (small icons + text mode in the
default qute theme on windows) is fixed. i cannot get the labels to misalign
with any combination of text and icon modes in 0.9/0.9.1 on windows 2000. the
theme is fine.
i think the problem the rest of you are seeing is the menubutton rendering
weirdness in linux (comment 10). and i still say bug 217293 should be
unduped/reopened, because that specifically deals with the back/forward
(menubutton) labels in linux.
Comment 24•20 years ago
|
||
I have clear misalignment here (2004071815-0.9 WinXP) using either large or
small icons with text. It persists when I change the system font, so it's not
related to Vera Sans being extra wide.
Comment 25•20 years ago
|
||
Greg,
Could you attach a screenshot? Also, were you using XP's Luna style, or Win
Classic? I just tested 0.9.2 and today's nightly on XP Luna and 2000 Classic,
and saw no misalignment. Do you have any browser or system mods that might have
an effect (userChrome.css hacks, system DPI/font size settings, etc.)?
Comment 26•20 years ago
|
||
The only semi-relevant userChrome is:
/* Make menus XP style */
menupopup, popup {
border: 1px solid ThreeDShadow !important;
-moz-border-left-colors: ThreeDShadow !important;
-moz-border-top-colors: ThreeDShadow !important;
-moz-border-right-colors: ThreeDShadow !important;
-moz-border-bottom-colors: ThreeDShadow !important;
padding: 1px !important;
background-color: Menu !important;
}
menubar > menu {
border: 1px solid transparent !important;
padding: 2px 5px 2px 7px !important;
margin: 0 !important;
}
menubar > menu[_moz-menuactive="true"] {
background-color : Highlight !important;
color: HighlightText !important;
}
/* Remove Forward/Back button drop markers */
.toolbarbutton-menubutton-dropmarker {display: none}
I don't think that will affect it. If the lack of drop-markers was causing the
misalignment, the Back and Forward icons would be too far right, not too far
left. I'm not using any crazy system font sizes.
...However it occurs to me that you're all on about vertical misalignment... I
have horizontal misalignment. Ah, well - here's the screenshot anyway.
Comment 27•20 years ago
|
||
Yes, this bug is about vertical alignment of the text labels.
What you've brought up is certainly another bug, but is actually misalignment of
the icons - as you can see in your screenshot, the labels themselves are centered.
Caused by:
global/toolbarbutton.css/.toolbarbutton-icon {
margin-right: 2px;
}
-which was actually increased to 5px in recent builds - making the effect worse.
I guess i'll have to whip up a bug and patch for that too.
Comment 28•20 years ago
|
||
*** Bug 229464 has been marked as a duplicate of this bug. ***
Comment 29•20 years ago
|
||
*** Bug 255406 has been marked as a duplicate of this bug. ***
Comment 30•20 years ago
|
||
This continues to be a fairly ugly problem on Gnome. Tested with the latest
nightly builds. It seems to only impact menubuttons and also shows up in
Thunderbird. Perhaps this can be fixed within the theme, but it seems like an
underlying problem given that it impacts different themes and different apps.
Status: REOPENED → NEW
Updated•20 years ago
|
Assignee: bugs → webmail
Comment 31•20 years ago
|
||
I tried to track down the cause of this bug in the CSS last week and couldn't
narrow it down. I think Asa is right and it is a deeper problem, because as far
as I can tell it shouldn't be doing this.
Comment 32•20 years ago
|
||
Not a "blocker", but don't let me stop you if you're bored.
Flags: blocking-aviary1.0+ → blocking-aviary1.0-
Comment 33•20 years ago
|
||
WFM - This seems to be working now, and I think it has been for a while (since
1.0?).
Can anyone else confirm this? If so, I'll mark as FIXED.
Comment 34•20 years ago
|
||
Confirmed. WFM in:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414
Firefox/1.0.3
Comment 35•20 years ago
|
||
This is fine for a current trunk build. But my Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.7.7) Gecko/20050421 Firefox/1.0.3 (Debian package 1.0.3-2) still
shows the miss-alignment for reload, stop, home and some others.
Version => 1.0 Branch
Version: unspecified → 1.0 Branch
Updated•19 years ago
|
QA Contact: bugzilla → toolbars
Comment 36•19 years ago
|
||
I can't see this behavior since a long time on different machines.
=> WFM
Status: NEW → RESOLVED
Closed: 20 years ago → 19 years ago
Resolution: --- → WORKSFORME
Target Milestone: Firefox1.0beta → ---
Version: 1.0 Branch → Trunk
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•