! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Possibility to delete data and skip the trashcan has disappeared in context m...
Status:
RESOLVED: INVALID

Comments

Description Erik Dubois 2018-10-10 23:01:28 CEST
It is quite complex what I want to convey.

Best thing is to go chronological with the aid of images.

On ArcoLinux 18.9.5 (mid September release) (Arch Linux based linux system) we have thunar 1.8.1git-f5147445 installed.

image 1-thunar-1.8.1git-f5147445.jpg to show the version. 

In thunar/preferences/behavior there is now no option for red trash icon or 'Show action to permanently delete files and folders'.
In this thunar version the settings however is TRUE so we see visually in our icon theme a RED trashcan. We can delete and skip the trashcan if we want.

The right click menu (aka contextmenu called from now on) on a folder or file would give us a 'delete' menu (red trash icon) under the 'move to trash' menu.

Users of ArcoLinux were accustomed to have it.

Image 2-thunar-1.8.1git-f5147445 to show how it used to look - see red trashcan

--------- UPDATE ARRIVES -------

Then two weeks ago thunar 1.8.2 came in. In the contextmenu we see no red trashcan anymore so the users complain, why we changed the settings.

Then we started investigating.

We discovered a new setting under behavior that could enable our 'delete' menu and we would have our red trash can back.

image 3-thunar update 1.8.2.png is there to show extra menu in behavior - this is now arcolinux 18.10.4 with the new thunar 1.8.2.

New option (Show action to permanently delete files and folders) is there and it is set to FALSE - so no red trashcan in our context menu - hence people asking why we changed.

So we said a new option great. Unfortunately it is set to false so people miss the menu.

You can set it manually via behavior tab to true and it is back in.

Image 4-set manually.png shows that it works fine manually - settings are saved in settings manager - misc-show-delete-action.

We say to users we will make sure the red trash icon is back and we add the extra line to 

thunar.xml  ---   <property name="misc-show-delete-action" type="bool" value="true"/>

We do our updates only to see that upon start thunar (even after reboot) thunar does not pick up this new setting of 'true' and the red trash icon is not set.

However if we set it manually via the menu the same line -  <property name="misc-show-delete-action" type="bool" value="true"/> is either set to false or true so that works.
And if we reboot then the red icon stays there.

Request : put this new option in behavior standard on true - red trashcan is there as before in Thunar 1.8.1 version

Question : why does thunar not apply this setting

thunar.xml  ---   <property name="misc-show-delete-action" type="bool" value="true"/>

and thunar does NOT show us this red trashcan when we make an iso and start our livedvd and later our installation even if it is set to true.


If you need it - here are all our xfce settings : https://github.com/arcolinux/arcolinux-xfce-thunar/tree/master/xfce4/xfconf/xfce-perchannel-xml

Posted 4 images on imgur in a gallery - not sure if I could upload 4 images on here

I might have stumbled on something but all credits goes to the users.
Comment 1 Erik Dubois 2018-10-10 23:03:33 CEST
and here are the images https://imgur.com/a/ZOBgi8y
Comment 2 alexxcons editbugs 2018-10-11 00:10:13 CEST
Xfconf runs as a daemon, so before editing thunar.xml,  I would suggest to kill any running xfconf processes. ( Otherwise the running xfconf will overwrite your thunar.xml )

Was the line "misc-show-delete-action" still in thunar.xml after reboot ?

A different way to permanently modify a xfconf setting is:
xfconf-query --channel thunar --property /misc-show-delete-action --create --type bool --set true

I dont plan to change the default value to "true", since I think "false" is the correct default.
- less bloated context menu
- "trash" is some kind of default nowadays, some unexperienced users dont know the difference and may "delete" on accident
- It happened to me that I deleted files on accident, while I only wanted to trash ...who actually reads the confirmation dialog ? (I quess this is pretty much the reason why you colorized the icon red in your distro) :P
Comment 3 Erik Dubois 2018-10-11 06:18:18 CEST
It is your prerogative if you set it to true or false.

I can inform the users where to set it back to true.

Yesterday on actual ssd this had happened.

Was the line "misc-show-delete-action" still in thunar.xml after reboot ? 

NO if you copy/paste this line "thunar.xml  ---   <property name="misc-show-delete-action" type="bool" value="true"/>"  in thunar.xml and boot up on ssd. It is set back to false somehow...

Yes if you set it manually via the menu preferences/behavior/ after booting up and stays there after rebooting.

Like you said it might be that xfconf overwrote it after my change.

-------

Today I thought - lets build an iso and see if that will change things and it does.

We provide the iso with a package including this line

thunar.xml  ---   <property name="misc-show-delete-action" type="bool" value="true"/>

and the settings are now set to true and the red icon is present.

And that is what I wanted to achieve on the iso.

It might have been that xfconf had changed the setting back to false when I added the line to thunar.xml with true and before I rebooted.

I have achieved the result I needed. 

Case solved.
Comment 4 alexxcons editbugs 2018-10-11 21:38:53 CEST
ok, great, so I will close the bug (as invalid, since actually it was not a bug, but a service request :P )

Bug #14752

Reported by:
Erik Dubois
Reported on: 2018-10-10
Last modified on: 2018-10-11

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Attachments

Additional information