Window buttons (maximize, minimize & close) are painted wrong when the menu bar is hidden w/'xpize' theming

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
8 years ago
8 years ago

People

(Reporter: habladmedelmar, Unassigned)

Tracking

Trunk
x86
Windows XP
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments, 1 obsolete attachment)

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows NT 5.1; rv:2.0b8pre) Gecko/20101107 Firefox/4.0b8pre
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0b8pre) Gecko/20101107 Firefox/4.0b8pre

I've got installed a XP image replacement software called xpize (http://www.xpize.net/), when I hide the menu bar the window buttons are painted wrong.

A picture is worth a thousand words:
http://img149.imageshack.us/img149/9490/fxbuttons.png

Reproducible: Always

Steps to Reproduce:
1. Install xpize on windows xp
2. Hide menu bar
Actual Results:  
Window buttons are painted wrong

Expected Results:  
Normal window buttons

I'm using default theme and I've got installed xpize (xpize.net).

Updated

8 years ago
Blocks: 513162
Summary: Window buttons (maximize, minimize & close) are painted wrong when the menu bar is hidden → Window buttons (maximize, minimize & close) are painted wrong when the menu bar is hidden w/'xpize' theming

Comment 1

8 years ago
You might check with the authors of xpize, a number custom theming products had problems with our titlebar changes. Some like StarDock are now releasing updates to support fx 4.0.
(Reporter)

Comment 2

8 years ago
Created attachment 488868 [details]
Window buttons capture
(In reply to comment #1)
> You might check with the authors of xpize, a number custom theming products had
> problems with our titlebar changes. Some like StarDock are now releasing
> updates to support fx 4.0.

browser.css adds a margin between the buttons. I don't think theme authors can do anything about that.

Comment 4

8 years ago
(In reply to comment #3)
> (In reply to comment #1)
> > You might check with the authors of xpize, a number custom theming products had
> > problems with our titlebar changes. Some like StarDock are now releasing
> > updates to support fx 4.0.
> 
> browser.css adds a margin between the buttons. I don't think theme authors can
> do anything about that.

Ah yes. I wonder if we could address this through the theme widget padding.
(Reporter)

Comment 5

8 years ago
It is not just the margin, also paints bad the hover of the buttons when the window is disabled.

In Opera Browser the buttons look good.

Updated

8 years ago
Blocks: 574454
No longer blocks: 513162

Updated

8 years ago
Duplicate of this bug: 600315
(In reply to comment #4)
> > browser.css adds a margin between the buttons. I don't think theme authors can
> > do anything about that.
> 
> Ah yes. I wonder if we could address this through the theme widget padding.

I suspect that's what needs to happen in bug 606160.
Depends on: 606160
Does the fix in bug 606160 mean that the software vendor can now fix the issue or is more work necessary on this one? (asking on behalf of the reporter)
(Reporter)

Comment 10

8 years ago
Created attachment 504840 [details]
Buttons in version 4.0b10pre (2011-01-18)

Buttons are still wrong.

In attached image can see the buttons in 4 diferent states:

Capture 1: Window is normal and butons are wrong.
Capture 2: Window is maximized and buttons are wrong.
Capture 3: Window is maximized and buttons are right (excepting button borders).
Caputre 4: Window is normal and buttons are right (excepting button borders).

Steps:
1) Usually the window buttons are painted wrong (capture 1)
2) Double-click on bar to maximize (capture 2)
3) If I click again on window bar the buttons are repainted right (capture 3)
4) Double-click on bar to unmaximize (capture 2)
5) Click on bar and buttons repainted right (capture 4)

When buttons are painted right, if I move the mouse they are repainted wrong.
Attachment #488868 - Attachment is obsolete: true

Updated

8 years ago
Version: unspecified → Trunk
(Reporter)

Comment 11

8 years ago
In fx 4.0b13 (2001-02-28), when the buttons are well painted, the actions that make them look bad again are:

- Move the mouse over the Firefox button.
- Move the mouse over the window buttons.
- Unactivate the window.

Comment 12

8 years ago
Bug is transform to https://bugzilla.mozilla.org/show_bug.cgi?id=626809
Help for fix error.

Comment 13

8 years ago
Mozilla/5.0 (Windows NT 5.1; rv:6.0a1) Gecko/20110522 Firefox/6.0a1

I use the Royale Vista II Blue theme* on Windows XP SP3 and had this bug too. This CSS in Stylish or userChrome.css makes the caption buttons look right for me:

/* make caption buttons look right with Royal Vista II VS */
#titlebar-buttonbox > .titlebar-button {
  width: 38px !important;
  margin-left: -2px !important;
  margin-right: -1px !important;
}

* http://dobee.deviantart.com/art/Royale-Vista-II-Final-55318441

Comment 14

8 years ago
Thanks... :)
(In reply to comment #13)
> Mozilla/5.0 (Windows NT 5.1; rv:6.0a1) Gecko/20110522 Firefox/6.0a1
> 
> I use the Royale Vista II Blue theme* on Windows XP SP3 and had this bug
> too. This CSS in Stylish or userChrome.css makes the caption buttons look
> right for me:
> 
> /* make caption buttons look right with Royal Vista II VS */
> #titlebar-buttonbox > .titlebar-button {
>   width: 38px !important;
>   margin-left: -2px !important;
>   margin-right: -1px !important;
> }
> 
> * http://dobee.deviantart.com/art/Royale-Vista-II-Final-55318441
You need to log in before you can comment on or make changes to this bug.