Schneegans / Fly-Pie

:pie: Fly-Pie is an innovative marking menu written as a GNOME Shell extension.
http://schneegans.github.io/news/2021/12/02/flypie10
MIT License
1.21k stars 26 forks source link

Fly-Pie works only once per session #329

Open Chill-Chel opened 1 year ago

Chill-Chel commented 1 year ago

Describe the Bug

2023-11-07 02-57-07.webm

Fly-Pie works only once per session, to use it again you have to do one of the following: restart Fly-Pie, restart your PC, log out, take a screenshot. You can use it once, it works fine, try to use it again, it shows the menu, but it doesn't react, you can move the mouse over it, click on it, nothing happens, not even animations, and you can reopen it as many time as you want. But if you open the Fly-Pie menu when it doesn't work and take a screenshot (Ctrl+PrtSc), the menu comes back to life again, but only for this one use, after that it stops working again, you can repeat the steps and it will work the same every time. The issue didn't happen before, I used the extension for quite a while and it worked great. Also tried using it without any extensions, nothing changes.

Steps to reproduce the behavior:

  1. Open Fly-Pie
  2. Use it one time
  3. Try to use it again
  4. Fly-Pie doesn't work

Expected Behavior

Expected to work every time, without restarting the extension.

System

adityainduraj commented 1 year ago

I'm facing the same issue. Very very annoying, please rectify this ASAP.

Schneegans commented 1 year ago

Hi there! Thanks for the report. Can you please check the output of journalctl -f -o cat while opening and closing a Fly-Pie menu? Just run this in a terminal, leave it running and reproduce the issue. Maybe an error is printed.

Chill-Chel commented 1 year ago

Hi! Here is what it said:

Theme parser error: gtk.css:7814:21-28: Expected a valid color. Theme parser error: gtk.css:7820:21-28: Expected a valid color. Started dbus-:1.2-org.gnome.Shell.Extensions@2.service. Timelines with detached actors are not supported. [:0x563639559580] in animation of duration 150ms but not on stage. Theme parser error: gtk.css:7791:21-28: Expected a valid color. Theme parser error: gtk.css:7796:21-28: Expected a valid color. Theme parser error: gtk.css:7814:21-28: Expected a valid color. Theme parser error: gtk.css:7820:21-28: Expected a valid color. gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed Started app-gnome-gnome\x2dextensions-7267.scope - Application launched by gnome-shell. BPF prog-id=107 op=LOAD BPF prog-id=108 op=LOAD BPF prog-id=109 op=LOAD Starting systemd-hostnamed.service - Hostname Service... Started systemd-hostnamed.service - Hostname Service. SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed [Gnome Email Notifications] Checking mail Failed to get METAR data: HTTP/2 Error: NO_ERROR meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed

Schneegans commented 1 year ago

Did any of this got printed at exactly the moment when you opened or closed the menu? Or when you clicked into the menu? Maybe you could create a screen cast (similar to the one above) where you reproduce the issue and show a terminal with this command running?

Chill-Chel commented 1 year ago

Sorry, my SSD broke down, so unfortunately I can't access that system anymore. I installed Ubuntu and it works fine here, but I will get back to you if the issue happens again, maybe somebody else will come to help find this bug.

Also thanks for responding, and for all the work you are doing, you are helping a lot of people.

lil-evil commented 1 year ago

I'm having the same issue here. Fly pie only work one time. after using the jounalctl stuff I got : Window manager warning: last_user_time (8242452) is greater than comparison timestamp (8242450). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around... Window manager warning: W42 appears to be one of the offending windows with a timestamp of 8242452. Working around... Window manager warning: last_user_time (8247827) is greater than comparison timestamp (8247825). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around... Window manager warning: W42 appears to be one of the offending windows with a timestamp of 8247827. Working around...

the two last_user_time and W42 warnings popped at the exact time opening fly pie

Schneegans commented 1 year ago

I don't know if this could be related. Fly-Pie does not open any window but draws directly in GNOME Shell.

ArcticDev78 commented 10 months ago

Same issue here