Bug 1956498 - Can't grab the scrollbar in jira
Summary: Can't grab the scrollbar in jira
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-03 19:29 UTC by Bill Nottingham
Modified: 2021-05-05 05:52 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)
jira screen where this happens (440.19 KB, image/png)
2021-05-03 19:29 UTC, Bill Nottingham
no flags Details
screencast (2.09 MB, video/webm)
2021-05-03 20:59 UTC, Bill Nottingham
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.