Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-11-2014, 12:08   #31
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,766
Re: Suggestions for UI improvements

Keep clean and be careful about the half-breeds!
__________________

__________________
bcn is offline   Reply With Quote
Old 03-11-2014, 12:31   #32
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,777
Re: Suggestions for UI improvements

Quote:
Originally Posted by bcn View Post
Keep clean and be careful about the half-breeds!
But you know the half-breeds in the Caribbean and in India e.g., very nice and beautifull...
Gerhard
__________________

__________________
CarCode is offline   Reply With Quote
Old 03-11-2014, 13:11   #33
Registered User
 
Mollymawk's Avatar

Join Date: Nov 2009
Location: on the high seas
Boat: "Mollymawk" 50ft Steel Ketch
Posts: 149
Re: Suggestions for UI improvements

Quote:
Originally Posted by CarCode View Post
The function keys works only on Mac together with the fn key, e.g. fn-F4 etc.
You should change the short key description in your menus like that.

Gerhard
Quote:
Originally Posted by bcn View Post
With genuine Apple keyboards, or?
At least here with a Win style keyboard and a MAC mini the F-keys are working as expected.

Hubert
I believe this is only the case on laptops, and it depends on a setting: System Preferences > Keyboard > Use all F1, F2, etc. keys as standard function keys
When that box is unchecked (default) the function keys perform functions like screen brightness, volume, etc. Then Fn must be used to send the F-key codes. When it is checked, it is the other way around.
However, there is an additional complication: some of the function keys such as F11 already have standard system-wide functions, such as Show Desktop and Show Spaces. (See System Preferences > Mission Control.) For these keys, instead of pressing Fn+F11 (for example), you have to Press Ctrl+Fn+F11.

Due to all this complication, and as I have stated above, I would like to change these shortcuts anyway. Function keys are not used in OS X apps.

Also, even if we have to keep these keys, I don't believe it is either correct or possible to relabel them. The problem is twofold:
First, the label is set internally by wxWidgets based on the menu item shortcut set when calling wxMenu::Append. So far as I am aware, the only way to customise this would be (as you have done, Gerhard, I believe) to avoid setting a shortcut on the menu item directly, and include the key description in the menu label.
However, this is far from ideal, because (apart from the incorrect alignment, as seen in your screenshots, Gerhard) the set of keys you have to press changes depending on the system config as described above. We can't detect this. So, the only solution is to use the plain "F4" etc labels and let the user work it out for themselves.

Again, the only good solution here is to change the shortcuts.

~ Caesar
__________________
www.yachtmollymawk.com
Mollymawk is offline   Reply With Quote
Old 03-11-2014, 13:32   #34
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: Suggestions for UI improvements

iPeople...
BTW, is there a shortcut to replace say F11 for fullscreen (de-facto standard on Win and Linux)
The first thing I found on the Internet was not very convincing: What is the keyboard shortcut to toggle fullscreen in OSX Mountain Lion? - Super User
But is Ctrl+Cmd+F the "standard" now?
Which other shortcuts are problematic and what should be their replacements?
Also try to consider that making the shortcuts different will make the users having to use more than one platform thank us all, obviously....

Pavel
__________________
nohal is online now   Reply With Quote
Old 03-11-2014, 13:52   #35
Registered User
 
Mollymawk's Avatar

Join Date: Nov 2009
Location: on the high seas
Boat: "Mollymawk" 50ft Steel Ketch
Posts: 149
Re: Suggestions for UI improvements

Quote:
Originally Posted by nohal View Post
iPeople...
BTW, is there a shortcut to replace say F11 for fullscreen (de-facto standard on Win and Linux)
The first thing I found on the Internet was not very convincing: What is the keyboard shortcut to toggle fullscreen in OSX Mountain Lion? - Super User
But is Ctrl+Cmd+F the "standard" now?
Which other shortcuts are problematic and what should be their replacements?
Pavel,

Yes, Ctrl+Cmd+F is the standard shortcut to enter full screen mode on OS X. Every App I can find uses it. (Cmd+Shift+F sometimes performs "alternative" full screen actions, such as Slideshow in Preview.)

Others that I can think of right now that are problematic are F4 (Measure), F5 (Change Colour Scheme) and F9 (Toggle Quilting).

In fact any F-key is a problem, but most of the others either have alternatives already (eg switching up or down the chart stack with Cmd+Left and Cmd+Right), or else they do not work on OS X anyway (eg the F6 function for darkening the screen.)

One other issue is the MOB shortcut. Most of the Windows shortcuts that use Ctrl become Cmd on Mac, but Cmd+Sace is globally reserved for Spotlight. So, I have force it to remain as Ctrl+Space, even on Mac.


Quote:
Also try to consider that making the shortcuts different will make the users having to use more than one platform thank us all, obviously....
I know... I am one of those people!
Ideally, I would say that it would be best to change these shortcuts on all platforms. (Except the ones which have a per-platform "standard", such as fullscreen which must remain as F11 on Windows and Linux.)
Failing that, we must at least keep per-platform differences to a minimum.

The next question is, what are logical alternatives? I would have suggested Cmd+M for Measure, but it is already used for Drop Mark at Cursor (why M for cursor and O for boat???). Cmd+Q for quilting is obviously impossible, too.
On the other hand, many shortcuts in OCPN currently don't use modifier keys at all. (There is a certain amount of inconsistency, I feel, in which ones do and don't.) So maybe just M for measure, Q for quilt, and C for colours.

Oh, another thing is the undo/redo shortcuts. Cmd+Z is right, but on Mac the shortcut for redo should be Cmd+Shift+Z, not Cmd+Y.

I'm sure there's more...

~ Caesar
__________________
www.yachtmollymawk.com
Mollymawk is offline   Reply With Quote
Old 03-11-2014, 14:20   #36
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: Suggestions for UI improvements

Ceasar....

I know that shortcuts are a difficult problem cross-platform. We've been around this mulberry bush many times before.

Please keep in mind that the target OCPN Release is an upgrade for ~70% of the user base, ie. Windows. Not quite fair to ask them to learn all new shortcuts for the sake of helping Mac users, however nice they may be

So lets make minimal changes to existing app-wide shortcuts, please.

Also, we won't be adding Sparkle to the Mac menu system in the default distribution anytime soon.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 03-11-2014, 16:20   #37
Registered User
 
Mollymawk's Avatar

Join Date: Nov 2009
Location: on the high seas
Boat: "Mollymawk" 50ft Steel Ketch
Posts: 149
Re: Suggestions for UI improvements

Dave,

I absolutely agree with what you say about minimizing changes to shortcuts.
To be clear, I do not suggest abolishing the existing shortcuts, but rather that any new shortcuts could work "in parallel with"/as alternatives to the existing troublesome shortcuts.
This is already the case with several shortcuts - for example, chart scale in can be performed by F7 or Ctrl-Left (Cmd-Left on Mac), ditto for scale out. There are others like this, I can't remember them offhand.
So perhaps, for example, measure could be activated by M and by F4, etc.

This would seem to provide the best of both worlds; usable shortcuts that work on all platforms, without breaking backwards compatibility with existing users.


Re Sparkle, I fully understand and agree. I do think some kind of auto update would be nice, but it's not a priority.

Cheers,
Caesar
__________________
www.yachtmollymawk.com
Mollymawk is offline   Reply With Quote
Old 03-11-2014, 18:46   #38
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: Suggestions for UI improvements

Caesar...

OK, please start a comprehensive list of shortcut keys, with their Mac alternatives. Note clearly any proposed changes for existing Win and Linux ports.

This will be needed for the Wiki update, and I know Gilletarom keeps a list for the French OCPN support site. Probably it needs updating, and there may be other inaccurate lists floating around....

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 03-11-2014, 20:12   #39
Registered User
 
Mollymawk's Avatar

Join Date: Nov 2009
Location: on the high seas
Boat: "Mollymawk" 50ft Steel Ketch
Posts: 149
Re: Suggestions for UI improvements

Dave,

Done.

I tried putting it on the wiki (Keyboard Shortcuts (new / proposed) | Official OpenCPN Homepage) but the table formatting doesn't work properly there, so I have put it on the GitHub wiki for my OCPN fork:
https://github.com/CaesarSchinas/Ope.../Shortcut-keys

Take a look and let me know what you think. I only have four proposed changes (so far...), which are indicated by bold text in the right-hand "comments" column.

I will probably be offline more of the time for the next few days, but anyone should feel free to edit and improve that list or to make suggestions here.

Also, everyone, I am still looking for input on menu content/order/labels/etc... Don't all shout at once... :-)

When I get a chance I will add an AIS menu. I hope to add an option for toggling alarms separately from target visibility.

Cheers,
Caesar
__________________
www.yachtmollymawk.com
Mollymawk is offline   Reply With Quote
Old 03-11-2014, 21:05   #40
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: Suggestions for UI improvements

Caesar...
At the end it does not look that painful. Good work!

Pavel
__________________
nohal is online now   Reply With Quote
Old 05-11-2014, 21:21   #41
Registered User
 
Mollymawk's Avatar

Join Date: Nov 2009
Location: on the high seas
Boat: "Mollymawk" 50ft Steel Ketch
Posts: 149
Re: Suggestions for UI improvements

All,

I have implemented the shortcut key changes we discussed.
The following shortcuts have been added:
  • M - Measure
  • Q - Toggle Quilting
  • C - Change colourscheme
  • Shift-Cmd-Z - Redo (this is the standard shortcut on OS X)
The old shortcuts all still work, for those who remember and want to continue using them. The new ones are better, since they are cross-platform, and the letters are more memorable than F-keys.

So I have changed the labels in the popup menu to also refer to these single-letter shortcuts. (Except redo, which I have only changed for OS X - though in fact both shortcuts will work on all platforms.)

---

I have also added an AIS menu to the OS X menu bar, with the following items:
  • Show AIS Targets
  • Show Target Tracks
  • Show CPA Alert Dialogs
  • Sound CPA Alarms
  • AIS Target List...
---

For the actual changes see the updated pull request.

Comments very welcome.

I would love to get this into the next beta so everyone can try it out.


Caesar
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2014-11-06 at 02.02.14.png
Views:	67
Size:	33.8 KB
ID:	90961  
Attached Images
 
__________________
www.yachtmollymawk.com
Mollymawk is offline   Reply With Quote
Old 06-11-2014, 07:27   #42
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,407
Re: Suggestions for UI improvements

Awesome Job, can we help in any way?
__________________
rgleason is offline   Reply With Quote
Old 10-11-2014, 07:09   #43
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,407
Re: Suggestions for UI improvements

Many thanks to Mollymawk [Caesar] Who has engineered OsX Menu improvements which also work in Windows and Linux and has completed the first steps towards User Definable shortcuts by giving commands unique names/identifiers. [Caesar please correct me if I have mistated or missed something.]

Here is the new optional menu in Windows. Some will like it and others will not. That is inevitable, it is an option which expands our choices and it can always be expanded and improved!

I believe this is now in the master beta.

Thank you again Mollymawk - Great effort. Yacht Mollymawk €” The cruising log of the good ship Mollymawk Caeser's website.
Attached Thumbnails
Click image for larger version

Name:	Settings-UI-ShowMenu.png
Views:	62
Size:	148.7 KB
ID:	91279   Click image for larger version

Name:	Show-Menu-Bar.jpg
Views:	65
Size:	175.0 KB
ID:	91280  

Click image for larger version

Name:	Navigate.png
Views:	56
Size:	15.0 KB
ID:	91281   Click image for larger version

Name:	View.png
Views:	57
Size:	27.2 KB
ID:	91282  

Click image for larger version

Name:	Help.png
Views:	62
Size:	15.0 KB
ID:	91283   Click image for larger version

Name:	Tools.png
Views:	54
Size:	23.1 KB
ID:	91284  

Click image for larger version

Name:	AIS.png
Views:	54
Size:	17.9 KB
ID:	91285  
__________________
rgleason is offline   Reply With Quote
Old 10-11-2014, 08:46   #44
Registered User

Join Date: Feb 2011
Posts: 490
Re: Suggestions for UI improvements

The size of the figure soundings on ENC charts, could this be independant of the settings of deep depth and or safety depth adjustment? Specially that they look light beyond those settings.
Bye
__________________

__________________
P_Dub is online now   Reply With Quote
Reply

Tags
opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
improvements Looming on Lithium Batteries fastcat435 Electrical: Batteries, Generators & Solar 0 20-06-2010 12:59
Two Possible Improvements... Christian Van H Forum Tech Support & Site Help 17 01-03-2010 08:29
CAD Applications to Boat Improvements Sam Plan B Construction, Maintenance & Refit 0 30-12-2008 20:55



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 07:36.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.