GNOME Bugzilla – Bug 149201
Disabled item name in File Properties can not be selected
Last modified: 2005-05-22 14:22:51 UTC
1. Mount a CD
2. Right-click on it and select Properties
3. Try to select its name with the mouse or keyboard.
As per the HIG at
where it states (at the far bottom of the page):
"Note that although they cannot be edited, the settings are still visible and
selectable, and may be copied to the clipboard."
it should be possible to highlight the text and copy it.
I can't give focus to the textfield at all.
Sorry, I'm not sure this should be in "Accessibility" - my first guess was
"Metadata", but after looking through the bugs there I wasn't sure.
Please triage :)
Created attachment 39309 [details] [review]
This is a patch to solve this problem and also whack a FIXME requesting this in
the code. This patch replaces the entry bar with a selectable label if the
properties window is for multiple files or a file that you can't rename.
There are a couple problems with it:
1) When examining multiple files, if the filenames are longer than window, it
will be ellipsized, preventing you from looking at the list of filenames. I
don't know how big a deal this is, or what the solution would be.
2) I didn't make it dynamically change the label for the "_Name:" label, which
means that if you have a file you can't rename, there will be a mnemonic for
the label which can't be used.
I think it looks a lot better than before. I had difficulty testing the
on-the-fly swapping of widgets if you lose or gain renaming rights due to my
FAM setup. Please test.
why do you change the priority ?
I thought it was GNOME bugzilla policy to have High priority on bugs with
patches (http://developer.gnome.org/projects/bugsquad/triage/steps.html - step 7).
right :) Perhaps you could send the patch on the nautilus list too, maintainers
usually review patches here
Created attachment 39685 [details] [review]
Being notified of a couple warnings that my patch gave, I have modified it. I
have also tested that it does correctly swap out widgets.
However, support for this is limited. Limited to pre-patch support for it, at
any rate. There is no easy way to monitor renamability. Current nautilus will
not change the sensitivity of the name entry if the parent directory loses
write access. It will only do so if you try to rename it and it finds you
can't. My patch also does this, changing the entry to a label in that case.
At some point in the future, if monitoring renamability is possible, my patch
should make it easy, having the foundations for it.
*** Bug 131190 has been marked as a duplicate of this bug. ***