Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flashing scrollbars with Qt 5.12 #4431

Closed
kevinushey opened this issue Mar 11, 2019 · 6 comments
Closed

flashing scrollbars with Qt 5.12 #4431

kevinushey opened this issue Mar 11, 2019 · 6 comments
Assignees
Labels
Milestone

Comments

@kevinushey
Copy link
Contributor

kevinushey commented Mar 11, 2019

System details

RStudio Edition : Desktop
RStudio Version : v1.2.1322
OS Version      : macOS 10.14.3
R Version       : 3.5.1

Steps to reproduce the problem

Open RStudio, and try navigating within the Files pane.

Describe the problem in detail

Describe the behavior you expected

No flashing scrollbars.

Notes

  • Does not reproduce with Qt 5.11.3, but does reproduce with Qt 5.12.1.
  • Does not reproduce if we disable this preference (
    // don't prefer compositing to LCD text rendering. when enabled, this causes the compositor to
    // be used too aggressively on Retina displays on macOS, with the side effect that the
    // scrollbar doesn't auto-hide because a compositor layer is present.
    // https://github.com/rstudio/rstudio/issues/1953
    static char disableCompositorPref[] = "--disable-prefer-compositing-to-lcd-text";
    arguments.push_back(disableCompositorPref);
    ), but then sticky scrollbars return.
  • Does not reproduce if mouse is plugged in (only reproduces with trackpad)
  • Still reproduces when using software rendering (so evidently, something beyond the GPU is going on?)

See Also

Flashing scrollbars. See #3078, #2808, #4047 for previous run-ins with this render bug.

@kevinushey kevinushey added this to the v1.2 milestone Mar 11, 2019
@ronblum
Copy link
Contributor

ronblum commented Mar 11, 2019

@kevinushey It looks like the scrollbar in the Environment pane sticks around when it shouldn't:
more_scrolling

@kevinushey
Copy link
Contributor Author

I don't see a scrollbar in the environment pane. Can you provide more details on your configuration? Do you have a mouse plugged in?

@gtritchie
Copy link
Member

gtritchie commented Mar 11, 2019

Here's an example of what I'm seeing. This is on late 2015 iMac 5K, AMD Radeon R9 M390 2048 MB, macOS 10.14.3. RStudio 1.2.1322-3. (external mouse and keyboard, of course)

2019-03-11_15-27-54 (1)

2019-03-11_15-50-34

@ronblum
Copy link
Contributor

ronblum commented Mar 11, 2019

No external mouse. It happens when you mouse over the area at the bottom of the pane, when System Preferences -> General -> Show Scroll Bars is set to "Automatically" or "When scrolling," but not "Always."

  1. Close RStudio (so that we start fresh)
  2. System Preferences -> General -> Show Scroll Bars -> Automatically (or When Scrolling etc.)
  3. Open RStudio
  4. Switch to Environment pane
  5. Hover mouse over bottom of quadrant, right above the border
    • Horizontal scroll bar should appear
  6. Click on another pane in the same quadrant
  7. Click on Environment pane
    • Horizontal scroll bar is still gone

Follow that up with:

  1. Hover over the bottom of the pane, so that the scrollbar returns
  2. System Preferences -> General -> Show Scroll Bars -> Always
    • Horizontal scroll is still there
  3. Mouse over the Environment pane
    • Horizontal scroll bar may or may not go away
  4. Switch to another pane in the same quadrant
  5. Switch to Environment pane
    • Horizontal scroll bar may go away or be replaced by a lighter-gray scrollbar

Next:

  1. Close RStudio
  2. Reopen RStudio
  3. Hover over bottom of Environment pane
    • No horizontal scroll bar

@ronblum
Copy link
Contributor

ronblum commented Mar 27, 2019

This is an issue in 1.2.1332.

@ronblum ronblum reopened this Mar 27, 2019
@ronblum
Copy link
Contributor

ronblum commented Mar 27, 2019

Closing and opening #4529 which covers the persistent floating scrollbar, which is a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants