Re: [Lazarus] Cannot enter '^' in Lazarus trunk build macos/cocoa/x86_64

2018-05-03 Thread Michael Ring via Lazarus
Found one more thing, entering the character 'ß' (Key right of '0' Key 
on german keyboard) crashes Lazarus, this also works from Keyboard 
Viewer (The App that gives you a mini virtual Keyboard on Mac).


Michael

Application Specific Backtrace 1:
0   CoreFoundation  0x7fff2e5326bb 
__exceptionPreprocess + 171
1   libobjc.A.dylib 0x7fff55c4e942 
objc_exception_throw + 48
2   CoreFoundation  0x7fff2e5c29a5 +[NSException 
raise:format:] + 197

3   AppKit  0x7fff2c304431 _NSRunModal + 484
4   AppKit  0x7fff2bce367d -[NSAlert 
runModal] + 240
5   lazarus 0x0001001e5211 
COCOAINT_$$_COCOAPROMPTUSER$crcB0C4A088 + 961
6   lazarus 0x0001001e52e7 
COCOAINT$_$TCOCOAWIDGETSET_$__$$_PROMPTUSER$crc484A2DB2 + 47
7   lazarus 0x00010017696f 
LCLINTF_$$_PROMPTUSER$crc484A2DB2 + 63
8   lazarus 0x00010017710b 
LCLINTF_$$_PROMPTUSER$crcB76EAC20 + 203
9   lazarus 0x00010005fa1e 
FORMS$_$TAPPLICATION_$__$$_SHOWEXCEPTION$EXCEPTION + 806
10  AppKit  0x7fff2c2ecf29 
_NSViewDrawRect + 83
11  AppKit  0x7fff2bb8573c -[NSView 
_drawRect:clip:] + 1819
12  AppKit  0x7fff2bb84598 -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 
+ 4844
13  AppKit  0x7fff2bb83ec5 -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 
+ 3097
14  AppKit  0x7fff2bb83ec5 -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 
+ 3097
15  AppKit  0x7fff2bb83ec5 -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 
+ 3097
16  AppKit  0x7fff2bb83ec5 -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 
+ 3097
17  AppKit  0x7fff2bb83ec5 -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 
+ 3097
18  AppKit  0x7fff2bb83ec5 -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 
+ 3097
19  AppKit  0x7fff2bb83ec5 -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 
+ 3097
20  AppKit  0x7fff2bb83ec5 -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 
+ 3097
21  AppKit  0x7fff2bb83ec5 -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 
+ 3097
22  AppKit  0x7fff2bb82ddb 
-[NSThemeFrame 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 
+ 327
23  AppKit  0x7fff2c2ee4e0 -[NSView 
_oldDisplayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] 
+ 2051
24  AppKit  0x7fff2bb81e5d -[NSView 
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 253
25  AppKit  0x7fff2bb7e0b4 -[NSView 
displayIfNeeded] + 1581
26  AppKit  0x7fff2bb7da52 -[NSWindow 
displayIfNeeded] + 321
27  AppKit  0x7fff2c31e60d 
___NSWindowGetDisplayCycleObserver_block_invoke.5902 + 308
28  AppKit  0x7fff2bb7d55e 
__37+[NSDisplayCycle currentDisplayCycle]_block_invoke + 695
29  QuartzCore  0x7fff397fb3c3 
_ZN2CA11Transaction19run_commit_handlersE18CATransactionPhase + 49
30  QuartzCore  0x7fff397f9ea5 
_ZN2CA11Transaction6commitEv + 171
31  AppKit  0x7fff2c335a72 
__65+[CATransaction(NSCATransaction) 
NS_setFlushesWithDisplayRefresh]_block_invoke + 283
32  CoreFoundation  0x7fff2e4cb787 
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
33  CoreFoundation  0x7fff2e4cb6af 
__CFRunLoopDoObservers + 511
34  CoreFoundation  0x7fff2e4ae178 
__CFRunLoopRun + 1240
35  CoreFoundation  0x7fff2e4ada07 
CFRunLoopRunSpecific + 487
36  HIToolbox   0x7fff2d78bd96 
RunCurrentEventLoopInMode + 286
37  HIToolbox   0x7fff2d78bb06 
ReceiveNextEventCommon + 613
38  HIToolbox   

Re: [Lazarus] Cannot enter '^' in Lazarus trunk build macos/cocoa/x86_64

2018-05-02 Thread Michael Ring via Lazarus
I guess you will have to install the german layout as this deadkey stuff 
is layout specific.


Fun fact is that you also cannot enter ^ with the Keyboard overview of 
MacOS, when I switch to US keyboard all is fine for me.


fyi, the '^' key is left of the '1' key on a german keyboard on Macbook Pro


Michael

Am 02.05.18 um 15:24 schrieb Dmitry Boyarintsev via Lazarus:
On Wed, May 2, 2018 at 9:09 AM, Michael Ring via Lazarus 
> 
wrote:


As it is a dead key you first press '^' on the keyboard and then
space. other example:  á is created by first pressing '´' and then 'a'

Do you know, if it's required to have German layout to be installed in 
the system.
IIRC (away from mac right now), "^" is entered by pressing Shift+6 on 
Mac (ansi keyboard with US keys layout) ...and it works.


What I'm thinking is that you're trying to enter the character in SynEdit.
and it might be that Cocoa doesn't report a certain key combinations 
properly.


I presume you didn't have this issue in Carbon, thus it's neither 
SynEdit bug nor macOS specific behavior, but rather LCLCocoa issue.


That's why I need to know keys combination in order to track the 
problem on my end.


thanks,
Dmitry




-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Cannot enter '^' in Lazarus trunk build macos/cocoa/x86_64

2018-05-02 Thread Dmitry Boyarintsev via Lazarus
On Wed, May 2, 2018 at 9:09 AM, Michael Ring via Lazarus <
lazarus@lists.lazarus-ide.org> wrote:

> As it is a dead key you first press '^' on the keyboard and then space.
> other example:  á is created by first pressing '´' and then 'a'
>
Do you know, if it's required to have German layout to be installed in the
system.
IIRC (away from mac right now), "^" is entered by pressing Shift+6 on Mac
(ansi keyboard with US keys layout) ...and it works.

What I'm thinking is that you're trying to enter the character in SynEdit.
and it might be that Cocoa doesn't report a certain key combinations
properly.

I presume you didn't have this issue in Carbon, thus it's neither SynEdit
bug nor macOS specific behavior, but rather LCLCocoa issue.

That's why I need to know keys combination in order to track the problem on
my end.

thanks,
Dmitry
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Cannot enter '^' in Lazarus trunk build macos/cocoa/x86_64

2018-05-02 Thread Michael Ring via Lazarus
As it is a dead key you first press '^' on the keyboard and then space. 
other example:  á is created by first pressing '´' and then 'a'


Michael

Am 02.05.18 um 12:12 schrieb Dmitry Boyarintsev via Lazarus:

What’s the keys combination to enter ‘^’?

Thanks,
Dmitry

On Wednesday, May 2, 2018, Michael Ring via Lazarus 
> 
wrote:


I yesterday tried again after a long time to build Lazarus with
Cocoa on my Mac, Lazarus is now perfectly useable for my needs and
as a bonus it seems a little faster than the Carbon version.

Great work!


The only issue I ran in is that I cannot enter '^'  from my german
keyboard and, as a fact, also other charaters composed with
deadkeys (accented keys) like á also do not work.


Any ideas on how to fix that?


Michael



-- 
___

Lazarus mailing list
Lazarus@lists.lazarus-ide.org 
https://lists.lazarus-ide.org/listinfo/lazarus






-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Cannot enter '^' in Lazarus trunk build macos/cocoa/x86_64

2018-05-02 Thread Dmitry Boyarintsev via Lazarus
What’s the keys combination to enter ‘^’?

Thanks,
Dmitry

On Wednesday, May 2, 2018, Michael Ring via Lazarus <
lazarus@lists.lazarus-ide.org> wrote:

> I yesterday tried again after a long time to build Lazarus with Cocoa on
> my Mac, Lazarus is now perfectly useable for my needs and as a bonus it
> seems a little faster than the Carbon version.
>
> Great work!
>
>
> The only issue I ran in is that I cannot enter '^'  from my german
> keyboard and, as a fact, also other charaters composed with deadkeys
> (accented keys) like á also do not work.
>
>
> Any ideas on how to fix that?
>
>
> Michael
>
>
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Cannot enter '^' in Lazarus trunk build macos/cocoa/x86_64

2018-05-02 Thread Michael Ring via Lazarus
I yesterday tried again after a long time to build Lazarus with Cocoa on 
my Mac, Lazarus is now perfectly useable for my needs and as a bonus it 
seems a little faster than the Carbon version.


Great work!


The only issue I ran in is that I cannot enter '^'  from my german 
keyboard and, as a fact, also other charaters composed with deadkeys 
(accented keys) like á also do not work.



Any ideas on how to fix that?


Michael



--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus