Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000352OLVUser Interfacepublic2011-10-27 13:222012-08-11 01:01
Assigned ToFred 
PlatformApple MacOSOS XOS Version10.6
Product Version0.0.1-SNAPSHOT 
Target Version0.0.3Fixed in Version0.0.3 
Summary0000352: Make ctrl C/V/X/Z work in the file chooser on Mac
DescriptionFirstly, are they working on win? If they are, then it's just a mapping issue on Mac. On mac it's command C/V/Z/X and not control. Might need some mapping at boot time between system keys and internal keys to achieve this properly. Yes, I think that is the right approach. Abstract the keys away.
TagsNo tags attached.
Attached Files

- Relationships
related to 0000447closedBenFenner File chooser doesn't have last file opened as default. 

-  Notes
User avatar (0000751)
BenFenner (developer)
2011-11-29 00:52

Note to self: Check this now that system L&F is honored.
User avatar (0000756)
BenFenner (developer)
2011-11-29 14:33

The following works in the Windows file chooser:
Ctrl A - Select All
Ctrl X - Cut
Ctrl C - Copy
Ctrl Insert - Copy
Ctrl V - Paste
Shift Insert - Paste

The following does not work in the Windows File chooser but probably should:
Ctrl Z - Undo
Ctrl Y - Redo

The following does not work in the Windows file chooser and probably shouldn't:
Ctrl S - Save
Ctrl F - Find
Ctrl P - Print
Ctrl B - Bold
Ctrl I - Italicize
Ctrl U - Underline

Keep in mind this is for the "File Name" text entry box only. The explorer portion of the window may behave differently and after some testing exhibits serious lack of typical functionality. Right clicking a file doesn't give the normal, useful menu and selecting multiple files seems impossible.
User avatar (0000757)
Fred (administrator)
2011-11-29 14:43

ROFL @ testing "shouldn't" work commands! LOL

Ctrl Z/Y - nice to have, no big deal.

Selecting multiple files is invalid in the context of the application, and its current usage/design/implementation. So that behaviour is correct.

What on earth would you want to right click a file for in an open dialog? Don't answer that! Even if it annoys you to not :-p It's a single purpose dialog box, you choose the file that you want to open, then open it.

Good testing on the first section. I'll test it on the mac and on linux later and post my findings here.
User avatar (0000772)
Fred (administrator)
2011-11-30 21:12

Mac has no text area to select from... so this is an invalid issue, I guess. Can't test linux right now.
User avatar (0001115)
BenFenner (developer)
2012-01-12 21:49

Let me know when you can test Linux.
User avatar (0001116)
Fred (administrator)
2012-01-12 21:52

OK, will do.
User avatar (0001685)
BenFenner (developer)
2012-07-21 04:06
edited on: 2012-07-21 13:28

If you get in a Linux testing mood, we could knock this out soon.

User avatar (0001737)
Fred (administrator)
2012-07-26 16:01

C,V,X work on Linux, Z does not. Linux style select and centre click paste works too in both directions. No right click, no big deal.

I'd still like to know if we can manually select the last used file in the mac version.
User avatar (0001751)
BenFenner (developer)
2012-07-28 01:55

Are you talking about the desired "reload last file" quick option?
Or are you saying you want the Mac file chooser to automatically load the file location and file name for the last opened file (it does this on Windows) so you can open the last file quicker?

I'm not sure I'll be able to control the Mac file chooser behavior. I don't know if I can control any of them... Without going full custom? =/

User avatar (0001752)
Fred (administrator)
2012-07-28 01:58

A file chooser contains a list of files/dirs. If you click on one, it becomes selected. The mac chooser has no text field for the file name. Thus you can't set that because it doesn't exist. Thus it'd be nice to select the item instead. Idea being so it's just a press of enter away. Likely I'll have to deal with that here. Don't worry about it.
User avatar (0001754)
BenFenner (developer)
2012-07-28 02:06

If you'd like, I can certainly see what I can do. Or do the leg work and then point you in the right direction to save some time?
User avatar (0001755)
Fred (administrator)
2012-07-28 02:08

Not much point? It's just a matter of looking through the API and trying out code on this box. You could look through the API, but seems pointless if I'm going to be doing the hacking :-) Pretty sure it can't be done anyway.
User avatar (0001756)
BenFenner (developer)
2012-07-28 02:17

All righty.

If you can't tell, I'm trying to bang out 0.0.3 soon so we can get to the fun part. =]
User avatar (0001757)
Fred (administrator)
2012-07-28 02:20

I could tell, yes, but you can't rush my changes. What you CAN do, once all BUT my changes are in, is start working on a branch, and then once I put my shit in, AND do the release, you can rebase onto that ;-)
User avatar (0001766)
Fred (administrator)
2012-07-30 18:18

Red herring from the start, but good work/testing done. Closing.

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker