Bug 1956498

Summary: Can't grab the scrollbar in jira
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: firefoxAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: erack, gecko-bugs-nobody, jhorak, kai-engert-fedora, klaas, pjasicek, rhughes, rstrode, sandmann, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-07 21:49:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
jira screen where this happens
none
screencast none

Description Bill Nottingham 2021-05-03 19:29:30 UTC
Created attachment 1779091 [details]
jira screen where this happens

Description of problem:

In JIRA, there is an scrollbar on the issue view/filter screen.

It is not grabbable (and therefore not usable) in Firefox. If you try and grab on the screenbar, it grabs the window resize instead. If you move far enough left to not grab the window resize, it selects the issue.

No screencast because it's broken in Fedora 34 and I don't feel like shaving that yak before filing.

Version-Release number of selected component (if applicable):

firefox-88.0-5.fc34 (but it happend in F33 too)

How reproducible:

100%

Steps to Reproduce:
1. go to issues.redhat.com
2. attempt to interact with issues
3. pull whatever hair you have left out


Additional info:

Works fine in chromium/chrome.

Comment 1 Bill Nottingham 2021-05-03 20:59:45 UTC
Created attachment 1779130 [details]
screencast

Comment 2 Martin Stransky 2021-05-04 07:15:55 UTC
I wonder why you have the scrollbars so thin - In Firefox 88 the scrollbars are much bigger. The drag area is 2px wide but mouse cursor is ~10 pixels wide and if any part of the cursor is above drag handle the scrolling is suppressed and drag handle activated. I don't know if that's actually bug - Chrome has the same behavior here.

Comment 3 Bill Nottingham 2021-05-04 14:34:28 UTC
I don't recall that I've ever set the scrollbar width. I do see a different scrollbar width in chromium/chrome than Firefox, although I couldn't tell you why. Where would this be changed?

Comment 4 Martin Stransky 2021-05-04 15:32:10 UTC
It depends on your Gtk theme - the scrollbars should be correctly sized with Adwaita default theme. You can also try to create a new Firefox profile [1] or check safe mode.

[1] https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Create_a_new_profile

Comment 5 Bill Nottingham 2021-05-04 17:10:39 UTC
1 - creating a new profile: no change
2 - switching GTK theme in tweak tool to Adwaita: no change (it *was* set to HighContrast)

I'm able to change it by creating a ~/.config/gtk-3.0/gtk.css file like this:

scrollbar slider {
    /* Size of the slider */
    min-width: 20px;
    min-height: 15px;
    border-radius: 17px;

    /* Padding around the slider */
    border: 2px solid transparent;
}

but that seems like it shouldn't be needed?

If it matters, I'm running on a 4k screen, but at 100% UI (not 200%).

Comment 6 Martin Stransky 2021-05-05 05:52:08 UTC
I tested 4K screen, 100% scale, Fedora 34 / Gnome and I don't see that. 

The scrollbars sizes are fetched from Gtk here:
https://searchfox.org/mozilla-central/source/widget/gtk/gtk3drawing.cpp#2779

So you may have some style set:

    gtk_style_context_get_style(style, "slider-width", &slider_width,
                                "trough-border", &trough_border, "stepper-size",
                                &stepper_size, "min-slider-length",
                                &min_slider_size, nullptr);

but I can't say without debugging.

Comment 7 Ben Cotton 2022-05-12 15:24:49 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 8 Ben Cotton 2022-06-07 21:49:45 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.