Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FileChooserDialog display for HDD unhelpful #13956

@JimH44

Description

@JimH44

Steps to Reproduce

  1. View the attached screenshot and discuss my comments.
    Browsing Computer
  2. If you would like to duplicate my experience, unpack the attached project, compile and run.
    FolderBrowser.zip
    (I adapted this code from the Mono Winforms tutorial.)

Current Behavior

When I try to explore to one of the filesystems mounted on my computer, I see
HDD (none, sda7)
which tells me I can open something on a hard disk, and that the block-special device is
/dev/. . ./sda7
This system shows three devices, one for root (/), one for /home and one for /data.

Expected Behavior

It would be much more helpful if the name of the folder mounted on that device could be shown as well as the fact that this is a hard disk.

On another system, we have a lot of bind mounts, which we use because symbolic links to directories are not allowed. They all appear as
HDD (none, vda7)
so there is no way of guessing which one is which. If the directory where this filesystem is mounted could be shown, this would be much more useful.

To avoid changing the existing behaviour, my request could be met through a new optional argument to the function call FileChooserDialog

On which platforms did you notice this

[ ] macOS
[x] Linux
[ ] Windows

Version Used:

mono --version shows:

Mono JIT compiler version 5.18.1.0 (tarball Fri Mar 15 20:47:15 UTC 2019)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  x86
	Disabled:      none
	Misc:          softdebug 
	Interpreter:   yes
	LLVM:          yes(600)
	Suspend:       preemptive
	GC:            sgen (concurrent by default)

Stacktrace

N/A

Thanks for considering this request.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions