Wings 3D Development Forum

Full Version: [fixed] On OSX,Wings3d 2.0.2 didn't work for add/delete hotkey.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On OSX,Wings3d v2.0.2 didn't work for add/delete hotkey.
Nothing responses didn't occur.(for Console Log etc...)
Although delete the Preferences.txt, but it was the same.

In particular these are key combo ...
Ctrl-Alt-8
Ctrl-Alt-9
Ctrl-Delete

Probably Ctrl-Insert is also.
(Because My keyboard hasn't an Insert key.)


In other case of v2.0.1,it is work fine, to enter the hotkey definition mode by pressing the "8" while holding down "ctrl"+ "alt" combo.
(Test on OSX 10.9.5, OSX 10.11.2, Wings3D 2.0.1 and 2.0.2.)
-------------
tkbd
Try cmd alt, Björn changed this on Mac, maybe he forgot the help text
dgud,Thank you for advice.
And,by testing about hotkeys,these new facts are found.


  1. Wings3D2.0.2(OSX) key combo for enter Bind/Unbind mode had ⌘+8, it wasn't Alt+⌘+8
  2. To bind a hotkey on Menu bar Item,then Wings3D makes crash log.
  3. To bind a hotkey on RMB menu,Binding is successful. But this time,it can't Delete the Hotkey. ( Check hotkeys(s) for delete and click OK,but the hotkey(s) still binded )

1.
⌘ = cmd Key
(Tested on OSX 10.11.2,Wings3D 2.0.2, Apple Pro Keyboard(USB2))

⌘+8 = enter Bind mode
⌘+9 = enter Unbind mode
⌘+Del = enter Unbind mode

2.
It Bind SHIFT+Alt+A key to "View > Aim to selection",then Wings makes a crash log.

Code:
Dump written 2015-12-29_20-14
Version: 2.0.2
Window: geom
Reason: function_clause

Short stack trace:
[]

Long stack trace:
[{wings_hotkey,mac_modname_wx,
               [{109,[alt,shift]}],
               [{file,"wings_hotkey.erl"},{line,409}]},
{wings_hotkey,format_hotkey,2,[{file,"wings_hotkey.erl"},{line,41}]},
{wings_hotkey,do_bind,2,[{file,"wings_hotkey.erl"},{line,158}]},
{wings_hotkey,event_handler,2,[{file,"wings_hotkey.erl"},{line,135}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,931}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,903}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,768}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,660}]}]

It Bind N key to "View > Align to selection",then Wings makes a crash log.

Code:
Dump written 2015-12-29_20-20
Version: 2.0.2
Window: geom
Reason: function_clause

Short stack trace:
[]

Long stack trace:
[{wings_hotkey,mac_modname_wx,"n",[{file,"wings_hotkey.erl"},{line,409}]},
{wings_hotkey,format_hotkey,2,[{file,"wings_hotkey.erl"},{line,41}]},
{wings_hotkey,do_bind,2,[{file,"wings_hotkey.erl"},{line,158}]},
{wings_hotkey,event_handler,2,[{file,"wings_hotkey.erl"},{line,135}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,931}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,903}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,768}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,660}]}]
----
tkbd
tkbd, can you check if by using the 8 from the top of the keyboard it works.

Here, on Windows7, it is working for this combination. No for the 8 in the numeric pad.
micheus,Does you talks about that 8 ( No for in the numeric pad ) + cmd key combination?
I checked the combination works well.

Incidentally, 8 (for in numeric pad) + cmd isn't enter hotkey bind mode
(It is probably correct behavior).

In addition, a crash log occurs when registering a key ("Press key bind to the "*******" command to").

To enter hotkey bind mode in OSX ( it is so changed.)
Wings v1.5.x "/" key overlap menu items.
Wings v2.0.1 alt + ctrl + 8 (in top of keyboad)
Wings v2.0.2 cmd + 8 (in top of keyboad)
I don't know whether it is the specification change or a bug.

As dgud says. we waits for the update the help texts.
-------
tkbd
Yes, that "8". Thanks.
(12-29-2015, 12:14 PM)tkbd Wrote: [ -> ]Wings3D2.0.2(OSX) key combo for enter Bind/Unbind mode had ⌘+8, it wasn't Alt+⌘+8
:
:
⌘+8 = enter Bind mode
⌘+9 = enter Unbind mode
⌘+Del = enter Unbind mode
The same for Windows, but using the CTRL key.

dgud, maybe is that a new behaviour? Because if so, we can change the help text, otherwise we need to include the ALT key in the process.
I'm fixing the hotkey problem for Tweak as reported by Fonte Boa and I think it can act over the problem reported here too. I'll post a link for test as soon I've finished it.
Hopefully fixed now, both the help text, and handling.
dgud,Thank you for many fixes to (this and other) bugs!!
I'm glad,and looking forward to the next version release of Wings. Smile
---------
tkbd