Schneegans / Fly-Pie

:pie: Fly-Pie is an innovative marking menu written as a GNOME Shell extension.

Home Page:http://schneegans.github.io/news/2021/12/02/flypie10

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Launch application or submenu takes multiple clicks

DrGeor opened this issue · comments

Describe the Bug

Starting with gnome 46, menu items must be clicked mulitple times before the action happens.
Eg. Open main menu, click icon to launch application, the icon expands outwards as if opening a submenu, clicking the icon again contracts the non-existent submenu, then clicking the icon again launches the application.

Output of journalctl at the point of first click
journalctl -f -o cat | grep -E 'flypie|'

JS ERROR: TypeError: this._trace.get_content() is null
drawTrace@file:///home/danratty/.local/share/gnome-shell/extensions/flypie@schneegans.github.com/src/extension/MenuItem.js:729:19
redraw@file:///home/danratty/.local/share/gnome-shell/extensions/flypie@schneegans.github.com/src/extension/MenuItem.js:667:12
Menu/<@file:///home/danratty/.local/share/gnome-shell/extensions/flypie@schneegans.github.com/src/extension/Menu.js:453:18
emitSelection@file:///home/danratty/.local/share/gnome-shell/extensions/flypie@schneegans.github.com/src/extension/SelectionWedges.js:364:18
emitSelection@file:///home/danratty/.local/share/gnome-shell/extensions/flypie@schneegans.github.com/src/extension/Menu.js:137:29
Menu/<@file:///home/danratty/.local/share/gnome-shell/extensions/flypie@schneegans.github.com/src/extension/Menu.js:235:24
@resource:///org/gnome/shell/ui/init.js:21:20

After the final click the application is launched successfully.
The same also happen when opening submenus, it should happen with one click, but takes 3 in total.

Expected Behavior

Launch application on first click.

System

Please complete the following information:

  • Linux distribution - Archlinux
  • Fly-Pie version 25
  • GNOME Shell version: 46

Note:- I have installed a minimal linux, with minimal gnome and no extra extensions or apps and the same thing happens on a fresh clean install with gnome 46.

Very much looking forward to Kando, as fly-pie is the only reason binding me to gnome now.

Thank you for the detailed bug report! I can indeed reproduce this. Let's see if I find a fix 😄

This was actually pretty easy to fix 😄

The next version of Fly-Pie will contain the fix. Or you could clone the repo and install the cutting edge version 😉