06 October 2005, 10:00 | #1 |
Posts: n/a
|
Filenames truncated in drop-down list
Hi,
Is there any chance that you (Toni...) could change the display of the drop-down list for files so that we can always see the right-most part of the filename. As you can see from the attachment, given the length of the path (especially when looking insider archives) it's difficult to select the correct file. Thanks for all the hard work, Rob |
06 October 2005, 11:01 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
I don't think Windows supports right aligned drop down lists.
|
06 October 2005, 11:12 | #3 |
Posts: n/a
|
I was thinking more along the lines of only populating the list with with say:
"w:\abc\def...\full filename.adf" - although I'll concede that what's in the list may be what gets passed back to the program which wouldn't be ideal. Ideally what's displayed should be seperate to the string that's returned when that option is selected. I appreciate what VC++ offers might not be good enough, I'll try and take a look into it (or think of a better way - navigating the TOSEC demo's archive isn't particularly friendly from the GUI, long paths are probably unavoidable) I really like the idea of the archive support (automatically looking inside rar files in my case) - just trying to make it easier for me to start demos on demand. BTW: Any chance of the archive expansion supporting files ending with .exe? I've a lot of executable binaries which I'd like to rar up rather than leave uncompressed. Thanks for all the hard work, Rob |
06 October 2005, 16:23 | #4 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
Quote:
Quote:
|
||
06 October 2005, 22:02 | #5 |
2 contact me: email only!
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,182
|
Toni: Could you perhaps do a "cheat" version of this? Instead of creating one drop down list, create 2 - one being invisible. The invisible one is effectively the current one you have, and everytime you populate the list, you put the shortened version into the display list in the same order. If the user selects a game, the index will be the same for both lists so you can lookup the full path by looking in the invisible list, but the user only sees the shortened version. And no GUI programming required!
|
07 October 2005, 21:00 | #6 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
How about just displaying the filename and removing the path?
|
08 October 2005, 01:27 | #7 | |
Registered User
Join Date: Jun 2002
Location: .
Age: 48
Posts: 5,562
|
Quote:
|
|
09 October 2005, 12:36 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
It isn't that easy, length of textbox is unknown and font is non-proportional. I guess it is possible but I am quite sure it is something I don't even want to know..
Removing paths: what about users who have identically named files in multiple directories. (for example, can happen when testing adfs) |
09 October 2005, 12:39 | #9 | |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Quote:
|
|
09 October 2005, 13:14 | #10 | |
Registered User
Join Date: Jun 2002
Location: .
Age: 48
Posts: 5,562
|
Quote:
|
|
09 October 2005, 13:54 | #11 | |
Zone Friend
|
Quote:
It's more a guessing game when selecting files. |
|
09 October 2005, 22:25 | #12 | |
2 contact me: email only!
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,182
|
Quote:
c:\documents and settings\codetapper\my documents\winuae\hunter.adf f:\amiga\backup\games\Hunter.adf f:\backup\games\Hunter.adf The bottom one would be first so goes in as Hunter.adf. Then you hit f:\amiga\backup\games\Hunter.adf and it detects that the filename Hunter.adf is already in the list. So it only puts in the different parts. So it would appear as say f:\amiga\...\Hunter.adf. Then you hit the top one, and you can put in something like c:\...\Hunter.adf Any shortening of the path would be a great improvement imho... or how about this? Put the entries in with the filename FIRST, then the path at the end, preferably indented/tabbed etc? Code:
Hunter.adf c:\documents and settings\ Hunter.adf f:\amiga\games\ Hunter.adf f:\backup\amiga\games |
|
09 October 2005, 22:29 | #13 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Or display the filename and the CRC only, most adf testers would probably be okay with this and also know the differing versions..
Or have the rightmost part of the path and the filename, after-all you can't have 2 adf's with the same name in the same path! |
10 October 2005, 04:45 | #14 | |
2 contact me: email only!
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,182
|
Quote:
Code:
c:\program files\winuae\hd\games\g\golden_axe.adf c:\backup\program files\winuae\hd\games\g\golden_axe.adf I really think filename <tab/indent> path is the simplest way to go! After all, when you've got 50 games in the list, you just want to select the game and having to find the filename amongst a long path is difficult enough as it is... |
|
10 October 2005, 20:55 | #15 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
Quote:
I tried without indenting and it works but feels slightly weird.. filename.adf [x:\path\to\somewhere\] some.adf [x:\path\to\elsewhere\] |
|
10 October 2005, 22:36 | #16 | ||
2 contact me: email only!
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,182
|
Quote:
Quote:
|
||
10 October 2005, 22:48 | #17 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
Quote:
Quote:
|
||
10 October 2005, 23:46 | #18 |
Workbitch 1.3
Join Date: Oct 2001
Location: Melbourne, Australia
Age: 46
Posts: 2,084
|
As a compromise perhaps a tool tip popping up showing the full path + filename when you hover the mouse above the path in the box...
/me ducks Toni's wrath |
11 October 2005, 05:54 | #19 | |
2 contact me: email only!
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,182
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Voltage drop down, what could be the reason? | Sim085 | support.Hardware | 7 | 03 August 2013 23:38 |
New mod! Drop the Panic | h0ffman | Amiga scene | 16 | 22 September 2012 10:05 |
about filenames | orange | project.WHDLoad | 12 | 22 March 2010 17:14 |
Help me keep from drop-kicking my Amiga!! | watertonian | support.Other | 12 | 20 March 2010 00:50 |
List in alphabetical order in dropdown list of Floppy Drives | Zed | request.UAE Wishlist | 1 | 06 February 2010 17:26 |
|
|