Opened 5 years ago

Last modified 2 years ago

#10124 assigned bug

Disable "Edit name" item for read-only items

Reported by: humdinger Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/Tracker Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

This hrev46250.

The menu item to rename a file/folder should be disabled when a read-only item is selected.

Change History (4)

comment:1 Changed 5 years ago by phoudoin

True, but somehow the end user should be notified why. A tooltip, an alert box, some "lock" icon, something. Otherwise one may think it's just broken.

comment:2 Changed 5 years ago by humdinger

Maybe the disabled menu item could read "Edit name (read-only)".
A tool-tip might work.
No alerts, please. :)

The lock-icon overlay might be a bit overkill. Seeing all files and folders of a CD-ROM or a read-only mounted volume with padlocks sounds noisy. I'd reserve those for PM-related read-onlyness (see #10122), if possible.

comment:3 Changed 5 years ago by axeld

It would be possible (and make some sense) to limit this to files that are read-only but reside on a writable disk. Maybe do that for folders only?

If our notifications were less ugly and large, one could also use them when someone tries to rename a file that cannot be renamed.

comment:4 Changed 2 years ago by axeld

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.