etkaar created an issue (geany/geany#4298)

I use Fedora 42 KDE and tested this with the Geany 2.0 packages from Fedora 
Linux, Fedora Platpaks and I even compiled Geany 2.1 by myself. That was really 
straightforward by the way:

```
mkdir /home/geany
cd /home/geany
git clone https://github.com/geany/geany.git .

sudo dnf install gcc-c++ gtk3-devel

meson build
meson compile -C build
sudo meson install -C build

geany
```

The problem is that if opening a file, Geany won't come to foreground—unless 
Geany was exited. So if Geany was closed then opening a file will bring Geany 
up, but not any more if Geany was already running while opening the file.

It seems that this is a Wayland issue, since I tested it with X11. X11 is 
considered legacy on Fedora, but can as a temporary workaround be still brought 
back and then be selected on the login page:

`sudo dnf install plasma-workspace-x11 kwin-x11`

I captured following error message:

```
Apr 25 13:14:52 OFFICE kwin_wayland[19109]: kwin_core: Cannot grant a token to 
KWin::ClientConnection(0x55c5b9665190)
Apr 25 13:14:52 OFFICE systemd[18823]: Started 
[email protected] - Geany - Integrated 
Development Environment.
Apr 25 13:14:52 OFFICE kwin_wayland[19109]: kwin_core: Cannot grant a token to 
KWin::ClientConnection(0x55c5bad7bfb0)
```


-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4298
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/[email protected]>

Reply via email to