Tab bar in Firefox displays unnecessary dotted focus outline

Bug #1431341 reported by Rob Cresswell
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Ganesh

Bug Description

The tab bar displays the default dotted outline in Firefox - this is not needed because there is already CSS for :focus.

This could be fixed by adding 'outline:none' to openstack_dashboard/static/dashboard/scss/horizon.scss in the tab bar styling (around L980)

tags: added: low-hanging-fruit
tags: added: ux
description: updated
Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

Here's an example of the dotted lines on the tab bar

Changed in horizon:
assignee: nobody → Nikunj Aggarwal (nikunj2512)
Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

Hey Nikunj,

As a fairly established bug fixer in the dashboard community, it would be good if you could leave some of the low-hanging-fruit for new members to attempt. This is far from a critical fix, and it's useful to have some low-hanging-fruit for people to learn the process of contributing and improving their patches.

Thanks

Changed in horizon:
assignee: Nikunj Aggarwal (nikunj2512) → nobody
Changed in horizon:
assignee: nobody → Sandhya Ganapathy (sandhya-ganapathy)
Revision history for this message
Ganesh (ganeshna) wrote :

Hi Rob,

I am a newbie. Attached is the one I see in my local devstack setup. I don't see Volume/Volume Types/Volume Snapshots in a single tab as you have mentioned in your attachment.

Please let me know what I am missing to repro this.

Thanks,
Ganesh

Ganesh (ganeshna)
Changed in horizon:
assignee: Sandhya Ganapathy (sandhya-ganapathy) → Ganesh (ganeshna)
Revision history for this message
Ganesh (ganeshna) wrote :

Hi,

I am able to reproduce this issue in firefox (and not in Safari) with both Systems Info tab and Volumes tab. Please find attached the screenshots.

Have started working on the fix.

Thanks,
Ganesh

Revision history for this message
Ganesh (ganeshna) wrote :
Changed in horizon:
status: New → In Progress
Revision history for this message
Ganesh (ganeshna) wrote :
Revision history for this message
Ganesh (ganeshna) wrote :

Hi,

Please review and give +2, so that the changes can be merged.

Thanks,
Ganesh

Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

Hi Ganesh,

It's generally considered good manners to give cores at least a couple of weeks to get round to reviewing code. Please don't add to the number of emails by asking for reviews. Also, as long as the bug is marked properly in the commit message, the status will automatically update to "In progress" and link to the correct gerrit patch, so those comments are also not needed.

Thanks for the fix! :)

Changed in horizon:
importance: Undecided → Low
milestone: none → liberty-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/174808
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=2da71e08a8c959b32e646300581a42bb19307455
Submitter: Jenkins
Branch: master

commit 2da71e08a8c959b32e646300581a42bb19307455
Author: Ganesh Narayanan <email address hidden>
Date: Fri Apr 17 04:06:06 2015 -0700

    Fix unnecessary dotted focus outline in tab bar

    In Firefox, the tab bar in "Volumes" and "System Information" pages
    displays unnecessary dotted focus outline. This is not the case with
    other browsers like Chrome or Safari. This is fixed by adding
    'outline:none' to :focus in the tab bar styling (there is already CSS
    for :focus).

    Change-Id: I3f7065003d3c0ec20fa1d3f0189e208bb36e9b94
    Closes-Bug: 1431341

Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
Ganesh (ganeshna) wrote :

Hi Rob,

Sure, I will make sure I don't ping the reviewers going forward :) Thanks for the review.

~Ganesh

Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: liberty-1 → 8.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.