Font problem / key input bug?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Font problem / key input bug?

musicadi
Hi,

I'm having a weird font problem. Under "Karaoke" menu and in the left-click menu of Karaoke window, everything is greyed out, except "Show fonts".

If I start Qmidi while pressing "Option", the "Chords" and "Scroll bar" option become available, but are greyed out as soon as I start playing a song.

So I opened the Fonts windows (Cmd+T), to edit the fonts, but no setting has any effect. I even got this weird error in Console when manually trying to enter Font size:


2016. 03. 01. 15:09:52,792 QMidi[2746]: Exception detected while handling key input.
2016. 03. 01. 15:09:52,792 QMidi[2746]: *** -[NSBigMutableString _getBlockStart:end:contentsEnd:forRange:stopAtLineSeparators:]: Range {0, 3} out of bounds; string length 2
2016. 03. 01. 15:09:52,797 QMidi[2746]: (
        0   CoreFoundation                      0x91545f79 __raiseError + 201
        1   libobjc.A.dylib                     0x91ad3fd1 objc_exception_throw + 276
        2   CoreFoundation                      0x91545e8d +[NSException raise:format:] + 141
        3   Foundation                          0x946fa2f0 -[NSString _getBlockStart:end:contentsEnd:forRange:stopAtLineSeparators:] + 189
        4   Foundation                          0x946fa229 -[NSString getParagraphStart:end:contentsEnd:forRange:] + 79
        5   UIFoundation                        0x9b626862 _NSFastFillAllLayoutHolesForGlyphRange + 1144
        6   UIFoundation                        0x9b53519f -[NSLayoutManager textContainerForGlyphAtIndex:effectiveRange:] + 192
        7   AppKit                              0x96bfe7fe -[NSTextView(NSPrivate) _ensureLayoutCompleteToEndOfCharacterRange:] + 267
        8   AppKit                              0x96bfe263 -[NSTextView(NSSharing) didChangeText] + 197
        9   AppKit                              0x96bfb623 -[NSTextView insertText:replacementRange:] + 2664
        10  AppKit                              0x96bfa737 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 75
        11  AppKit                              0x972f37e1 -[NSTextInputContext insertText:replacementRange:] + 75
        12  AppKit                              0x972e93c1 -[NSTextInputContext _handleText:] + 186
        13  AppKit                              0x96cba108 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) flushTextForClient:] + 191
        14  AppKit                              0x972f2ebb __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke1022 + 510
        15  AppKit                              0x96c12b07 __99-[NSTextInputContext tryHandleEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:]_block_invoke + 34
        16  AppKit                              0x96c12ae0 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke_4 + 26
        17  AppKit                              0x96bfa307 -[NSTextInputContext(NSInputContext_WithCompletion) hasMarkedTextWithCompletionHandler:] + 72
        18  AppKit                              0x96c12abf __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke_3 + 104
        19  AppKit                              0x96c0b831 -[NSTextInputContext tryHandleEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 107
        20  AppKit                              0x972f2bf6 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke1010 + 322
        21  AppKit                              0x972f2609 __125-[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:]_block_invoke + 33
        22  AppKit                              0x972f2a15 __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke_21000 + 46
        23  HIToolbox                           0x98e4ca5c __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_5 + 86
        24  HIToolbox                           0x98e4ca00 __TryKeyDownEventToTSMKeyEvent_WithContinuationHandler_block_invoke + 32
        25  HIToolbox                           0x98e4c9da __TSMKeyEvent_WithCompletionHandler_block_invoke + 26
        26  HIToolbox                           0x98e4c973 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_3 + 50
        27  HIToolbox                           0x98e4b45b __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke_2 + 57
        28  HIToolbox                           0x98e4812f __SendTSMEvent_WithCompletionHandler_block_invoke + 73
        29  HIToolbox                           0x98e47e02 SendTSMEvent_WithCompletionHandler + 539
        30  HIToolbox                           0x98e4847d __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 569
        31  HIToolbox                           0x98e4823c __SendFilterTextEvent_WithCompletionHandler_block_invoke + 261
        32  HIToolbox                           0x98e4812f __SendTSMEvent_WithCompletionHandler_block_invoke + 73
        33  HIToolbox                           0x98e47e02 SendTSMEvent_WithCompletionHandler + 539
        34  HIToolbox                           0x98e47bae SendFilterTextEvent_WithCompletionHandler + 283
        35  HIToolbox                           0x98e477da SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 398
        36  HIToolbox                           0x98e474f4 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 317
        37  HIToolbox                           0x98e47379 __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 464
        38  HIToolbox                           0x98e47154 TSMKeyEvent_WithCompletionHandler + 654
        39  HIToolbox                           0x98e46e7a __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 288
        40  HIToolbox                           0x98e46cae __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 348
        41  HIToolbox                           0x98e469b0 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 260
        42  HIToolbox                           0x98e46756 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 257
        43  HIToolbox                           0x98e45d01 TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3911
        44  AppKit                              0x972f29df __61-[NSTextInputContext _handleEvent:options:completionHandler:]_block_invoke999 + 147
        45  AppKit                              0x96bf7ac0 -[NSTextInputContext tryTSMProcessRawKeyEvent:dispatchCondition:setupForDispatch:furtherCondition:dispatchWork:continuation:] + 129
        46  AppKit                              0x96bf7797 -[NSTextInputContext _handleEvent:options:completionHandler:] + 1715
        47  AppKit                              0x96bf70c3 -[NSTextInputContext handleEvent:] + 128
        48  AppKit                              0x96bf6fc2 -[NSView interpretKeyEvents:] + 205
        49  AppKit                              0x96bf6e16 -[NSTextView keyDown:] + 684
        50  AppKit                              0x971d0446 -[NSWindow _handleKeyDownEvent:] + 569
        51  AppKit                              0x971d10ea -[NSWindow _reallySendEvent:isDelayedEvent:] + 2303
        52  AppKit                              0x96a74927 -[NSWindow sendEvent:] + 567
        53  AppKit                              0x96a70942 -[NSApplication sendEvent:] + 2919
        54  QMidi                               0x00006e86 QMidi + 24198
        55  AppKit                              0x9699b18f -[NSApplication run] + 1159
        56  AppKit                              0x96916025 NSApplicationMain + 1630
        57  QMidi                               0x000032b5 QMidi + 8885
)

2016. 03. 01. 15:09:59,275 QMidi[2746]: !!! _NSGlyphTreeGlyphAtIndex missing glyphs


Reply | Threaded
Open this post in threaded view
|

Re: Font problem / key input bug?

mixage
Administrator
This post was updated on .
Hi,

Starting QMidi with the option key has no relations with the karaoke menu. It's a shortcut to refresh playlist/library aliases.

To enable the karaoke text format menus, you have to:
Launch a song with TEXT karaoke (no CDG/Video/PDF media).
The karaoke/mirror window must be frontmost.

NB: changing the font size on an "auto sized" text has no effect. See:


Mixage Software
www.mixagesoftware.com
support@mixagesoftware.com
Reply | Threaded
Open this post in threaded view
|

Re: Font problem / key input bug?

musicadi
Cool, thank you! Weird behavior, but I guess it has its purpose.

Ok... I just realized that the "Show fonts" functions for both Karaoke and Library windows and changes according to the active window. The library window was active and that's why everything was greyed out :)

I also didn't notice the "Auto-size" - cool feature. The only thing about it is that when I activate it and then change the number of lines, the font size for chords is not changing along with the lyrics'. It gets stuck at whatever font size was active before clicking "Auto-size".

Kind regards,
Adrian
Reply | Threaded
Open this post in threaded view
|

Re: Font problem / key input bug?

musicadi
In reply to this post by mixage
P.S.... btw, "auto-size" was off when I got the error.

I think the problem was that the library window was active instead of the karaoke window :)
Reply | Threaded
Open this post in threaded view
|

Re: Font problem / key input bug?

mixage
Administrator
This post was updated on .
When auto-size is enabled, you can resize the chords section by dragging the (invisible) line between lyrics and chords. You can make this line visible in the preferences.

Mixage Software
www.mixagesoftware.com
support@mixagesoftware.com