Closed
Bug 591699
Opened 14 years ago
Closed 13 years ago
Wrong clickable area for "close tab group" button
Categories
(Firefox Graveyard :: Panorama, defect, P4)
Firefox Graveyard
Panorama
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 8
People
(Reporter: i.drugoy, Assigned: raymondlee)
References
()
Details
(Keywords: verified-aurora, verified-beta, Whiteboard: [fixed-in-fx-team][qa!][testday-20110930])
Attachments
(2 files, 3 obsolete files)
820.75 KB,
image/png
|
Details | |
2.98 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0b5pre) Gecko/20100828 Firefox/4.0b5pre
Build Identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0b5pre) Gecko/20100828 Firefox/4.0b5pre
"Close tab group" button looks like a regular cross, but it's clickable area is moved right for 6-9 px, look at the gif video.
Reproducible: Always
Steps to Reproduce:
1. Open TabCandy window (ctrl+space)
2. Try to aim the area around the "Close tab group" button.
Actual Results:
The borders of this area a more to right, than needed.
Expected Results:
Move it a little bit to the left, to fit the borders of the button's image.
GIF video.
http://img686.imageshack.us/img686/7556/98929373.gif
Comment 1•14 years ago
|
||
So we need a small change in tabview.css file
Comment 2•14 years ago
|
||
looks like this should be a Windows-specific fix
Following StyleThing's recommendation, I added the background-position: 50% 50%; line, which moves the image to the center of the click box for the winstripe theme.
Attachment #473366 -
Flags: feedback?(ian)
Following StyleThing's recommendation, I added the background-position: 50%
50%; line, which moves the image to the center of the click box for the
winstripe theme.
Attachment #473366 -
Attachment is obsolete: true
Attachment #473368 -
Flags: feedback?(ian)
Attachment #473366 -
Flags: feedback?(ian)
Reporter | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•14 years ago
|
||
The space at right from the cross is still clickable, though I think it's ok, since it makes easier to point to that button.
(In reply to comment #5)
> The space at right from the cross is still clickable, though I think it's ok,
> since it makes easier to point to that button.
I had understood the problem as not being that the clickable area was too big, but that the image itself wasn't centered properly inside of it.
Reporter | ||
Comment 7•14 years ago
|
||
(In reply to comment #6)
well, it is bigger than the cross, and either it needs to be fixed or make it even bigger, to convert bug into feature: since tab groups can be resized only via dragging by the bottom right corner - it would be a nice feature to make the whole top right corner be clickable, so the user doesn't need to point the cross accurately.
Comment 8•14 years ago
|
||
Comment on attachment 473368 [details] [diff] [review]
v1 (the real v1)
I agree we shouldn't make the clickable area smaller, or it will impact usability. There's a hover effect, so I don't think people are going to be confused about what's going to get clicked.
Attachment #473368 -
Flags: review?(dietrich)
Attachment #473368 -
Flags: feedback?(ian)
Attachment #473368 -
Flags: feedback+
Reporter | ||
Comment 9•14 years ago
|
||
well(In reply to comment #8)
> I agree we shouldn't make the clickable area smaller
then maybe make it bigger, to make aiming that button much easier.
As I already said - since we can't resize the tab group by dragging top right corner - we can occupy it for our needs.
Comment 10•14 years ago
|
||
Comment on attachment 473368 [details] [diff] [review]
v1 (the real v1)
r+a=me. please confirm drugoy's comment. if it makes sense to enlarge the area, let's do it here.
Attachment #473368 -
Flags: review?(dietrich)
Attachment #473368 -
Flags: review+
Attachment #473368 -
Flags: approval2.0+
Reporter | ||
Comment 11•14 years ago
|
||
(In reply to comment #10)
> Comment on attachment 473368 [details] [diff] [review]
> v1 (the real v1)
>
> r+a=me. please confirm drugoy's comment. if it makes sense to enlarge the area,
> let's do it here.
confirm how? open tabsets yourself and just try to resize a group anyhow. The only way to do it is to drag the _bottom_ right corner. Nothing happens if you drag other corners.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 12•14 years ago
|
||
I personally don't think the clickable area should be larger than the area which triggers the :hover.
In other news, not sure why this bug was closed and then reopened... the patch has not yet been committed, right? Sean, you'll want to do this using checkin-needed. Hit us up on IRC if you want help with that. http://blog.bonardo.net/2010/06/22/so-youre-about-to-use-checkin-needed
Reporter | ||
Comment 13•14 years ago
|
||
(In reply to comment #12)
> I personally don't think the clickable area should be larger than the area
> which triggers the :hover.
than make the are which triggers the :hover bigger. The point is to make aiming the cross button easier. By enlarging this area up till borders at right and on top of the cross.
Comment 14•14 years ago
|
||
(In reply to comment #13)
> (In reply to comment #12)
> > I personally don't think the clickable area should be larger than the area
> > which triggers the :hover.
>
> than make the are which triggers the :hover bigger. The point is to make aiming
> the cross button easier. By enlarging this area up till borders at right and on
> top of the cross.
I'm certainly down with making the click area larger if need be. Looks like it's currently 16 pixels, which is likely the same size it is on the Mac.
I leave it to Aza; what say you? Should we make it larger? If so, how big should it be, and should we do the same for other platforms?
Comment 15•14 years ago
|
||
* Let's make the clickable target go to the corner.
* Because the :hover already shows the the button activates, I do not believe we need to change the graphic to be larger.
Updated•14 years ago
|
Priority: -- → P3
Comment 16•14 years ago
|
||
(In reply to comment #15)
> * Let's make the clickable target go to the corner.
> * Because the :hover already shows the the button activates, I do not believe
> we need to change the graphic to be larger.
Should the clickable target extend to the corner on the other platforms as well? I assume so.
Comment 19•14 years ago
|
||
I'm confused... did this land and then get reopened? Or did it never land?
Sean, if it's the latter, I assume it's patch rotted. If we still want this, please unrot for landing.
Updated•14 years ago
|
Priority: P3 → P4
Comment 22•14 years ago
|
||
Is this still an issue? What ever happened to this bug?
[bugspam: mitcho's late-night betaN triage; feel free to comment or reverse]
Comment 23•14 years ago
|
||
It is still an actual issue. And the patch is great, but never got reviewed.
Comment 24•14 years ago
|
||
Comments 15 and 16 have not been adressed. Will take this bug and try to create a patch that adresses them.
Updated•14 years ago
|
Assignee: seanedunn → mitcho
Comment 25•14 years ago
|
||
Comment on attachment 473368 [details] [diff] [review]
v1 (the real v1)
This is no longer approved as it's impossible to tell if it's still wanted. Renominate if it is.
Attachment #473368 -
Flags: approval2.0+ → approval2.0-
Comment 26•14 years ago
|
||
the bug is fixed, why is it still reopened?
Updated•14 years ago
|
Assignee: mitcho → nobody
Comment 30•13 years ago
|
||
bugspam
(Fx7 was branched, removing open bugs from Fx7 meta bug, we won't create new meta bugs for upcoming Fx versions)
No longer blocks: 660175
Assignee | ||
Comment 31•13 years ago
|
||
Addressed comment 15 and comment 16. The clickable area goes to the top corn, the same for the :hover state.
Assignee: nobody → raymond
Attachment #473368 -
Attachment is obsolete: true
Attachment #551396 -
Flags: review?(tim.taubert)
Assignee | ||
Comment 32•13 years ago
|
||
Comment on attachment 551396 [details] [diff] [review]
v2
Passed Try with oranges not related to this patch.
http://tbpl.mozilla.org/?tree=Try&rev=1c23547c3ca5
Comment 33•13 years ago
|
||
Comment on attachment 551396 [details] [diff] [review]
v2
Review of attachment 551396 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks!
r=me with the little fix.
::: browser/themes/gnomestripe/browser/tabview/tabview.css
@@ +220,5 @@
> z-index: 10;
> + top: 0px;
> + right: 0px;
> + padding-top: 6px;
> + padding-right: 6px;
Please use "width: 22px" and and "height: 22px" instead of the padding here so this is a bit cleaner and you don't need to touch padding values with [dir=rtl]. (same with the other themes)
Attachment #551396 -
Flags: review?(tim.taubert) → review+
Updated•13 years ago
|
Keywords: qawanted
Hardware: x86_64 → All
Whiteboard: [confusing status sean]
Version: unspecified → Trunk
Assignee | ||
Comment 34•13 years ago
|
||
(In reply to Tim Taubert [:ttaubert] from comment #33)
> Please use "width: 22px" and and "height: 22px" instead of the padding here
> so this is a bit cleaner and you don't need to touch padding values with
> [dir=rtl]. (same with the other themes)
Fixed.
Attachment #551396 -
Attachment is obsolete: true
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 35•13 years ago
|
||
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 36•13 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 14 years ago → 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 8
Comment 37•13 years ago
|
||
Tested on Firefox 8.0b1:
While the left and bottom bounds seem to be that of the visible bounds of the button, the top and right bounds appear to be the top and right bounds of the tab group itself. In other words, I can put my mouse cursor well above or to the right of the button. In fact, clicking the absolute top-right corner of the tab group still clicks the button.
Is this expected?
Whiteboard: [fixed-in-fx-team] → [fixed-in-fx-team][qa+][testday-20110930]
Comment 38•13 years ago
|
||
(In reply to Anthony Hughes, Mozilla QA (irc: ashughes) from comment #37)
> While the left and bottom bounds seem to be that of the visible bounds of
> the button, the top and right bounds appear to be the top and right bounds
> of the tab group itself. In other words, I can put my mouse cursor well
> above or to the right of the button. In fact, clicking the absolute
> top-right corner of the tab group still clicks the button.
>
> Is this expected?
Yes, it is. Please see comment #15 and comment #16. Thanks for verifying :)
Comment 39•13 years ago
|
||
I have also verified this and I got the same behavior as Anthony describes in comment37. Based also on comment38, setting resolution to Verified Fixed
Verified on:
Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0
Mozilla/5.0 (Windows NT 6.1; rv:9.0a2) Gecko/20111004 Firefox/9.0a2
Mozilla/5.0 (Windows NT 6.1; rv:10.0a1) Gecko/20111004 Firefox/10.0a1
Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0
Mozilla/5.0 (Windows NT 5.1; rv:9.0a2) Gecko/20111004 Firefox/9.0a2
Mozilla/5.0 (Windows NT 5.1; rv:10.0a1) Gecko/20111004 Firefox/10.0a1
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20100101 Firefox/8.0
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0a2) Gecko/20111004 Firefox/9.0a2
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0a1) Gecko/20111004 Firefox/10.0a1
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0
Mozilla/5.0 (X11; Linux x86_64; rv:9.0a2) Gecko/20111003 Firefox/9.0a2
Mozilla/5.0 (X11; Linux x86_64; rv:10.0a1) Gecko/20111004 Firefox/10.0a1
Status: RESOLVED → VERIFIED
Keywords: verified-aurora,
verified-beta
Whiteboard: [fixed-in-fx-team][qa+][testday-20110930] → [fixed-in-fx-team][qa!][testday-20110930]
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•