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

Scroll up events are still sent to the application under the mouse #3359

Open
baongoc124 opened this Issue Aug 15, 2018 · 6 comments

Comments

Projects
None yet
4 participants
@baongoc124

baongoc124 commented Aug 15, 2018

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

bindsym --whole-window --border $mod+button4 exec "pactl set-sink-volume $(pactl info @DEFAULT_SINK@ | grep -oP \"(?<=Default Sink: ).*\" ) +4%"
I hold Super and scroll mouse wheel. Binding works. But scroll up events are still sent to the application under the mouse. Specifically, Gnome-terminal (GTK3 version).

Expected Behavior

Scroll up events should be captured by i3 so that no scrolling happens in the application.

Environment

Output of i3 --moreversion 2>&-:

Binary i3 version:  4.15 (2018-03-10) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.15 (2018-03-10) (pid 5512)o abort…)
Loaded i3 config: /home/rmrf/.i3/config (Last modified: Wed 15 Aug 2018 03:43:55 PM JST, 2916 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3-with-/i3

My config
config.txt

Logfile URL:
i3.log

- Linux Distribution & Version: Archlinux
- Are you using a compositor (e.g., xcompmgr or compton):

@i3bot i3bot added the bug label Aug 15, 2018

@i3bot

This comment has been minimized.

Show comment
Hide comment
@i3bot

i3bot Aug 15, 2018

I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

i3bot commented Aug 15, 2018

I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

@baongoc124

This comment has been minimized.

Show comment
Hide comment
@baongoc124

baongoc124 Aug 15, 2018

I filed this bug before (issue #3127 ) but due to laziness, I didn't follow up. Sincerely sorry.

baongoc124 commented Aug 15, 2018

I filed this bug before (issue #3127 ) but due to laziness, I didn't follow up. Sincerely sorry.

@orestisf1993

This comment has been minimized.

Show comment
Hide comment
@orestisf1993

orestisf1993 Aug 15, 2018

Member

The log you captured has the bindsym directives commented out. I can reproduce specifically with gnome-terminal though so you don't need to provide a new one.

Member

orestisf1993 commented Aug 15, 2018

The log you captured has the bindsym directives commented out. I can reproduce specifically with gnome-terminal though so you don't need to provide a new one.

@Airblader

This comment has been minimized.

Show comment
Hide comment
@Airblader

Airblader Aug 15, 2018

Member

Perhaps gnome-terminal uses raw pointer events?

Member

Airblader commented Aug 15, 2018

Perhaps gnome-terminal uses raw pointer events?

@baongoc124

This comment has been minimized.

Show comment
Hide comment
@baongoc124

baongoc124 Aug 15, 2018

@orestisf1993 my bad. I updated the description.

baongoc124 commented Aug 15, 2018

@orestisf1993 my bad. I updated the description.

@orestisf1993

This comment has been minimized.

Show comment
Hide comment
@orestisf1993

orestisf1993 Aug 17, 2018

Member

Anything here?

0.915 000:>:01a4: Event Generic(35) XInputExtension(131) KeyPress(2) deviceid=0x03 time=0x001e6d86 detail=0x00000085 root=0x000006bd event=0x03600006 child=0x00000000 root_x=3183.000000 root_y=501.000000 event_x=418.000000 event_y=483.000000 sourceid=0x0008 flags=0x00000000 mods={base_mods=0x00000000 latched_mods=0x00000000 locked_mods=0x00000010 effective_mods=0x00000010}; group={base_group=0x00 latched_group=0x00 locked_group=0x00 effective_group=0x00}; buttons=0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000; valuators=0x00000000,0x00000000; axisvalues=;
0.915 000:>:01a4: Event XKEYBOARD-XkbEvent(85) type=2 time=0x001e6d86 device=0x03 not-yet-supported=0x50,0x40,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x50,0x50,0x50,0x50,0x50,0x00,0x00,0x03,0x1f,0x85,0x02,0x00,0x00;
0.915 000:<:01a5: 28: XKEYBOARD-Request(135,8): GetMap deviceSpec=UseCoreKbd(256) full=71 partial=0 firstType=0 nTypes=0 firstKeySym=0 nKeySyms=0 firstKeyAct=0 nKeyActs=0 firstKeyBehavior=0 nKeyBehaviors=0 virtualMods=0
0.915 000:>:01a5:6404: Reply to GetMap: deviceID=165 minKeyCode=8 maxKeyCode=255 present=71 firstType=0 nTypes=28 totalTypes=28 firstKeySym=8 totalSyms=603 nKeySyms=248 firstKeyAct=0 totalActs=0 nKeyActs=0 firstKeyBehavior=0 nKeyBehaviors=0 totalKeyBehaviors=0 firstKeyExplicit=0 nKeyExplicit=0 totalKeyExplicit=0 firstModMapKey=8 nModMapKeys=248 totalModMapKeys=15 firstVModMapKey=0 nVModMapKeys=0 totalVModMapKeys=0 virtualMods=65535 not-yet-supported=;
0.916 000:<:01a6: 12: XKEYBOARD-Request(135,17): GetNames deviceSpec=3 which=vmods,groups
0.916 000:>:01a6:92: Reply to GetNames: deviceID=3 which=vmods,groups minKeyCode=8 maxKeyCode=255 nTypes=28 groupNames=3 virtualMods=8191 firstKey=8 nKeys=248 indicators=0x00000000 nRadioGroups=0 nKeyAliases=0 nKTLevels=0 valueList=0x9a,0x00,0x00,0x00,0x9b,0x00,0x00,0x00,0x9c,0x00,0x00,0x00,0x9d,0x00,0x00,0x00,0x9e,0x00,0x00,0x00,0x9f,0x00,0x00,0x00,0xa0,0x00,0x00,0x00,0xa1,0x00,0x00,0x00,0xa2,0x00,0x00,0x00,0xa3,0x00,0x00,0x00,0xa4,0x00,0x00,0x00,0xa5,0x00,0x00,0x00,0xa6,0x00,0x00,0x00,0xde,0x00,0x00,0x00,0x07,0x01,0x00,0x00;
0.916 000:<:01a7: 12: Request(16): InternAtom only-if-exists=false(0x00) name='Meta'
0.916 000:>:01a7:32: Reply to InternAtom: atom=0xa4("Meta")
0.916 000:<:01a8: 16: Request(16): InternAtom only-if-exists=false(0x00) name='Super'
0.916 000:>:01a8:32: Reply to InternAtom: atom=0xa5("Super")
0.916 000:<:01a9: 16: Request(16): InternAtom only-if-exists=false(0x00) name='Hyper'
0.916 000:>:01a9:32: Reply to InternAtom: atom=0xa6("Hyper")
0.916 000:<:01aa: 28: XKEYBOARD-Request(135,8): GetMap deviceSpec=UseCoreKbd(256) full=7 partial=0 firstType=0 nTypes=0 firstKeySym=0 nKeySyms=0 firstKeyAct=0 nKeyActs=0 firstKeyBehavior=0 nKeyBehaviors=0 virtualMods=0
0.916 000:>:01aa:6388: Reply to GetMap: deviceID=170 minKeyCode=8 maxKeyCode=255 present=7 firstType=0 nTypes=28 totalTypes=28 firstKeySym=8 totalSyms=603 nKeySyms=248 firstKeyAct=0 totalActs=0 nKeyActs=0 firstKeyBehavior=0 nKeyBehaviors=0 totalKeyBehaviors=0 firstKeyExplicit=0 nKeyExplicit=0 totalKeyExplicit=0 firstModMapKey=8 nModMapKeys=248 totalModMapKeys=15 firstVModMapKey=0 nVModMapKeys=0 totalVModMapKeys=0 virtualMods=0 not-yet-supported=;
0.919 000:<:01ab: 20: XKEYBOARD-Request(135,1): SelectEvents opcode=0x87 opcode2=0x01 unparsed-data=0x03,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x05,0x00;
0.919 000:<:01ac: 16: XKEYBOARD-Request(135,1): SelectEvents opcode=0x87 opcode2=0x01 unparsed-data=0x03,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x07,0x00;
0.919 000:<:01ad: 28: Request(18): ChangeProperty mode=Replace(0x00) window=0x03600006 property=0x174("_NET_WM_USER_TIME") type=0x6("CARDINAL") data=0x001e6d86;
0.919 000:>:01ad: Event PropertyNotify(28) window=0x03600006 atom=0x174("_NET_WM_USER_TIME") time=0x001e6d8a state=NewValue(0x00)
Member

orestisf1993 commented Aug 17, 2018

Anything here?

0.915 000:>:01a4: Event Generic(35) XInputExtension(131) KeyPress(2) deviceid=0x03 time=0x001e6d86 detail=0x00000085 root=0x000006bd event=0x03600006 child=0x00000000 root_x=3183.000000 root_y=501.000000 event_x=418.000000 event_y=483.000000 sourceid=0x0008 flags=0x00000000 mods={base_mods=0x00000000 latched_mods=0x00000000 locked_mods=0x00000010 effective_mods=0x00000010}; group={base_group=0x00 latched_group=0x00 locked_group=0x00 effective_group=0x00}; buttons=0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000; valuators=0x00000000,0x00000000; axisvalues=;
0.915 000:>:01a4: Event XKEYBOARD-XkbEvent(85) type=2 time=0x001e6d86 device=0x03 not-yet-supported=0x50,0x40,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x50,0x50,0x50,0x50,0x50,0x00,0x00,0x03,0x1f,0x85,0x02,0x00,0x00;
0.915 000:<:01a5: 28: XKEYBOARD-Request(135,8): GetMap deviceSpec=UseCoreKbd(256) full=71 partial=0 firstType=0 nTypes=0 firstKeySym=0 nKeySyms=0 firstKeyAct=0 nKeyActs=0 firstKeyBehavior=0 nKeyBehaviors=0 virtualMods=0
0.915 000:>:01a5:6404: Reply to GetMap: deviceID=165 minKeyCode=8 maxKeyCode=255 present=71 firstType=0 nTypes=28 totalTypes=28 firstKeySym=8 totalSyms=603 nKeySyms=248 firstKeyAct=0 totalActs=0 nKeyActs=0 firstKeyBehavior=0 nKeyBehaviors=0 totalKeyBehaviors=0 firstKeyExplicit=0 nKeyExplicit=0 totalKeyExplicit=0 firstModMapKey=8 nModMapKeys=248 totalModMapKeys=15 firstVModMapKey=0 nVModMapKeys=0 totalVModMapKeys=0 virtualMods=65535 not-yet-supported=;
0.916 000:<:01a6: 12: XKEYBOARD-Request(135,17): GetNames deviceSpec=3 which=vmods,groups
0.916 000:>:01a6:92: Reply to GetNames: deviceID=3 which=vmods,groups minKeyCode=8 maxKeyCode=255 nTypes=28 groupNames=3 virtualMods=8191 firstKey=8 nKeys=248 indicators=0x00000000 nRadioGroups=0 nKeyAliases=0 nKTLevels=0 valueList=0x9a,0x00,0x00,0x00,0x9b,0x00,0x00,0x00,0x9c,0x00,0x00,0x00,0x9d,0x00,0x00,0x00,0x9e,0x00,0x00,0x00,0x9f,0x00,0x00,0x00,0xa0,0x00,0x00,0x00,0xa1,0x00,0x00,0x00,0xa2,0x00,0x00,0x00,0xa3,0x00,0x00,0x00,0xa4,0x00,0x00,0x00,0xa5,0x00,0x00,0x00,0xa6,0x00,0x00,0x00,0xde,0x00,0x00,0x00,0x07,0x01,0x00,0x00;
0.916 000:<:01a7: 12: Request(16): InternAtom only-if-exists=false(0x00) name='Meta'
0.916 000:>:01a7:32: Reply to InternAtom: atom=0xa4("Meta")
0.916 000:<:01a8: 16: Request(16): InternAtom only-if-exists=false(0x00) name='Super'
0.916 000:>:01a8:32: Reply to InternAtom: atom=0xa5("Super")
0.916 000:<:01a9: 16: Request(16): InternAtom only-if-exists=false(0x00) name='Hyper'
0.916 000:>:01a9:32: Reply to InternAtom: atom=0xa6("Hyper")
0.916 000:<:01aa: 28: XKEYBOARD-Request(135,8): GetMap deviceSpec=UseCoreKbd(256) full=7 partial=0 firstType=0 nTypes=0 firstKeySym=0 nKeySyms=0 firstKeyAct=0 nKeyActs=0 firstKeyBehavior=0 nKeyBehaviors=0 virtualMods=0
0.916 000:>:01aa:6388: Reply to GetMap: deviceID=170 minKeyCode=8 maxKeyCode=255 present=7 firstType=0 nTypes=28 totalTypes=28 firstKeySym=8 totalSyms=603 nKeySyms=248 firstKeyAct=0 totalActs=0 nKeyActs=0 firstKeyBehavior=0 nKeyBehaviors=0 totalKeyBehaviors=0 firstKeyExplicit=0 nKeyExplicit=0 totalKeyExplicit=0 firstModMapKey=8 nModMapKeys=248 totalModMapKeys=15 firstVModMapKey=0 nVModMapKeys=0 totalVModMapKeys=0 virtualMods=0 not-yet-supported=;
0.919 000:<:01ab: 20: XKEYBOARD-Request(135,1): SelectEvents opcode=0x87 opcode2=0x01 unparsed-data=0x03,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x05,0x00;
0.919 000:<:01ac: 16: XKEYBOARD-Request(135,1): SelectEvents opcode=0x87 opcode2=0x01 unparsed-data=0x03,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x07,0x00;
0.919 000:<:01ad: 28: Request(18): ChangeProperty mode=Replace(0x00) window=0x03600006 property=0x174("_NET_WM_USER_TIME") type=0x6("CARDINAL") data=0x001e6d86;
0.919 000:>:01ad: Event PropertyNotify(28) window=0x03600006 atom=0x174("_NET_WM_USER_TIME") time=0x001e6d8a state=NewValue(0x00)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment