Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - The manifold Save dialogue
The manifold Save dialogue
 
   NeoOffice Forum Index -> Random Whatnot
View previous topic :: View next topic  
Author Message
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Wed May 07, 2008 12:17 am    Post subject: The manifold Save dialogue

A question came up on a mac forum I frequent: how come the Save dialogue does different things in different apps? Specifically, the dialogue you get if you close a doc without saving it, that says: Save/Don't Save/Cancel.

In TextEdit (for example), you get a blue Save button, and nothing you do with the keyboard will shift the focus off that Save button. You can either hit Return to Save, or cmd-D to Don't Save, or Esc to Cancel.

In NeoOffice (for example) you get no solid blue button, just a blue highlight ring around the Save button, and you can move it along using the tab or arrow keys. And all the above keyboard shortcuts work too.

I speculated that this is something to do with carbon/cocoa/java/whatever differences. This also seems to have changed between Tiger and Leopard? Does anyone know what's making these differences occur?

- padmavyuha
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Wed May 07, 2008 4:06 am    Post subject: Re: The manifold Save dialogue

yoxi wrote:
I speculated that this is something to do with carbon/cocoa/java/whatever differences. This also seems to have changed between Tiger and Leopard? Does anyone know what's making these differences occur?

Well, in the NeoOffice case, that's an OOo VCL dialogue, so you get the OOo VCL behavior (which we all know is based on what Windows would do).

TextEdit, on the other hand, is obeying the system "Full Keyboard Access" pref; if you had that enabled, you could use tab to move focus among the buttons.

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Wed May 07, 2008 8:20 am    Post subject:

Another thing for Patrick to look at some day, though now that OpenOffice 3.0 beta is out, his focus will inevitably (and preferably) shift from bells and whistles to stability and compatibility work for a while.

Best wishes,
Oscar

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed May 07, 2008 9:47 am    Post subject: Re: The manifold Save dialogue

sardisson wrote:
yoxi wrote:
I speculated that this is something to do with carbon/cocoa/java/whatever differences. This also seems to have changed between Tiger and Leopard? Does anyone know what's making these differences occur?

Well, in the NeoOffice case, that's an OOo VCL dialogue, so you get the OOo VCL behavior (which we all know is based on what Windows would do).

TextEdit, on the other hand, is obeying the system "Full Keyboard Access" pref; if you had that enabled, you could use tab to move focus among the buttons.

Smokey


Ed put in code that detects in the "Full Keyboard Access" system preference is set. Although the UI won't perfectly match built-from-the-ground-up Mac OS X applications, I believe the Full Keyboard Access functionality will be there.

Patrick
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Wed May 07, 2008 11:30 am    Post subject:

If it's enabled you should be able to tab to buttons and you should also be able to see the accelerator underlines for the option/alt accelerators. I forget if I changed the tabbing, though. I think you should still be able to tab into buttons even if full keyboard access is off.

ed
Back to top
Samwise
Captain Naiobi


Joined: Apr 25, 2006
Posts: 2315
Location: Montpellier, France

PostPosted: Wed May 07, 2008 11:35 am    Post subject:

OPENSTEP wrote:
If it's enabled you should be able to tab to buttons and you should also be able to see the accelerator underlines for the option/alt accelerators.


So thats' something we have control over? I always thought this was something we couldn't work around. Is there a particular reason why we keep it (IIRC, it's against Apple's HIG)?
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Wed May 07, 2008 11:39 am    Post subject:

Yes the underline drawing is under our control. It's in there with full keyboard access since the alt-key combinations do work, and without those underlines it's impossible to try and guess which letter key goes to which button or control. While it may violate HIG to draw them, it really is the only way I can think of to convey that information within a dialog Smile

ed
Back to top
Samwise
Captain Naiobi


Joined: Apr 25, 2006
Posts: 2315
Location: Montpellier, France

PostPosted: Wed May 07, 2008 11:42 am    Post subject:

OPENSTEP wrote:
Yes the underline drawing is under our control. It's in there with full keyboard access since the alt-key combinations do work, and without those underlines it's impossible to try and guess which letter key goes to which button or control. While it may violate HIG to draw them, it really is the only way I can think of to convey that information within a dialog Smile

ed


OK. I have disabled full keyboard access (to get rid of them, actually), so I don't see them anyway. But since you type so fast, full keyboard access is probably much faster for you than using the mouse Very Happy
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Wed May 07, 2008 4:01 pm    Post subject:

I leave full keyboard access off myself; I never got into using it since it never existed on Macs for a long time Smile

ed
Back to top
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Thu May 08, 2008 5:28 am    Post subject:

Thanks for the info, chaps.
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> Random Whatnot All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.