After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 645089 - "Include a Delete command" string is confusing
"Include a Delete command" string is confusing
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: Trash
3.14.x
Other All
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-18 01:31 UTC by Anders Jenbo
Modified: 2015-02-28 20:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Replace the confusing string with an appropriate string. (1.22 KB, patch)
2014-11-16 11:42 UTC, Avinash Kumar Dasoundhi
needs-work Details | Review
Added an appropriate and meaningful string. (1.44 KB, patch)
2014-11-19 17:20 UTC, Avinash Kumar Dasoundhi
needs-work Details | Review
Replace confusing string (1.44 KB, patch)
2015-02-27 22:28 UTC, Gabriel Ivașcu
accepted-commit_now Details | Review
nautilus-view: always allow to permanently delete (8.44 KB, patch)
2015-02-28 20:16 UTC, Carlos Soriano
none Details | Review

Description Anders Jenbo 2011-03-18 01:31:55 UTC
"I_nclude a Delete command that bypasses Trash"

Most users probably won't understand what a Delete command is, a better line would be:

"Bypass Trash and delete files directly"

Or something to that effect.
Comment 1 Cosimo Cecchi 2011-03-21 13:59:24 UTC
It's too late to change this for 3.0, as we're in string freeze now, but I agree the wording is not optimal.
Although, your suggestion is not good either, as we don't delete files by default when that option is active, we just add a "Delete" menu item and make Shift+Canc activate it.
Comment 2 Anders Jenbo 2011-03-21 19:25:14 UTC
Ok now i think i understand what it does.

How about:
"Add a Delete menu option that bypasses Trash"
Comment 3 Avinash Kumar Dasoundhi 2014-11-03 14:29:55 UTC
I am a beginner and i want to work on it.
Comment 4 André Klapper 2014-11-03 15:29:48 UTC
Avinash: Great! Looking forward to your patch - see https://wiki.gnome.org/Git/Developers

And the string still exists in the current codebase:
#: ../src/nautilus-file-management-properties.ui.h:21
msgid "I_nclude a Delete command that bypasses Trash"
Comment 5 Avinash Kumar Dasoundhi 2014-11-03 17:48:10 UTC
Andre: How can i contact you on IRC as it is my first bug so i have many doubts regarding this.
Comment 6 André Klapper 2014-11-03 19:28:26 UTC
You don't. You just ask a specific question on IRC (#gnome-love) and wait for *anybody* to answer. :)
Comment 7 Avinash Kumar Dasoundhi 2014-11-16 11:42:05 UTC
Created attachment 290787 [details] [review]
Replace the confusing string with an appropriate string.

I have changed the confusing string. 
Can anyone review this patch for me and tell me if it requires any rectification. 
Thank you.
Comment 8 Anders Jenbo 2014-11-16 12:23:29 UTC
Looks good to me :)
Comment 9 Carlos Soriano 2014-11-16 12:46:20 UTC
Review of attachment 290787 [details] [review]:

As we already talked on IRC, probably this sentence doesn't improve too much.
The difference between:
"I_nclude a Delete command that bypasses Trash" and
"Add a Delete menu option that bypasses Trash"
are very subtle. "add" instead of "include", "menu option" instead of
"command". So probably better to ask to designers.

On the technical side, the commit message doesn't has a correct style, see:
https://wiki.gnome.org/GnomeLove/CodeContributionWorkflow#Commit_guidelines

Feel free to update the patch with the technical parts fixed.

::: src/nautilus-file-management-properties.ui
@@ +681,3 @@
                             <child>
                               <object class="GtkCheckButton" id="trash_delete_checkbutton">
+                                <property name="label" translatable="yes">Add a Delete menu option that bypasses Trash</property>

There is no mnemonic in this one (the underscore character). Make sure it doesn't collide with other mnemonics in the same page.
Comment 10 Avinash Kumar Dasoundhi 2014-11-19 17:20:44 UTC
Created attachment 291015 [details] [review]
Added an appropriate and meaningful string.

The old string is a bit confusing and most users won't understand it.
so a new string is added in place of the old one so that all users can understand the actual meaning.
Comment 11 André Klapper 2014-11-19 17:38:23 UTC
Comment on attachment 291015 [details] [review]
Added an appropriate and meaningful string.

There is still no mnemonic.
Comment 12 Carlos Soriano 2014-11-19 18:15:08 UTC
Review of attachment 291015 [details] [review]:

Apart from what Andre said, that there's still no mnemonic, the commit message still doesn't follow the guidelines (the wiki is faulty in that part, I will correct it).
You have to put the file affected in the short description, take a look on this commit for example https://git.gnome.org/browse/nautilus/commit/?id=17061d58d126077a26dd44595c321ee134f5747c
Also the tense of the verb has to be present, so you have to say "Add" instead of "Added".
Comment 13 Gabriel Ivașcu 2015-02-27 22:28:11 UTC
Created attachment 298140 [details] [review]
Replace confusing string
Comment 14 Matthias Clasen 2015-02-28 18:33:43 UTC
I wonder why we need this option at all. We could just always enable Shift-Delete. After all, it does have a confirmation dialog. Whats the harm ?
Comment 15 Carlos Soriano 2015-02-28 18:55:37 UTC
(In reply to Matthias Clasen from comment #14)
> I wonder why we need this option at all. We could just always enable
> Shift-Delete. After all, it does have a confirmation dialog. Whats the harm ?

More than the harm, is having another menu item that can be easily trigered etc.

What we can do is remove the menu item and allow the shortcut always.
Comment 16 Carlos Soriano 2015-02-28 18:57:13 UTC
Review of attachment 298140 [details] [review]:

The code looks good, wait until we reach a decision on what to do with the option tho.

Thanks for the work!
Comment 17 Carlos Soriano 2015-02-28 20:16:14 UTC
Created attachment 298188 [details] [review]
nautilus-view: always allow to permanently delete

Before 3.15 we had a setting for adding a menu item for permanent
deletion of files. But the shortcut was always enabled no matter the
state of the setting, which seems inconsistent.

Then with the GAction port we changed that behavior to be consistent,
but people that were unaware of the setting were complaining that
the shortcut for permanent deletion was not working.

Given that we show a dialog if we hit that shortcut, and the setting
itself is confusing, just enable always the shortcut but remove the
setting and the menu item for it.
Comment 18 Carlos Soriano 2015-02-28 20:21:50 UTC
Thinking more about it and given the bug https://bugzilla.gnome.org/show_bug.cgi?id=745321, I agree with you Mathias.

I attached the patch here by accident, 745321 is the good one.