Repository navigation
|
Is there any way to hide unwanted menus in Image Glass? I really dislike menus for setting Desktop Wallpaper or Lockscreen background in viewer apps, and so I always disable them immediately. I carefully choose my Desktop wallpaper and then leave it like that for years, so not only do these kinds of entries gave no use to me, they also clutter up the context menu, and are a real annoyance if you click them accidentally. I know that there is no GUI setting in Image Glass to hide / remove these 2 menu options (I carefully checked every setting), but I wondered whether there was perhaps any other method of achieving this? If there is no way to do this, should I submit a feature request? Thanks. |
Replies: 2 comments
|
There's no setting that hides them completely, but there is a config-only option that disables them: DisabledMenus in igconfig.json. Close ImageGlass, then add: "DisabledMenus": [ "MnuSetDesktopBackground", "MnuSetLockScreen" ] At startup, ImageGlass looks up each name in that list and sets the menu item to Enabled = false, adding a 🔒 to its text (LoadMenuDisabledState in FrmMain.Configs.cs). The items stay in the menu, greyed out, but you can no longer click them by accident. If you want them removed from the menu entirely, that would need a feature request. |
|
Thank you for your reply and for the workaround advice. Being able to disable them to prevent accidental clicking is a real help in dealing with this problem, but it's still a pity to have 2 essentially 'dead' menus items permanently displayed for no reason, cluttering up the context menu. This is especially true given how beautifully you have designed the interface of Image Glass. It perfectly fits the Windows 11 aesthetic (unlike so many other image viewers that have really ugly UIs) and it is also so clean, which was a big factor in me dumping my messy old cluttered image viewer and switching over to Image Glass instead. So it would be great to be able to keep Image Glass' clean look by removing unwanted cruft. I will disable these menus entries in the interim, but I will go ahead and put in a feature request to be able to hide them entirely. I would be perfectly happy if this was achieved using a config option; I would not expect it to be a GUI option within Settings. Cheers |
There's no setting that hides them completely, but there is a config-only option that disables them: DisabledMenus in igconfig.json. Close ImageGlass, then add:
"DisabledMenus": [ "MnuSetDesktopBackground", "MnuSetLockScreen" ]
At startup, ImageGlass looks up each name in that list and sets the menu item to Enabled = false, adding a 🔒 to its text (LoadMenuDisabledState in FrmMain.Configs.cs). The items stay in the menu, greyed out, but you can no longer click them by accident. If you want them removed from the menu entirely, that would need a feature request.