You are not logged in.

#1 2021-05-19 09:03:43

AmitGold
Member
Registered: 2019-07-08
Posts: 39

All the scrollbars in VSCode stop working in Qtile

Hi,
I've recently moved from GNOME to Qtile, and there is just one thing that really bugs me:
All the scrollbars in VSCode stopped working in Qtile.

I tried using my config or the default config (of Qtile) and in both it didn't work, but it worked just fine in AwesomeWM or GNOME.

How could I fix this?

Offline

#2 2021-05-19 12:04:23

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: All the scrollbars in VSCode stop working in Qtile

Try to "export GDK_CORE_DEVICE_EVENTS=1"

Online

#3 2021-05-19 15:09:45

AmitGold
Member
Registered: 2019-07-08
Posts: 39

Re: All the scrollbars in VSCode stop working in Qtile

seth wrote:

Try to "export GDK_CORE_DEVICE_EVENTS=1"

Thanks for the help! smile

But it still doesn't work...

Offline

#4 2021-05-19 15:38:02

kragol
Member
Registered: 2016-03-24
Posts: 11

Re: All the scrollbars in VSCode stop working in Qtile

I am having more or less the same issue in KDE plasma. The only difference is that it sometimes works but I cannot tell exactly what causes it to work or not.

Interestingly, the trick to open a tab in chromium/firefox reported here seems to work and fixes the issue, at least temporarily.

Offline

#5 2021-05-19 17:15:50

AmitGold
Member
Registered: 2019-07-08
Posts: 39

Re: All the scrollbars in VSCode stop working in Qtile

It doesn't fix the problem for me, even temporarily...

Offline

#6 2021-05-19 20:16:41

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: All the scrollbars in VSCode stop working in Qtile

"Doesn't work" means the don't auto-show on hover or what else?
Clicking and sliding them doesn't work?

Maybe it relies a bit too much on NET_WM (in particular a desire to be the active window), what's the output of

xprop -root | grep _NET_

To be sure: you exported GDK core events to the entire session?

Online

#7 2021-05-19 20:51:35

AmitGold
Member
Registered: 2019-07-08
Posts: 39

Re: All the scrollbars in VSCode stop working in Qtile

Clicking and sliding doesn't work.

Output of xprop -root | grep _NET_:

_NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0x20011d
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x400005, 0x140000e
_NET_CLIENT_LIST(WINDOW): window id # 0x400005, 0x140000e
_NET_ACTIVE_WINDOW(WINDOW): window id # 0x140000e
_NET_CURRENT_DESKTOP(CARDINAL) = 1
_NET_DESKTOP_NAMES(UTF8_STRING) = "Web", "Coding", "Classes", "Music", "Gaming"
_NET_NUMBER_OF_DESKTOPS(CARDINAL) = 5
_NET_SUPPORTED(ATOM) = _NET_SUPPORTED, _NET_CLIENT_LIST, _NET_CLIENT_LIST_STACKING, _NET_CURRENT_DESKTOP, _NET_ACTIVE_WINDOW, _NET_SUPPORTING_WM_CHECK, _NET_WM_NAME, _NET_WM_VISIBLE_NAME, _NET_WM_ICON_NAME, _NET_WM_DESKTOP, _NET_WM_WINDOW_TYPE, _NET_WM_STATE, _NET_WM_STRUT, _NET_WM_STRUT_PARTIAL, _NET_WM_PID, _NET_WM_WINDOW_TYPE_DESKTOP, _NET_WM_WINDOW_TYPE_DOCK, _NET_WM_WINDOW_TYPE_TOOLBAR, _NET_WM_WINDOW_TYPE_MENU, _NET_WM_WINDOW_TYPE_UTILITY, _NET_WM_WINDOW_TYPE_SPLASH, _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_DROPDOWN_MENU, _NET_WM_WINDOW_TYPE_POPUP_MENU, _NET_WM_WINDOW_TYPE_TOOLTIP, _NET_WM_WINDOW_TYPE_NOTIFICATION, _NET_WM_WINDOW_TYPE_COMBO, _NET_WM_WINDOW_TYPE_DND, _NET_WM_WINDOW_TYPE_NORMAL, _NET_WM_STATE_MODAL, _NET_WM_STATE_STICKY, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_SHADED, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER, _NET_WM_STATE_HIDDEN, _NET_WM_STATE_FULLSCREEN, _NET_WM_STATE_ABOVE, _NET_WM_STATE_BELOW, _NET_WM_STATE_DEMANDS_ATTENTION, _NET_WM_STATE_FOCUSED
seth wrote:

To be sure: you exported GDK core events to the entire session?

Maybe I didn't understand, I put

export GDK_CORE_DEVICE_EVENTS=1

in my .zshrc file (zsh is my default shell)

Thanks!

Offline

#8 2021-05-19 20:54:51

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: All the scrollbars in VSCode stop working in Qtile

And how do you start vscode and the qtile session?
If you don't run it from an interactive zsh, GDK_CORE_DEVICE_EVENTS is possibly not exported to vscode.

tr '\0' '\n' < /proc/$(pidof whatever_the_vscode_binary_is)/environ

xprop looks NET_WM compliant enough.

Online

#9 2021-05-20 21:06:19

AmitGold
Member
Registered: 2019-07-08
Posts: 39

Re: All the scrollbars in VSCode stop working in Qtile

seth wrote:

And how do you start vscode and the qtile session?
If you don't run it from an interactive zsh, GDK_CORE_DEVICE_EVENTS is possibly not exported to vscode.

tr '\0' '\n' < /proc/$(pidof whatever_the_vscode_binary_is)/environ

xprop looks NET_WM compliant enough.


I start qtile from GDM as of now (I plan on moving to LightDM in the future).

Output of tr '\0' '\n' < /proc/$(pidof code)/environ | grep GDK:

GDK_BACKEND=x11

So GDK_CORE_DEVICE_EVENTS really was not exported.

I tried running GDK_CORE_DEVICE_EVENTS=1 code, but the problem remained.
Output of tr '\0' '\n' < /proc/$(pidof code)/environ | grep GDK, after running again:

GDK_CORE_DEVICE_EVENTS=1
GDK_BACKEND=x11

so GDK_CORE_DEVICE_EVENTS was exported.

Is there another way to fix this?
Thanks

Last edited by AmitGold (2021-05-20 21:13:24)

Offline

#10 2021-05-20 21:19:46

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: All the scrollbars in VSCode stop working in Qtile

We first need to understand the cause.
Wild guess: https://wiki.archlinux.org/title/GDM#Use_Xorg_backend

Online

#11 2021-05-21 09:14:52

AmitGold
Member
Registered: 2019-07-08
Posts: 39

Re: All the scrollbars in VSCode stop working in Qtile

seth wrote:

We first need to understand the cause.
Wild guess: https://wiki.archlinux.org/title/GDM#Use_Xorg_backend

I tried setting GDM to use Xorg, and I tried LightDM, I ran GDK_CORE_DEVICE_EVENTS=1 code, but it still didn't work...

Do you have another idea?

Offline

#12 2021-05-21 11:23:12

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: All the scrollbars in VSCode stop working in Qtile

You could "xev -id wid_of_code_here_get_with_xwininfo" and monitor what happens when you try to slide the scrollbar.

Online

#13 2021-05-21 12:06:08

AmitGold
Member
Registered: 2019-07-08
Posts: 39

Re: All the scrollbars in VSCode stop working in Qtile

Here is the output:

xev:  XSetLocaleModifiers failed
xev:  XOpenIM failed

ConfigureNotify event, serial 14, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (0,32), width 1920, height 1048,
    border_width 0, above 0x0, override NO

MapNotify event, serial 14, synthetic NO, window 0x1600005,
    event 0x1600005, window 0x1600005, override NO

VisibilityNotify event, serial 14, synthetic NO, window 0x1600005,
    state VisibilityUnobscured

Expose event, serial 14, synthetic NO, window 0x1600005,
    (0,0), width 1920, height 1048, count 0

PropertyNotify event, serial 14, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5268064, state PropertyNewValue

FocusIn event, serial 14, synthetic NO, window 0x1600005,
    mode NotifyWhileGrabbed, detail NotifyNonlinear

KeymapNotify event, serial 14, synthetic NO, window 0x0,
    keys:  0   0   0   0   0   16  0   0   0   0   0   0   0   0   0   0   
           32  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

EnterNotify event, serial 15, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5268066, (1136,534), root:(1136,566),
    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
    focus YES, state 64

KeymapNotify event, serial 15, synthetic NO, window 0x0,
    keys:  4294967199 0   0   0   0   16  0   0   0   0   0   0   0   0   0   0   
           32  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

FocusOut event, serial 15, synthetic NO, window 0x1600005,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 15, synthetic NO, window 0x1600005,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 15, synthetic NO, window 0x0,
    keys:  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           32  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 15, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5268308, (1136,534), root:(1136,566),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

LeaveNotify event, serial 18, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5269480, (1911,641), root:(1911,673),
    mode NotifyGrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 256

ConfigureNotify event, serial 18, synthetic NO, window 0x1600005,
    event 0x1600005, window 0x1600005, (0,32), width 1920, height 1048,
    border_width 0, above 0x240000e, override NO

ConfigureNotify event, serial 18, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (0,32), width 1920, height 1048,
    border_width 0, above 0x0, override NO

PropertyNotify event, serial 18, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5269485, state PropertyNewValue

ConfigureNotify event, serial 18, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (0,32), width 1920, height 1048,
    border_width 0, above 0x0, override NO

PropertyNotify event, serial 18, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5269487, state PropertyNewValue

ConfigureNotify event, serial 18, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (0,32), width 1920, height 1048,
    border_width 0, above 0x0, override NO

PropertyNotify event, serial 18, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5269491, state PropertyNewValue

EnterNotify event, serial 18, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5269493, (1911,641), root:(1911,673),
    mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 256

KeymapNotify event, serial 18, synthetic NO, window 0x0,
    keys:  5   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

PropertyNotify event, serial 18, synthetic NO, window 0x1600005,
    atom 0x1eb (_NET_WM_USER_TIME), time 5269494, state PropertyNewValue

KeyRelease event, serial 19, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5270649, (1915,601), root:(1915,633),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 19, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5270649, (1915,601), root:(1915,633),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

PropertyNotify event, serial 19, synthetic NO, window 0x1600005,
    atom 0x1eb (_NET_WM_USER_TIME), time 5270650, state PropertyNewValue

FocusOut event, serial 19, synthetic NO, window 0x1600005,
    mode NotifyGrab, detail NotifyAncestor

FocusOut event, serial 19, synthetic NO, window 0x1600005,
    mode NotifyWhileGrabbed, detail NotifyNonlinear

UnmapNotify event, serial 19, synthetic NO, window 0x1600005,
    event 0x1600005, window 0x1600005, from_configure NO

LeaveNotify event, serial 19, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5270874, (1915,601), root:(1915,633),
    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
    focus NO, state 64

PropertyNotify event, serial 19, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5270890, state PropertyNewValue
^C
❯ xev -id 23068677
xev:  XSetLocaleModifiers failed
xev:  XOpenIM failed

ConfigureNotify event, serial 14, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (0,32), width 1920, height 1048,
    border_width 0, above 0x0, override NO

MapNotify event, serial 14, synthetic NO, window 0x1600005,
    event 0x1600005, window 0x1600005, override NO

VisibilityNotify event, serial 14, synthetic NO, window 0x1600005,
    state VisibilityUnobscured

Expose event, serial 14, synthetic NO, window 0x1600005,
    (0,0), width 1920, height 1048, count 0

EnterNotify event, serial 14, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5304787, (803,492), root:(803,524),
    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
    focus NO, state 64

KeymapNotify event, serial 14, synthetic NO, window 0x0,
    keys:  0   0   0   0   0   16  0   0   0   0   0   0   0   0   0   0   
           32  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

PropertyNotify event, serial 14, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5304795, state PropertyNewValue

FocusIn event, serial 15, synthetic NO, window 0x1600005,
    mode NotifyWhileGrabbed, detail NotifyNonlinear

KeymapNotify event, serial 15, synthetic NO, window 0x0,
    keys:  4294967199 0   0   0   0   16  0   0   0   0   0   0   0   0   0   0   
           32  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

FocusOut event, serial 15, synthetic NO, window 0x1600005,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 15, synthetic NO, window 0x1600005,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 15, synthetic NO, window 0x0,
    keys:  83  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           32  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 15, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5305084, (803,492), root:(803,524),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

LeaveNotify event, serial 18, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5306360, (1912,655), root:(1912,687),
    mode NotifyGrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 256

ConfigureNotify event, serial 18, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (0,32), width 1920, height 1048,
    border_width 0, above 0x0, override NO

PropertyNotify event, serial 18, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5306364, state PropertyNewValue

ConfigureNotify event, serial 18, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (0,32), width 1920, height 1048,
    border_width 0, above 0x0, override NO

PropertyNotify event, serial 18, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5306366, state PropertyNewValue

ConfigureNotify event, serial 18, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (0,32), width 1920, height 1048,
    border_width 0, above 0x0, override NO

PropertyNotify event, serial 18, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5306370, state PropertyNewValue

EnterNotify event, serial 18, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5306371, (1912,655), root:(1912,687),
    mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 256

KeymapNotify event, serial 18, synthetic NO, window 0x0,
    keys:  5   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

PropertyNotify event, serial 18, synthetic NO, window 0x1600005,
    atom 0x1eb (_NET_WM_USER_TIME), time 5306372, state PropertyNewValue

KeyRelease event, serial 19, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5308101, (1913,544), root:(1913,576),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 19, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5308101, (1913,544), root:(1913,576),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

PropertyNotify event, serial 19, synthetic NO, window 0x1600005,
    atom 0x1eb (_NET_WM_USER_TIME), time 5308102, state PropertyNewValue

FocusOut event, serial 19, synthetic NO, window 0x1600005,
    mode NotifyGrab, detail NotifyAncestor

FocusOut event, serial 19, synthetic NO, window 0x1600005,
    mode NotifyWhileGrabbed, detail NotifyNonlinear

UnmapNotify event, serial 19, synthetic NO, window 0x1600005,
    event 0x1600005, window 0x1600005, from_configure NO

LeaveNotify event, serial 19, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5308356, (1913,544), root:(1913,576),
    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
    focus NO, state 64

PropertyNotify event, serial 19, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5308356, state PropertyNewValue

Offline

#14 2021-05-21 13:10:15

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: All the scrollbars in VSCode stop working in Qtile

xev:  XSetLocaleModifiers failed
xev:  XOpenIM failed
localectl
locale
locale -a

But I guess that's unrelated.

There's no button event at all, ie. those go elsewhere.
There's however some passive grab activation - do you have a shortcut involving the mouse and something? (Super_L? What's that used for here?)

Online

#15 2021-05-21 13:36:09

AmitGold
Member
Registered: 2019-07-08
Posts: 39

Re: All the scrollbars in VSCode stop working in Qtile

❯ localectl
   System Locale: LANG=en_IL.UTF-8
                  LC_COLLATE=C
       VC Keymap: us
      X11 Layout: n/a
❯ locale
LANG=en_IL.UTF-8
LC_CTYPE="en_IL.UTF-8"
LC_NUMERIC="en_IL.UTF-8"
LC_TIME="en_IL.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_IL.UTF-8"
LC_MESSAGES="en_IL.UTF-8"
LC_PAPER="en_IL.UTF-8"
LC_NAME="en_IL.UTF-8"
LC_ADDRESS="en_IL.UTF-8"
LC_TELEPHONE="en_IL.UTF-8"
LC_MEASUREMENT="en_IL.UTF-8"
LC_IDENTIFICATION="en_IL.UTF-8"
LC_ALL=
❯ locale -a
C
POSIX
en_IL
en_IL.utf8

This is my Qtile mouse configuration, but even disabling it doesn't help:

mouse = [
    Drag(
        [mod],
        "Button1",
        lazy.window.set_position_floating(),
        start=lazy.window.get_position(),
    ),
    Drag(
        [mod], "Button3", lazy.window.set_size_floating(), start=lazy.window.get_size()
    ),
    Click([mod], "Button2", lazy.window.bring_to_front()),
]

Offline

#16 2021-05-21 13:40:47

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: All the scrollbars in VSCode stop working in Qtile

mod is Super_L? Why are there the release/press events?
Do you use some extended input method (fcitx) or dual keyboard layout (eg. us,il)?

Online

#17 2021-05-21 13:50:01

AmitGold
Member
Registered: 2019-07-08
Posts: 39

Re: All the scrollbars in VSCode stop working in Qtile

Ohhh, I switched workspaces to the vscode workspace... I didn't know it mattered.
Anyway I ran it again without changing them:

xev:  XSetLocaleModifiers failed
xev:  XOpenIM failed

EnterNotify event, serial 14, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5905297, (941,727), root:(959,777),
    mode NotifyNormal, detail NotifyAncestor, same_screen YES,
    focus NO, state 0

KeymapNotify event, serial 14, synthetic NO, window 0x0,
    keys:  95  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

ConfigureNotify event, serial 14, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (15,47), width 939, height 1012,
    border_width 3, above 0x0, override NO

PropertyNotify event, serial 14, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5905299, state PropertyNewValue

FocusIn event, serial 14, synthetic NO, window 0x1600005,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 14, synthetic NO, window 0x0,
    keys:  5   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

ConfigureNotify event, serial 15, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (15,47), width 939, height 1012,
    border_width 3, above 0x0, override NO

PropertyNotify event, serial 15, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5905302, state PropertyNewValue

ConfigureNotify event, serial 15, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (15,47), width 939, height 1012,
    border_width 3, above 0x0, override NO

PropertyNotify event, serial 15, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5905304, state PropertyNewValue

LeaveNotify event, serial 15, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5908705, (932,798), root:(950,848),
    mode NotifyGrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 256

ConfigureNotify event, serial 15, synthetic NO, window 0x1600005,
    event 0x1600005, window 0x1600005, (15,47), width 939, height 1012,
    border_width 3, above 0x240000e, override NO

ConfigureNotify event, serial 15, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (15,47), width 939, height 1012,
    border_width 3, above 0x0, override NO

PropertyNotify event, serial 15, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5908711, state PropertyNewValue

ConfigureNotify event, serial 15, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (15,47), width 939, height 1012,
    border_width 3, above 0x0, override NO

PropertyNotify event, serial 15, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5908713, state PropertyNewValue

ConfigureNotify event, serial 15, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (15,47), width 939, height 1012,
    border_width 3, above 0x0, override NO

PropertyNotify event, serial 15, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5908715, state PropertyNewValue

EnterNotify event, serial 15, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5908717, (932,798), root:(950,848),
    mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 256

KeymapNotify event, serial 15, synthetic NO, window 0x0,
    keys:  5   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

PropertyNotify event, serial 15, synthetic NO, window 0x1600005,
    atom 0x1eb (_NET_WM_USER_TIME), time 5908717, state PropertyNewValue

LeaveNotify event, serial 16, synthetic NO, window 0x1600005,
    root 0x19f, subw 0x0, time 5911995, (942,746), root:(960,796),
    mode NotifyNormal, detail NotifyAncestor, same_screen YES,
    focus YES, state 0

ConfigureNotify event, serial 16, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (15,47), width 939, height 1012,
    border_width 3, above 0x0, override NO

PropertyNotify event, serial 16, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5912047, state PropertyNewValue

FocusOut event, serial 16, synthetic NO, window 0x1600005,
    mode NotifyNormal, detail NotifyNonlinear

ConfigureNotify event, serial 16, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (15,47), width 939, height 1012,
    border_width 3, above 0x0, override NO

PropertyNotify event, serial 16, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5912051, state PropertyNewValue

ConfigureNotify event, serial 16, synthetic YES, window 0x1600005,
    event 0x1600005, window 0x1600005, (15,47), width 939, height 1012,
    border_width 3, above 0x0, override NO

PropertyNotify event, serial 16, synthetic NO, window 0x1600005,
    atom 0x189 (WM_STATE), time 5912056, state PropertyNewValue

And yes, I use dual keyboard layout, and mod = "mod4" (which is Super_L I think)

Offline

#18 2021-05-21 14:50:01

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: All the scrollbars in VSCode stop working in Qtile

'key, I get the same event pattern on chromium (vscode is essentially an IDE implemented in a browser engine) - so that's not the problem.

I then still suspect that this is a "window doesn't udnerstand that its active and gtk sucks" issue,
https://github.com/qtile/qtile/issues/2417
https://github.com/qtile/qtile/issues/2479

Some tests:
* are only bordering scrollbars affected or also internal ones (like in a nested window or sidebar)?
* run "sleep 5; xprop -root _NET_ACTIVE_WINDOW" and ensure vscode is active when the call hits. compare the output to the vscode WID from xwininfo.

Online

#19 2021-05-22 10:44:58

AmitGold
Member
Registered: 2019-07-08
Posts: 39

Re: All the scrollbars in VSCode stop working in Qtile

No scrollbars work, not even horizontal or internal ones.

❯ sleep 5; xprop -root _NET_ACTIVE_WINDOW
_NET_ACTIVE_WINDOW(WINDOW): window id # 0x1c00005
❯ xwininfo -int

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 29360133

Also, I noticed that something simillar to this: https://github.com/qtile/qtile/issues/2460
also happens to me in VScode, even on GNOME: when I right-click sometimes the closest option is selected without me clicking, I don't know if that's related.

What can I do?

EDIT: I noticed that the only scrollbar that works is the embedded terminal scrollbar

Last edited by AmitGold (2021-05-22 12:09:18)

Offline

#20 2021-05-22 13:34:08

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: All the scrollbars in VSCode stop working in Qtile

0x1c00005 == 29360133, so that's not it.

The context menu is pretty "normal" - they act on releasing over an entry and if the menu pops up under the mouse and you release the button over an entry, that fires.
Bad UX design, but rather not related to "i can't use scrollbars at all".

Does chromium show a similar problem w/ scrollbars?

Online

#21 2021-05-22 20:06:17

AmitGold
Member
Registered: 2019-07-08
Posts: 39

Re: All the scrollbars in VSCode stop working in Qtile

I use Brave which is Chromium-based browser all the time, but get no issues

Also, I can scroll using the minimap

Last edited by AmitGold (2021-05-22 20:10:31)

Offline

#22 2021-05-22 20:17:58

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: All the scrollbars in VSCode stop working in Qtile

Seems very vscode specific - did you try the behavior w/ a fresh user account (thus unconfigured vscode)?

Online

#23 2021-05-23 13:37:54

AmitGold
Member
Registered: 2019-07-08
Posts: 39

Re: All the scrollbars in VSCode stop working in Qtile

No, because I don't have another user on my PC

Offline

#24 2021-05-23 14:07:31

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: All the scrollbars in VSCode stop working in Qtile

The implication was to create one…

Online

#25 2021-05-28 15:11:43

fcarp10
Member
Registered: 2020-10-06
Posts: 3

Re: All the scrollbars in VSCode stop working in Qtile

The same here.  I am also running qtile and scrollbars in vscodium stopped working since last 1 or 2 weeks ago. It also happens with code-oss, but not with any other electron app.

Offline

Board footer

Powered by FluxBB