linuxmint / cinnamon-spices-extensions

Extensions for the Cinnamon desktop
http://cinnamon-spices.linuxmint.com
114 stars 102 forks source link

gTile@shuairan - menu not popping up and keys becoming disabled #459

Open ShayneWilliams opened 1 year ago

ShayneWilliams commented 1 year ago
 * Extension version 2.2.1
 * Cinnamon version 5.6.8
 * Distribution - Linux mint 21.1
 * Graphics hardware *and* driver used
 * Snippet or attachment of ~/.cinnamon/glass.log < - Could not find this file.
 * Snippet or attachment of ~/.xsession-errors

xsession-errors.txt

Notify author of extension @shuairan

Issue Basically this program becomes borderline malware pretty randomly. I don't know the exact reason, but sometimes when you open the program it works just fine, but other times when you open the program, the menu won't pop up, but it will disable your 1-4 keys, your space key, your enter key, and probably a few others. It's REALLY bad, because when your enter key is disabled, you can't even type commands into the terminal. You can't even hit the enter key on the virtual keyboard either. But you can still type normally into the menu panel that you open with the super key(or by clicking). From there you can open system monitor, and if you know the exact pid probably kill the program. I didn't know it, so instead I killed the cinnamon process, and went into fallback mode, and clicked the checkbox that says disable desklets, applets, and extensions. The only other alternative would be to restart the computer(which I was doing before)

Expected behaviour All of the keys on my keyboard should work normally like BEFORE this app was opened, and tiling menu should pop up as usual.

Other information

ghost commented 1 year ago

Unrelated to the main issue: whenever a Cinnamon reload may (temporarily) fix an issue there are ways to do it:

Also in the post above you may wanna move the xsession-errors.txt link out of the code section.

ShayneWilliams commented 1 year ago

Unrelated to the main issue: whenever a Cinnamon reload may (temporarily) fix an issue there are ways to do it:

  • right-click empty space in panel > Troubleshoot > Restart Cinnamon
  • Ctrl + Alt + Esc (if enabled in Keyboard > Shortcuts > System ==> Restart Cinnamon)
  • Alt + F2, type r, hit Enter (if respective keys do work)
  • use dedicated option in any installed applets/desklets (i.e. Developer's Tools desklet, Applet PYE applet)

Also in the post above you may wanna move the xsession-errors.txt link out of the code section.

Thanks for the heads up, and also thank you for the shortcuts to restart cinnamon they help a lot, especially because I'm a new user coming from windows of all places.

ghost commented 1 year ago

You're welcome. I've been a Windows user for 20+ years myself - nothing higher than XP though because I needed to be in control.

Gr3q commented 1 year ago

Hi @ShayneWilliams unfortunately the extension retain control of the keybindings if it crashed after it was opened.

I see the problem in the logs, unfortunately I don't have much time lately so I don't know when I can fix it .

Could you provide your settings for the extension? (So I have better chance to replicate the issue) Also do you know which programs this is happening with?

Gr3q commented 1 year ago

Also, while you are at it, is your Samsung Electric Company-LC49G95T-HCSW100996 functioning correctly? Are you disconnecting it, turning it on/off while you are using Cinnamon? It seems something is also breaking in Cinnamon itself, it says your monitors are changing and it fails in one of the functions acting on it.

ShayneWilliams commented 1 year ago

I use 3x2, with auto close and animations enabled. My screen works fine, but it does turn itself off partially when not in use because it enters powersave mode until you start using your device again. Also the programs I'm using generally are brave, and vscodium for the most part. There maybe terminal, clocks, etc. but nothing too crazy.

Gr3q commented 1 year ago

I think that will be the cause, both Cinnamon and the extension can get in a state where it can't find the monitor for the app you selected to open gTile during or after the monitor turned itself off.

I hope I can consistently replicate it with my monitors.