Skip to content

GNOME 49 issues with maximize and right/left swipe #55

@ewagner12

Description

@ewagner12

Hi, thanks for the extension, it's been really great and useful to me.

I tested the latest version of the extension on Fedora 43 Silverblue with GNOME 49 and I'm seeing the following.

What's working: 3 finger up and 3 finger down works, 3 finger down > up works, 4 finger swipe down works no problem with these gestures.

What's not working:

  • Maximize window is not working with any gesture. Shows error:
JS ERROR: TypeError: activeWin.get_maximized is not a function
_runAction@file:///var/home/eric/.local/share/gnome-shell/extensions/windowgestures@extension.amarullz.com/extension.js:2505:44
_swipeEnd@file:///var/home/eric/.local/share/gnome-shell/extensions/windowgestures@extension.amarullz.com/extension.js:1373:22
_swipeEventHandler@file:///var/home/eric/.local/share/gnome-shell/extensions/windowgestures@extension.amarullz.com/extension.js:1399:21
_touchpadEvent@file:///var/home/eric/.local/share/gnome-shell/extensions/windowgestures@extension.amarullz.com/extension.js:1614:25
@resource:///org/gnome/shell/ui/init.js:21:20

Seems possible that the solution is to replace get_maximized with is_maximized as described here: https://gjs.guide/extensions/upgrading/gnome-shell-49.html#meta-window

  • 3 finger down > right/left, 3 finger left/right and 4 finger left/right are not working and give following errors in journalctl:
JS ERROR: TypeError: can't access property "children", this._pages[pageIndex] is undefined
getItemsAtPage@resource:///org/gnome/shell/ui/iconGrid.js:922:17
getItemsAtPage@resource:///org/gnome/shell/ui/iconGrid.js:1440:30
_translatePreviousPageIcons@resource:///org/gnome/shell/ui/appDisplay.js:314:34
_syncPageIndicators@resource:///org/gnome/shell/ui/appDisplay.js:387:14
goToPage@resource:///org/gnome/shell/ui/appDisplay.js:436:14
goToPage@resource:///org/gnome/shell/ui/appDisplay.js:1250:29
onComplete@resource:///org/gnome/shell/ui/appDisplay.js:731:36
_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:68:13
_easeActorProperty@resource:///org/gnome/shell/ui/environment.js:225:17
St.Adjustment.prototype.ease@resource:///org/gnome/shell/ui/environment.js:311:23
_swipeEnd@resource:///org/gnome/shell/ui/appDisplay.js:728:20
_endGesture@resource:///org/gnome/shell/ui/swipeTracker.js:651:14
_endTouchpadGesture@resource:///org/gnome/shell/ui/swipeTracker.js:672:14
_handleEvent@resource:///org/gnome/shell/ui/swipeTracker.js:196:18
@resource:///org/gnome/shell/ui/init.js:21:20

Not sure where this is pointing or if these messages are useful.

Let me know if there's anything I can do to help testing. I'm not experienced in JS, but I can help with testing and debug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions