Closed Bug 345343 Opened 18 years ago Closed 12 years ago

"All Tabs" button shows as active when hovered over after selecting a tab

Categories

(Firefox :: Tabbed Browser, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ispiked, Unassigned)

References

Details

(Keywords: polish)

Attachments

(1 obsolete file)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060720 Minefield/3.0a1

Steps to reproduce:
1. Open up a few tabs so you see the All Tabs button.
2. Click the button and select a tab from the list.
3. Hover over the button.

Results:
Button is shown as active when hovered.

Expected results:
Button looks like it's being hovered.
Component: Toolbars → Tabbed Browser
QA Contact: toolbars → tabbed.browser
Confirmed, I also have faced same in fedora core 5 .
Using FF 3.0a1
*** Bug 345429 has been marked as a duplicate of this bug. ***
> Wait, doesn't this happen because you are using the same image in the :hover
> case (in winstripe)?

yes, thanks for catching that.  I have a fix for that (I'll attach).

as noted in #345429, there are two issues.

1)  need to use the right image on hover:active
2)  button border appears active when hovered (after following adam's steps)


Assignee: nobody → sspitzer
(In reply to comment #4)
> Created an attachment (id=230174) [edit]
> fix for active:hover state (thanks adam / asaf)
> 

 .tabs-alltabs-button:hover {
   -moz-image-region: rect(0px, 48px, 16px, 32px);
 }
 
+.tabs-alltabs-button:hover:active {
+  -moz-image-region: rect(0px, 64px, 16px, 48px);
+}
+

you're still 16px off ...
16-32px = hover
32-48px = active
48-64px = disabled
(In reply to comment #3)
> 2)  button border appears active when hovered (after following adam's steps)

When addressing this, maybe you could also fix that the button is not in active state while the menu is open. Or should I file a separate bug for that?
Comment on attachment 230174 [details] [diff] [review]
fix for active:hover state (thanks adam / asaf)

per comments
Attachment #230174 - Attachment is obsolete: true
Attachment #230174 - Flags: review?(bugs.mano)
(In reply to comment #6)
> When addressing this, maybe you could also fix that the button is not in active
> state while the menu is open. Or should I file a separate bug for that?

The Back/Forward menu shows as hovered when you open it and hover entries in the list, so Seth and I figured this is the correct behavior.

(In reply to comment #8)
> The Back/Forward menu shows as hovered when you open it and hover entries in
> the list, so Seth and I figured this is the correct behavior.

That's contrary to the Search Engine drop down menu.

However, we have also a semantic difference here. 'hover' implies that the button can still be clicked, which could be valid for Back/Forward (I cannot check this right now, because I've removed the dropmarker). But here it makes hardly sense. When the menu is open, the sole purpose of the button is being served, so it should be 'active'.
OK that makes sense, Dao.
*** Bug 350706 has been marked as a duplicate of this bug. ***
sorry for the bug spam, re-assigning bugs back to default owner if I'm not working actively on them.
Assignee: sspitzer → nobody
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: