Open Bug 726547 Opened 12 years ago Updated 2 years ago

Linux: Don't draw ugly dashed line borders around everything I click

Categories

(Firefox :: General, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: alexhultman, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0a1) Gecko/20120212 Firefox/13.0a1
Build ID: 20120212031149

Steps to reproduce:

Use Firefox on a daily basis for Linux.


Actual results:

Everything I click gets 1980-dashed line box around it.


Expected results:

There shouldn't be any dashed line box around elements on a page. Firefox should behave as it does on Windows and other platforms. Dashed line boxes ruins any modern browsing experience. Around Flash content, around links, on YouTube HTML5 player, on pictures, on buttons...

I won't submit a picture because it should be a no-brainer to confirm.
Does the issue still occur if you start Firefox in Safe Mode?
https://support.mozilla.com/en-US/kb/Safe+Mode

How about with a new, empty profile?
https://support.mozilla.com/en-US/kb/Basic+Troubleshooting#w_8-make-a-new-profile
Yes and Yes. I use all vanilla Firefox 10 on Fedora 16. Flash is the only plugin I use. Firefox for Linux has always been like this. Go to any random page and drag around links and pictures or just go to YouTube and start some HTML5 video and click the mute button or play button or anything you want. Almost every element in Firefox gets dashed line borders. Focusing any Flash content will also do it.
And how should we show that the Element has the focus ?
(In reply to Matthias Versen (Matti) from comment #4)
> And how should we show that the Element has the focus ?

If you have ever tried Firefox you know that the Windows port never ever show any kind of focus on elements when only using the mouse. It's only when tabbing the dashed line border shows. The Linux port shows this dashed line border on almost every element I click.

That's not consistent behaviour between platforms, and not even between elements (some elements doesn't get the dashed line border)
Bug 418521 was for all platforms, but has this ever worked in Linux?
Thank you for finding that bug report. It is obviously not resolved for Linux and has never been. That bug report comes with some attached images displaying exactly what I'm getting.
Thomas: Can you confirm the issue on your linux installation ?
The reporter could have switched the pref to enable focus rings on all elements.
Test URL http://www.mozilla.org/en-US/firefox/fx/, clicking on "mozilla " as in attachment 596651 [details].

Reproduced:
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.26) Gecko/20120128 Firefox/3.6.26
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20100101 Firefox/10.0.1
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0
Mozilla/5.0 (X11; Linux x86_64; rv:13.0a1) Gecko/20120214 Firefox/13.0a1

WFM:
Mozilla/5.0 (X11; Linux x86_64; rv:12.0a2) Gecko/20120213 Firefox/12.0a2

By some reason Aurora works for me, but there is still a difference compared to Windows. If I middle-click a link in Linux it gets a focus ring, but if I do the same thing in Windows it doesn't.
Did you try the same page? Some links and some pages don't get focus boxes.

http://start.fedoraproject.org/ doesn't focus any content. Links and images on that page works like on Windows without focus boxes. I think it might be because they have some special theme?

It's not consistent between links ans links or pictures and pictures, it's kind of random but the most content get focus boxes.
Aurora behaves the same as any other build.

Mozilla/5.0 (X11; Linux i686; rv:12.0a2) Gecko/20120214 Firefox/12.0a2

I think you tested the link in about:home. That one behaves as you describe. Left click doesn't show focus box but middle click does. That's the thing - it's kind of random for some links. If you try any other links or content with Aurora you will see it behaves exactly the same as any other build.
(In reply to alexhultman from comment #11)
> Did you try the same page? Some links and some pages don't get focus boxes.

I tried http://www.mozilla.org/en-US/firefox/fx/ as stated in comment 10.

> http://start.fedoraproject.org/ doesn't focus any content. Links and images
> on that page works like on Windows without focus boxes. I think it might be
> because they have some special theme?

http://start.fedoraproject.org/ refers http://fedoraproject.org/static/css/reset.css which contains "html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}" and I guess the focus{outline:0} thing may disable the focus ring.

http://start.fedoraproject.org/ disables the focus ring even when using keyboard navigation, which isn't very accessibility friendly.
Sorry, I missed the link in comment 10. Aurora gives me focus boxes for the Twitter and Facebook links though.

http://www.mozilla.org/en-US/firefox/fx/
http://www.mozilla.org/en-US/firefox/fx

I can also confirm on Ubuntu 11.10. 
Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120408 Firefox/14.0a1

Also occurs with Firefox 4.0.1 though, so this is not a recent regression.
Status: UNCONFIRMED → NEW
Component: Untriaged → General
Ever confirmed: true
QA Contact: untriaged → general
Version: 13 Branch → Trunk
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: