Skip to content

bug: cursor warping on wayland/gnome 44 #225

@zoriya

Description

@zoriya

Description

What is the bug?

The cursor should follow the active window when selecting it with shortcuts, but the mouse is never moved by forge.

Problem Explanation

I don't know if it is a wayland, gnome 44 or something else restriction but the gdkDisplay.get_default_seat().get_pointer().wrap() does nothing. Cursor wraping does not work, neither on forge nor popshell. I am not familiar with gdk's api so I don't really know if this the API changed or if it just broke.

The bug happens when you want to wrap the window.

Expected Behavior

The cursor should wrap to the selected window on keybind.

Reprodution

How one can find the bug?

Steps To Reproduce

I only tested on wayland/gnome 44.

  1. Open two applications
  2. Select the other application via keybinds

Details

Mark with [ ] all that applies:

It happens with any application?

  • Yes, it applies to any application.
  • No. Only with the following applications:
    • VSCode, Terminal, ...
  • It works with the following applications that I have tried:
    • Fill in a list with any application that applies

It happens only on one computer?

  • I don't know.
  • No. I have tried it on more than one computer.

It happens only with some specific gnome configuration?

  • I don't think that the configuration matters.
  • Yes. Only if the following config is set up:
    • Fill in a list with any configuration tha applies.

It happens only with some specific extension installed?

  • I don't think that the installed extensions affect the bug/behavior.
  • Yes. Only if the following gnome extension is installed:
    • Fill in a list with any extension tha applies.
    • Fill in also any detail about the extensions that applies.

Diagnostics

Under what conditions does it happen?

Fill in all information that applies:

Environment

  • Distro version : Linux fuhen 6.1.28 #1-NixOS SMP PREEMPT_DYNAMIC Thu May 11 14:04:52 UTC 2023 x86_64 GNU/Linux
  • GNOME Shell version: GNOME Shell 44.1
  • Forge source : extensions.gnome.org
  • Forge version : 68

Display Setup

One screen only

Output and Logs

There are no logs when I select a window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamIdentified as upstream issuewaylandWayland supportwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions