! 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 !
Unmount arrow doesn't appear on mounted internal partitions and devices in bo...
Status:
RESOLVED: WONTFIX

Comments

Description Yousuf 'Jay' Philips 2020-04-18 05:57:12 CEST
Created attachment 9737 
screenshot

Steps:
1. open thunar
2. plugin your phone and a USB drive
3. mount the phone and USB drive
4. mount an internal partition
5. notice either only the USB drive has an unmount arrow
Comment 1 Theo Linkspfeifer editbugs 2020-04-18 21:10:33 CEST
This is not an "unmount arrow", but an eject button. It is shown when the Eject action is available (see context menu).
Comment 2 Yousuf 'Jay' Philips 2020-04-18 21:47:29 CEST
Created attachment 9745 
file dialog

Yes i guess that is correct, but what do we do about the inconsistency with the file dialogs which has it for unmount for things that cant be ejected.
Comment 3 Yousuf 'Jay' Philips 2020-04-18 22:19:36 CEST
Created attachment 9748 
thunar vs caja

Similarly caja uses the arrow to indicate that a partition is mounted instead of dimming it in the sidebar.
Comment 4 Yousuf 'Jay' Philips 2020-04-18 22:30:16 CEST
Created attachment 9749 
thunar vs caja (corrected)
Comment 5 Yousuf 'Jay' Philips 2020-04-18 22:31:11 CEST
Created attachment 9750 
thunar vs caja (corrected)
Comment 6 alexxcons editbugs 2020-04-19 11:09:05 CEST
(In reply to Jay Philips from comment #2)
> Created attachment 9745 
> file dialog
> 
> Yes i guess that is correct, but what do we do about the inconsistency with
> the file dialogs which has it for unmount for things that cant be ejected.

Which file dialogs are you referring to ?

I tried the GtkFileChooserDialog from firefox .. seems to behave the same way than thunar when I plug-in my android phone .. no eject button shown. Or do I get it wrong ?
Comment 7 Yousuf 'Jay' Philips 2020-04-19 13:11:07 CEST
Created attachment 9755 
full file dialog

(In reply to alexxcons from comment #6)
> Which file dialogs are you referring to ?

The gtk3 file dialogs.

> I tried the GtkFileChooserDialog from firefox .. seems to behave the same
> way than thunar when I plug-in my android phone .. no eject button shown. Or
> do I get it wrong ?

My screenshot was from the 'Other Locations' section. I've attached a screenshot now for the main file dialog and you can see my s7 has an eject/unmount button. It didnt when i first plugged it in, but once it was mounted, the arrow showed up.
Comment 8 alexxcons editbugs 2020-04-27 01:14:20 CEST
(In reply to Yousuf 'Jay' Philips from comment #7)
> My screenshot was from the 'Other Locations' section. I've attached a
> screenshot now for the main file dialog and you can see my s7 has an
> eject/unmount button. It didnt when i first plugged it in, but once it was
> mounted, the arrow showed up.

Ops, haha, I just have to select it to as well get that arrow, sorry :)

If I get that correct, the gtk3 dialog does a bad job. The arrow is always called "unmount".
On my smartphone that seems to work fine. Clicking on it after unmount will just re-mount the phone.
But on an usb flashdrive pressing it will result in a ejecting the stick, I have to plug it out and re-insert it ...  not exactly what I expected, since the tooltip says "unmount".

So I dont think that we should follow that approach, which does not differ at all between unmount and eject. I would rather open a bug aganist GtkFileChooserDialog to ask them to differ between eject and unmount. Therefore "wontfix" for this bug.

Though I guess we could improve thunar by showing a tooltip "eject" on the eject button to better reflect its purpose .. if you like that ide, feel free to open a new bug for it !
Comment 9 Yousuf 'Jay' Philips 2020-04-27 10:44:37 CEST
(In reply to alexxcons from comment #8)
> So I dont think that we should follow that approach, which does not differ
> at all between unmount and eject. I would rather open a bug aganist
> GtkFileChooserDialog to ask them to differ between eject and unmount.
> Therefore "wontfix" for this bug.

The gtk3 dialog is only one place, but as mentioned, this is the behaviour in Caja. I checked and Nemo and Nautilus also have this behaviour, so should bugs be filed against all these file managers?

The focus of this bug report is to make it easy to unmount partitions that can't be ejected, rather than having to rely on the context menu.
Comment 10 alexxcons editbugs 2020-04-27 12:58:36 CEST
(In reply to Yousuf 'Jay' Philips from comment #9)
> The focus of this bug report is to make it easy to unmount partitions that
> can't be ejected, rather than having to rely on the context menu.

I got the impression that the idea is that thunar should just behave like the other file managers/dialogs :)

So what would be your concrete proposal to ease unmount ? Best open a new bug for it.

What I could imagine is to use the current icon for unmount (seems like anyhow everybody uses the "eject" icon for both), and only allow to eject via context menu.
In any case IMO it would make much sense to have a tooltip on that icon to be able to check its purpose.

Though I would not want to eject stuff if "unmount" is pressed, like done in the other file-managers.
Comment 11 Yousuf 'Jay' Philips 2020-05-06 17:38:19 CEST
(In reply to alexxcons from comment #10)
> I got the impression that the idea is that thunar should just behave like
> the other file managers/dialogs :)

If other file managers provide a better/simpler UX, definitely it should IMO.

> So what would be your concrete proposal to ease unmount ? Best open a new
> bug for it.

Eject for removables and umount for non-removables.

> What I could imagine is to use the current icon for unmount (seems like
> anyhow everybody uses the "eject" icon for both), and only allow to eject
> via context menu.

That wouldn't make things better, that we make it harder for USBs to be ejected.

> In any case IMO it would make much sense to have a tooltip on that icon to
> be able to check its purpose.

Definitely useful if people would wait around to let it appear, which people wont.

> Though I would not want to eject stuff if "unmount" is pressed, like done in
> the other file-managers.

We could show a different icon to distinguish between the two operations, if that is what is acceptable.

Bug #16710

Reported by:
Yousuf 'Jay' Philips
Reported on: 2020-04-18
Last modified on: 2020-05-06

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Attachments

screenshot (10.21 KB, image/png)
2020-04-18 05:57 CEST , Yousuf 'Jay' Philips
no flags
file dialog (22.96 KB, image/png)
2020-04-18 21:47 CEST , Yousuf 'Jay' Philips
no flags
thunar vs caja (59.38 KB, image/png)
2020-04-18 22:19 CEST , Yousuf 'Jay' Philips
no flags
thunar vs caja (corrected) (96.66 KB, image/png)
2020-04-18 22:30 CEST , Yousuf 'Jay' Philips
no flags
thunar vs caja (corrected) (53.92 KB, image/png)
2020-04-18 22:31 CEST , Yousuf 'Jay' Philips
no flags
full file dialog (24.16 KB, image/png)
2020-04-19 13:11 CEST , Yousuf 'Jay' Philips
no flags

Additional information