Searge-DP / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Save/Load dialog volume listing #84

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Ini init.c / rechercher_drives, we're building a list of the drives/
volumes present on the system for each platform. Under windows we get the 
volume letters (A, C, D, ...), under UNIX we just put / and /home, but on 
Amiga system there is nothing done there.
Please add a way of listing the drives there.

Original issue reported on code.google.com by pulkoma...@gmail.com on 5 Jan 2009 at 11:47

GoogleCodeExporter commented 8 years ago
Peter provided a volume list for AmigaOS4.
It's in Lire_liste_des_lecteurs() (files.c) and called when you click "Select 
Drive"
button in the file requester.
It gets up-to-date information on click, contrarily to the Windows drive icons 
that
don't get updates for plug-n-play media.

Original comment by yrizoud on 5 Jan 2009 at 7:32

GoogleCodeExporter commented 8 years ago
Then, we should call this one in init.c at startup so we get a list.
And we should replace its content by the mess in init.c to get it to refresh on 
other platforms.

The problem with this fileselect is we are still too much in the msdos 
approach, on 
amiga there can be a lot of drives (most of them being virtual ones like 
PROGDIR:) 
and they aren't defined by a single letter at all.
Maybe we should redesign the whole filedialog then... the dynamic approach 
seems a 
good idea, i think the icons on the top should disappear at some point, as even 
under windows i think this "drive" approach will be eventually dropped. And it 
could 
also make sense to provide direct access to folders like "My Pictures".

I've added all the mountpoints as icons under linux, i think it does makes some 
sense, but the "drive letter" approach is totally wrong and unpractical there...

Original comment by pulkoma...@gmail.com on 5 Jan 2009 at 7:58

GoogleCodeExporter commented 8 years ago
Did you notice this button displays the list in the scrollable file selector, 
it can
display the 11 first characters+"...", there's a scrollbar if there are more 
than 10
volumes or mount points, and you can type the first characters to quickly 
navigate to
one...

Original comment by yrizoud on 5 Jan 2009 at 8:08

GoogleCodeExporter commented 8 years ago
Yes, i saw that, and i think we should remove the buttons altogether and use 
only 
this new way of selecting a drive. Under linux, we're having both and it makes 
the 
interface feel a bit strange, particularly when in top of that all the mounts 
are 
included in /, it ens up very easy to get lost with all these ways to go to the 
same 
place.
I think the best we can go is :

-Remove all the drive buttons, maybe keep them only under windows
-Use the "select drive" button for all platforms with a dynamic list of drives
  * Under linux/beos, add all the mountpoints to this list
  * Under amiga, add all the volumes
  * Under windows, add all the drives, and maybe also some places like desktop, my 
documents, or my computer.
-Possibly add another button in the space left by the drive buttons, like 
"favourite 
places" (user defined in the .ini for example), or "recently used", or 
something 
alike.

On a sidenote : i think we really need the pop-up menus to replace the format 
selector, and that could be used for drive selection too.

(switching this to 2.0 as it will become quite a big change :))

Original comment by pulkoma...@gmail.com on 5 Jan 2009 at 8:40

GoogleCodeExporter commented 8 years ago
Amiga :

The scheme is quite different there from other OS.
The parent dir is not ".." but "/".

Also, the volume listing in morphos seems broken in svn454, maybe it was fixed 
in 
between.

Maybe it is a good idea to switch to regular ASL requesters...

Original comment by pulkoma...@gmail.com on 12 Jan 2009 at 9:31

GoogleCodeExporter commented 8 years ago
Status update on this one :

We have two ways of selecting drive, icons on the top for windows, and select 
drive 
button for the others. This feels quite right for windows and amiga, but on 
unixes, 
the concept of drive is not very much interesting, and getting shortcuts to the 
"home" directory of the user is more interesting. This also seems a good idea 
under 
windows (point to "My Pictures" folder for example).

Original comment by pulkoma...@gmail.com on 21 Jan 2009 at 7:50

GoogleCodeExporter commented 8 years ago
Some cleanup of the issue list :)

Original comment by pulkoma...@gmail.com on 9 Feb 2009 at 11:18

GoogleCodeExporter commented 8 years ago

Original comment by pulkoma...@gmail.com on 9 Feb 2009 at 11:21

GoogleCodeExporter commented 8 years ago
This one is now done :)

Original comment by pulkoma...@gmail.com on 21 Feb 2009 at 9:27