ImageGlass icon indicating copy to clipboard operation
ImageGlass copied to clipboard

Ability to make it a "viewer" only...

Open AzzaAzza69 opened this issue 2 years ago • 4 comments

Ie. disable file operations like renaming, delete, moving, etc.

AzzaAzza69 avatar Aug 31 '21 10:08 AzzaAzza69

I wanted it at least to have an option to enable a user prompt confirming the deletion of the file, if you press delete it just deletes the file blowI wanted it at least to have an option to enable a user prompt confirming the deletion of the file, if you missclick the delete button it just deletes the file 🤯

slashedstar avatar May 02 '22 18:05 slashedstar

I wanted it at least to have an option to enable a user prompt confirming the deletion of the file, if you press delete it just deletes the file

ImageGlass behaves just like Windows Explorer: when you delete a file, it is sent to the Recycle Bin, where you can recover it.

fire-eggs avatar May 02 '22 22:05 fire-eggs

I'm aware of that, but unlike WE it doesn't have an option to ask if you really want to delete the file, which would prevent the hassle of searching the trash bin or going to the folder where the image was and pressing ctrl+z

slashedstar avatar May 03 '22 12:05 slashedstar

The option is here:

image

d2phap avatar May 03 '22 13:05 d2phap

You can disable the features of ImageGlass by using the setting DisabledMenus, see https://github.com/d2phap/ImageGlass/issues/1498#issuecomment-1482911514

For v9, open its igconfig.json file, the menu names are (begins with Mnu prefix): https://github.com/d2phap/ImageGlass/blob/1bdc50dc2884571803da59545ebc4be0c0d96e23/v9/ImageGlass/FrmMain.Designer.cs#L1105-L1224

Example: Disable rotate left/right feature

// in igconfig.json
{
  "DisabledMenus": "MnuRotateLeft;MnuRotateRight"
}

d2phap avatar Oct 09 '23 03:10 d2phap