Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Configure" option for menu applet in panel not working #8801

Closed
UncleSpellbinder opened this issue Aug 18, 2019 · 30 comments
Closed

"Configure" option for menu applet in panel not working #8801

UncleSpellbinder opened this issue Aug 18, 2019 · 30 comments

Comments

@UncleSpellbinder
Copy link

UncleSpellbinder commented Aug 18, 2019

  • Cinnamon version 4.2.3
  • Arch Linux, 64 bit
  • Kernel 5.2.9-arch1-1-ARCH
  • CPU: AMD A10-7800 Radeon R7 4C+8G (4) @ 3.500GHz
  • GPU: AMD ATI Radeon R7 Graphics

Issue
Clicking "configure" no longer works, nothing happens. The "About" and "Remove Menu" options both work, as the dialog boxes are shown after clicking those. When I click "configure", nothing happens. All other applets in the panel that have a "configure " option work as expected.

Steps to reproduce
Right click menu applet, select "configure".

Expected behaviour
Configure dialog box should appear.

Other information
I tried with two other menu applets (Cinnamenu and CinnVIIStarkMenu). Same issue with both of those as well, "About" and "Remove Menu" both work as the dialog boxes are shown after clicking those. When I click "configure", nothing happens.

@UncleSpellbinder UncleSpellbinder changed the title "Configure" option for menu in panel not working "Configure" option for menu applet in panel not working Aug 18, 2019
@JosephMcc
Copy link
Contributor

Do your logs or .xsession-errors show anything that might be related? I can't reproduce the issue here on Mint 19.2.

@UncleSpellbinder
Copy link
Author

I can copy/paste here. It's quite long. I couldn't sus anything out.

@JosephMcc
Copy link
Contributor

Please do or put it in pastebin or something. Thanks

@UncleSpellbinder
Copy link
Author

UncleSpellbinder commented Aug 18, 2019

Here's the Pastebin link:
https://pastebin.com/TNbMu7Qq

@JosephMcc
Copy link
Contributor

Thanks. Nothing stands out for me in there. Maybe someone else will see something.

@JosephMcc
Copy link
Contributor

Could you try running xlet-settings applet menu@cinnamon.org with the stock menu in the panel. This should show it's settings or give you an error of some kind.

@UncleSpellbinder
Copy link
Author

UncleSpellbinder commented Aug 18, 2019

[daveb@archlinux ~]$ xlet-settings applet menu@cinnamon.org
Segmentation fault (core dumped)
[daveb@archlinux ~]$ 

@UncleSpellbinder
Copy link
Author

Using sudo, there is more info...

[daveb@archlinux ~]$ sudo xlet-settings applet menu@cinnamon.org
[sudo] password for daveb: 
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/xlet-settings.py", line 554, in <module>
    window = MainWindow(xlet_type, *sys.argv[2:])
  File "/usr/share/cinnamon/cinnamon-settings/xlet-settings.py", line 144, in __init__
    self.load_instances()
  File "/usr/share/cinnamon/cinnamon-settings/xlet-settings.py", line 260, in load_instances
    dir_items = sorted(os.listdir(path))
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cinnamon/configs/menu@cinnamon.org'
[daveb@archlinux ~]$ 

@mtwebster
Copy link
Member

are there any entries in the "System Reports" app (in the menu) or run 'mintreport`. Look under "Crash reports"

@claudiux
Copy link
Member

@UncleSpellbinder Do not use sudo. The root user does not use this applet.

@claudiux
Copy link
Member

@UncleSpellbinder Can you try: cinnamon-settings applets menu@cinnamon.org?

@UncleSpellbinder
Copy link
Author

[daveb@archlinux ~]$ cinnamon-settings applets menu@cinnamon.org
Segmentation fault (core dumped)
[daveb@archlinux ~]$

@UncleSpellbinder
Copy link
Author

mtwebster, there is no "System Reports" app. I suspect running "mintreport" will not help, I'm running Arch.

@mtwebster
Copy link
Member

oh sorry I didn't pay attention to original post :)

You'll have to debug it - this link should help:

https://github.com/linuxmint/Cinnamon/wiki/How-to-use-GDB-to-gather-debug-information-on-a-program

@smurphos
Copy link
Contributor

What icon theme do you have set. I ask as a Mint user reported a similar issue on the forums and it appears the Yaru++ icon theme was a factor.

https://forums.linuxmint.com/viewtopic.php?f=90&t=299968

@UncleSpellbinder
Copy link
Author

What icon theme do you have set. I ask as a Mint user reported a similar issue on the forums and it appears the Yaru++ icon theme was a factor.

https://forums.linuxmint.com/viewtopic.php?f=90&t=299968

WOW. You are correct! I was using the Korla icon theme. Switched to Arc. "Configure" works as expected.

I'm so sorry to have wasted everyone's time.

Thanks for the info, smurphos!

@UncleSpellbinder
Copy link
Author

SOLVED

@smurphos
Copy link
Contributor

It's not a waste of time. It may be an icon theme related bug, but it should not make the settings module crash if it is.

The Yaru++ theme is from https://github.com/Bonandry/yaru-plus

I got as far as reproducing the crash with the Yaru++ theme on Mint, but haven't investigated any furhter

mtwebster added a commit to linuxmint/xapp that referenced this issue Aug 18, 2019
needed.

The actual dialog may not ever be needed if the button is never
clicked.

related to: linuxmint/cinnamon#8801
@JosephMcc
Copy link
Contributor

This should be fixed by: linuxmint/xapp@b325768

@eli-schwartz
Copy link
Contributor

@UncleSpellbinder I'm uploading the new xapps version to Arch's community repository as we speak, so your original icon theme should work now I guess.

pacman -Syu 'xapps>=1.4.9-1'

@smurphos
Copy link
Contributor

smurphos commented Aug 21, 2019

This should be fixed by: linuxmint/xapps@b325768

Partially fixed - you still can't open the icon picker GUI from the configure GUI with one of the problematic icon themes.

cinnamon-desktop-editor is also broken by these icon themes

steve@steve-Inspiron-5580:~$ cinnamon-desktop-editor -m nemo-launcher -d ~/Desktop

Segmentation fault (core dumped)

Edit to add - can reproduce with the korla icon theme as used by the OP - https://github.com/bikass/korla

@mtwebster
Copy link
Member

There's nothing we can do with this other than isolating it as much as possible, which that patch did, this is a gtk issue.

https://gitlab.gnome.org/GNOME/gtk/issues/2111

@smurphos
Copy link
Contributor

Thanks @mtwebster - I'm not sure if it's relevant for your upstream bug report, but fixing the typo in the index that produces the warning doesn't eliminate the seg-fault.

@UncleSpellbinder
Copy link
Author

UncleSpellbinder commented Aug 22, 2019

@UncleSpellbinder I'm uploading the new xapps version to Arch's community repository as we speak, so your original icon theme should work now I guess.

pacman -Syu 'xapps>=1.4.9-1'

@eli-schwartz - Thanks. As was mentioned, it's partially fixed as I can't open the icon picker GUI from the configure GUI. But, some progress is better than none. Much appreciated.

@gusbemacbe
Copy link

Hi @smurphos !

I am co-author of Yaru++. It had "no size field", because the author of icons theme used the old version of Suru++ Ubuntu, which caused bugs in the Yaru++ theme.

During a month, I have worked, fixed and upgraded the whole Yaru++. I have already told him not to copy or use the old version of Suru++ Ubuntu for his new icons themes.

I have just released the new version today. You can check and test.

@Davetheraveuk
Copy link

Davetheraveuk commented May 17, 2020

Hi, I am having the same problem as OP.
Here is my terminal output:


[dave@RebornOS Desktop]$ cinnamon-settings applets menu@cinnamon.org
Traceback (most recent call last):

  File "/usr/share/cinnamon/cinnamon-settings/xlet-settings.py", line 17, in <module>
    from JsonSettingsWidgets import *

  File "/usr/share/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py", line 332, in <module>
    globals()["JSONSettings"+widget] = json_settings_factory(widget)

  File "/usr/share/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py", line 313, in json_settings_factory class NewClass(globals()[subclass], JSONSettingsBackend):

KeyError: 'SoundFileChooser'


Dunno what is causing this.
Let me now if you require any more info.
Dave.

@pawanneupane
Copy link

pawanneupane commented May 18, 2020

Hi, I am having the same problem as OP.
Here is my terminal output:


[dave@RebornOS Desktop]$ cinnamon-settings applets menu@cinnamon.org
Traceback (most recent call last):

  File "/usr/share/cinnamon/cinnamon-settings/xlet-settings.py", line 17, in <module>
    from JsonSettingsWidgets import *

  File "/usr/share/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py", line 332, in <module>
    globals()["JSONSettings"+widget] = json_settings_factory(widget)

  File "/usr/share/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py", line 313, in json_settings_factory class NewClass(globals()[subclass], JSONSettingsBackend):

KeyError: 'SoundFileChooser'

Dunno what is causing this.
Let me now if you require any more info.
Dave.

I'd been facing the same issue in Arch Linux for the past couple of days. The latest cinnamon update seems to have fixed it.

@leigh123linux
Copy link
Contributor

@pawanneupane
Copy link

@leigh123linux Thanks. Updated Cinnamon and everything's working fine again. Cheers!

@Davetheraveuk
Copy link

@pawanneupane @leigh123linux
Yup. Can confirm, all is good.
Thanks guys.
Dave.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants