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

Download or installation problems? Try these steps
Problems after upgrading to NeoOffice 2017? Try these steps


Support
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


RSS Feeds
· Announcements Only
· All Posts


  
NeoOffice :: View topic - Post NeoOffice 3.0.1 development planning
Post NeoOffice 3.0.1 development planning
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoOffice Development
View previous topic :: View next topic  
Author Message
ovvldc
Captain Naiobi


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

PostPosted: Fri Dec 11, 2009 4:45 am    Post subject: Reply with quote

Very nice. I might add that there is also a system preference for turning pinching on and off in Mac OS X as of Snow Leopard..

Best wishes,
Oscar

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
View user's profile Send private message
Samwise
Captain Naiobi


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

PostPosted: Fri Dec 11, 2009 9:05 am    Post subject: Reply with quote

Awesome!

For a while I had been thinking it would be nice to create a small preference pane that would allow users to set these options, but I never got around to write it. Your way is even more elegant, since you don't need to restart NeoOffice.

One thing though: do we still need two "New" submenus (one in NeoOffice, one in File)? It may be related to keyboard shortcuts, though I can't really remember.

Edit: As I had just posted this, I realized Oscar now has 2009 posts Smile
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11856
Location: California, USA

PostPosted: Fri Dec 11, 2009 9:38 am    Post subject: Reply with quote

Samwise wrote:
One thing though: do we still need two "New" submenus (one in NeoOffice, one in File)? It may be related to keyboard shortcuts, though I can't really remember.


In most cases, the items in the NeoOffice :: New submenu are redundant with those in the File :: New menu. However, there are some rare cases where OpenOffice.org will close the 1 x 1 pixel window and the File menu disappears. In those cases, using the NeoOffice :: New menu is the only way you have to open a new document to get things back to normal. So, I have left the menu there just to be safe.

Patrick
Back to top
View user's profile Send private message Visit poster's website
ovvldc
Captain Naiobi


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

PostPosted: Fri Dec 11, 2009 10:18 am    Post subject: Reply with quote

I, too, am way ahead of my time Wink.

-Oscar

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
View user's profile Send private message
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Fri Dec 11, 2009 12:13 pm    Post subject: Reply with quote

Samwise wrote:
One thing though: do we still need two "New" submenus (one in NeoOffice, one in File)? It may be related to keyboard shortcuts, though I can't really remember.

Yeah, in the NeoOffice menu we can assign items arbitrary keyboard shortcuts (including ones with Option) using the System Preferences, and in current versions of Java, System Preferences is unable to change shortcuts in menus coming in via OpenOffice.org code.

Specifically, in my case, I have Cmd-Opt-1 set to Text Document, Cmd-Opt-2 set to Spreadsheet, Cmd-Opt-3 set to Presentation, etc.

Actually, that brings up a potential problem Sad Since the default document type (Open at Launch) submenu is using the same strings as the New document items, that's going to break the ability to assign keyboard shortcuts to one or another set (both sets will pick up the shortcuts; one will win). For my sake I hope New wins, since it's first in the menu, but is is possible to switch one set to the module names (Writer, Calc, Impress, etc.) instead?

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11856
Location: California, USA

PostPosted: Fri Dec 11, 2009 12:28 pm    Post subject: Reply with quote

sardisson wrote:
Actually, that brings up a potential problem Sad Since the default document type (Open at Launch) submenu is using the same strings as the New document items, that's going to break the ability to assign keyboard shortcuts to one or another set (both sets will pick up the shortcuts; one will win). For my sake I hope New wins, since it's first in the menu, but is is possible to switch one set to the module names (Writer, Calc, Impress, etc.) instead?


Good catch. I just tested setting Command-Option-1 to "Text Document" and Mac OS X assigned the shortcut to the "Open at Launch" menu item, not the "New" menu item. This is not good so I will try changing the "Open at Launch" menu items to the module names to avoid duplicate menu item names.

Patrick
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11856
Location: California, USA

PostPosted: Fri Dec 11, 2009 12:54 pm    Post subject: Reply with quote

OK. I found the OpenOffice.org call that will return the module name for each module and I have changed the code to put the module names in the "Open at Launch" menu. The attached image shows what the updated menu will look like.

Patrick
Back to top
View user's profile Send private message Visit poster's website
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Fri Dec 11, 2009 2:08 pm    Post subject: Reply with quote

Thanks, Patrick. Yet another piece of quick, fine work! Very Happy

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
ovvldc
Captain Naiobi


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

PostPosted: Wed Dec 16, 2009 1:35 am    Post subject: Reply with quote

Quote:
Open at Launch
Mac OS X Options
Ignore Trackpad Gestures
Disable Mac OS X Services Menu
Disable Mac OS X Text Highlighting
Disable Quick Look Support in Documents


Code:
Toon bij starten
Mac OS X mogelijkheden
Negeer trackpad gebaren
Schakel Mac OS X voorzieningen uit
Schakel Mac OS X tekst markeren uit
Schakel ondersteuning voor Quick Look in documenten uit


Most of the Dutch translations are literal, except for the first one that translates back literally as 'Show at startup'.

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11856
Location: California, USA

PostPosted: Wed Dec 16, 2009 11:37 am    Post subject: Reply with quote

Thank you for the Dutch translations. I have integrated them into code and I will include them in the next NeoOffice 3.0.2 Early Access test build.

Does anyone have any translations for other languages? If so and you can post them before 21 December 2009, I can include them in the NeoOffice 3.0.2 Early Access release.

Patrick
Back to top
View user's profile Send private message Visit poster's website
Samwise
Captain Naiobi


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

PostPosted: Wed Dec 16, 2009 1:40 pm    Post subject: Reply with quote

pluby wrote:
Code:
Open at Launch
Mac OS X Options
Ignore Trackpad Gestures
Disable Mac OS X Services Menu
Disable Mac OS X Text Highlighting
Disable Quick Look Support in Documents


In French:

Code:
Document par défaut
Options liées à Mac OS X
Ignorer les gestes du trackpad
Désactiver le menu Services de Mac OS X
Désactiver le surlignage de texte Mac OS X
Désactiver la prise en charge de QuickLook pour les documents
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11856
Location: California, USA

PostPosted: Wed Dec 16, 2009 4:05 pm    Post subject: Reply with quote

FYI. I have integrated Samwise's French translations into the code.

Patrick
Back to top
View user's profile Send private message Visit poster's website
Samwise
Captain Naiobi


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

PostPosted: Fri Dec 18, 2009 10:31 am    Post subject: Reply with quote

Quick question: how did you translate - none -?
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11856
Location: California, USA

PostPosted: Fri Dec 18, 2009 11:16 am    Post subject: Reply with quote

Samwise wrote:
Quick question: how did you translate - none -?


I did not translate that, OpenOffice.org handles that translation and they transalated it as - Aucun(e) -.

Patrick
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11856
Location: California, USA

PostPosted: Sat Dec 19, 2009 4:07 pm    Post subject: Reply with quote

FYI. I have included Oscar's and Samwise's Dutch and French translations in today's NeoOffice 3.0.2 Early Access test build. Can you install today's test build and tell us if you see your menu translations?

Patrick
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoOffice Development All times are GMT - 7 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 6 of 7

 
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.
Page Generation: 0.03 Seconds