Closed Bug 1536402 Opened 6 years ago Closed 6 years ago

Private browsing - dotted border in about:downloads section

Categories

(Toolkit :: Themes, enhancement, P5)

enhancement

Tracking

()

VERIFIED FIXED
mozilla71
Tracking Status
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- wontfix
firefox71 --- verified

People

(Reporter: cfogel, Assigned: simon.aayani)

References

Details

(Whiteboard: [good first bug])

Attachments

(2 files, 3 obsolete files)

Attached image privateDLD.png

Affected versions

  • 67.0b3, 67.0a1 (2019-03-18), 66.0

Affected platforms

  • Windows 10, Ubuntu 16.04, macOS 10.13

Steps to reproduce

  1. Launch Firefox in private browsing mode and perform several downloads;
  2. Access about:downloads

Expected result

  • content is properly displayed;

Actual result

  • an interrupted border is displayed (as selection) over the whole white inner section;

Regression range

  • Pushlog URL: link
  • Last Good build_date: 2015-05-08 changeset: 86203ac87a08
  • First Bad build_date: 2015-05-09 changeset: 8f21d63b310a

Additional notes

  • attached screenshot with the issue;
Has Regression Range: --- → yes
Has STR: --- → yes
Whiteboard: regression

Hello, Would it be possible for me to work on this bug? It would be my first!

Yes! It appears that a previous patch was submitted and there was a review comment that suggested that it wasn't the correct fix, but that should give you a place to start looking for a different fix.

Regressed by: 1160734

(In reply to Josh Matthews [:jdm] from comment #3)

Yes! It appears that a previous patch was submitted and there was a review comment that suggested that it wasn't the correct fix, but that should give you a place to start looking for a different fix.

Thank you!

Hello, I was wondering if it would be possible for me to gain some insight into the solution I should be considering for this bug. In the previous patch comments it states:

"Maybe we can make it prettier, but I don't think we can just remove the focus ring as this patch does."

What would constitute a prettier solution to this problem? For example, would a solid blue line be both prettier and equally effective in showing focus?

See comment 5.

Flags: needinfo?(dao+bmo)

Hi!
Since Simon is already working on this, should I search for something else, or can I also work on it since it's unassigned?

This issue is small enough that multiple people working on it will mean wasted effort. Please find another bug to look into instead. Thanks for checking first!

Changed the focus ring of list of downloads in about:downloads from a dotted blue line to a solid blue line.

(In reply to Simon from comment #5)

What would constitute a prettier solution to this problem?

I'm not sure, let's ask shorlander. (Tbh I don't understand why this was marked as a good first bug in the first place without some kind of plan for how to address this.)

If we want to change the focus ring, we should do so here: https://searchfox.org/mozilla-central/rev/7531325c8660cfa61bf71725f83501028178cbb9/toolkit/themes/shared/in-content/common.inc.css#850

Flags: needinfo?(dao+bmo) → needinfo?(shorlander)
Blocks: 1160734
Component: Private Browsing → Themes
Keywords: regression
Priority: -- → P5
Product: Firefox → Toolkit
No longer regressed by: 1160734

Thank you for directing me to the correct file to adjust. I am still not entirely sure whether my current approach of changing the dotted line to a solid line is a correct solution to the problem, but I have moved the change to the suggested file!

Attachment #9094016 - Attachment is obsolete: true
Attachment #9054297 - Attachment is obsolete: true

(In reply to Dão Gottwald [::dao] from comment #10)

(In reply to Simon from comment #5)

What would constitute a prettier solution to this problem?

I'm not sure, let's ask shorlander. (Tbh I don't understand why this was marked as a good first bug in the first place without some kind of plan for how to address this.)

If we want to change the focus ring, we should do so here: https://searchfox.org/mozilla-central/rev/7531325c8660cfa61bf71725f83501028178cbb9/toolkit/themes/shared/in-content/common.inc.css#850

If we are going to change the appearance I would suggest we use the same focus styling we use in about:preferences, about:addons, and about:logins. For example: https://www.dropbox.com/s/q5au64rwiattd9q/Screenshot%202019-09-23%2014.47.48.png?dl=0

Flags: needinfo?(shorlander)

I updated the focus ring it about:downloads to match the other focus rings. Please let me know if I made any mistakes!

Attachment #9094198 - Attachment is obsolete: true
Comment on attachment 9095112 [details] [diff] [review] Bug 1536402 - Changed about:downloads list focus ring to match focus ring of about:preferences, about:addons, and about:logins. Looks good, thanks!
Assignee: nobody → simon.aayani
Type: defect → enhancement
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/879026d0cd13 Let trees and richlistboxes use the same focus ring as input fields. r=dao

Simon, I pushed your patch manually now since it's your first one, but going forward please submit patches to phabricator so they can be landed from there: https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html

Okay, Thank you for the heads up!

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Regressions: 1584069

Verified with 71.0a1 (2019-10-06) on Windows 10, macOS 10.13, Ubuntu 16.04.

Status: RESOLVED → VERIFIED
Flags: needinfo?(cristian.fogel)

Clearing need-info, amusing it's a miss click.

Flags: needinfo?(cristian.fogel)
Regressions: 1702694
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: