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

Obtrusive scrollbars are visible after recent spacemacs update, prevent windows from resizing #14789

Closed
synic opened this issue May 21, 2021 · 3 comments

Comments

@synic
Copy link
Contributor

synic commented May 21, 2021

Description :octocat:

After a recent update of spacemacs, scrollbars started showing up where none were visible before. For example:

Visible Scrollbars

They are only visible for a second after trying to scroll, but while visible, windows cannot be resized.

Reproduction guide 🪲

  • Start Emacs (GUI)
  • Use the mouse scrollwheel in a window with enough text to scroll

Observed behaviour: 👀 💔
Scrollbars become visible, you can't resize windows

Expected behaviour: ❤️ 😄
I would like to make it so that the scrollbars worked the way they did before.

System Info 💻

  • OS: gnu/linux
  • Emacs: 27.1
  • Spacemacs: 0.300.0
  • Spacemacs branch: develop (rev. 2515f14)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(rust typescript perl5 go swift csv lua nginx sql auto-completion emacs-lisp git yaml javascript html markdown major-modes python org osx python ipython-notebook django syntax-checking spell-checking colors spacemacs-layouts vimscript helm
      (version-control :variables version-control-diff-tool 'diff-hl)
      (c-c++ :variables c-c++-enable-clang-support t)
      (shell :variables shell-default-height 30 shell-default-position 'bottom))
  • System configuration features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP
@lebensterben
Copy link
Collaborator

can you git-bisect to pin down the commit that caused this problem?

@duianto
Copy link
Collaborator

duianto commented May 22, 2021

This was introduced here:
[defaults] Improve scrolling with mouse wheel #14542

The PR reduced the scroll wheel speed from 5 to 2,
and the variable mouse-wheel-progressive-speed was disabled.

The scroll bar was added with an idle timer to be able to scroll longer distances.

It takes 45 scroll wheel turns to get from the top to the bottom of .spacemacs,
with the default Spacemacs frame size.

The scrollbars can be turned off in .spacemacs:

dotspacemacs-scroll-bar-while-scrolling nil

windows cannot be resized.

If you mean dragging the border between two windows that are split left and right SPC w v, then I'm able to reproduce it.

It seems to be a bug in upstream Emacs, because it also happens without Spacemacs (just emacs -q).

There's no mouse over drag handle on the border between the windows, when the scrollbar is visible and the frame is split left and right C-x 3.

@synic
Copy link
Contributor Author

synic commented May 24, 2021

Yup, that seems to be it. Thanks!

@synic synic closed this as completed May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants