Crash on mouse click in maximize mode

clemens.lanthaler at itarchitects.at clemens.lanthaler at itarchitects.at
Fri Dec 23 07:55:21 UTC 2022


Hi Kevin,

I think it is the discussed issue here with the addition of the click behavior. The click on that area in the table is causing the issue from the discussion here. 

Under all operating systems I mean:
- osx 13
- windows 11
- ubunto 22.04

Sorry to be so unprecise. 

Clemens


> On 22. Dec 2022, at 19:04, Kevin Rushforth <kevin.rushforth at oracle.com> wrote:
> 
> Do you really mean "crash" or do you mean that an assertion error is printed? If the latter, then yes, the assertion error is a known issue [1] that has been discussed recently on this list [2].
> 
> It sounds like you are seeing an additional functional issue with table cell selection. Is the assertion error and functional issue specific to macOS 13 (Ventura)? Your comment that "it is happening under all operation systems" makes me wonder what versions of macOS you have reproduced this on.
> 
> -- Kevin
> 
> [1] https://bugs.openjdk.org/browse/JDK-8299159
> [2] https://mail.openjdk.org/pipermail/openjfx-dev/2022-December/037716.html
> 
>> On 12/22/2022 2:20 AM, Clemens Lanthaler wrote:
>> Hello everybody,
>> 
>> I am facing the following issue:
>> - I have a table in my application inside a tabbed pane
>> - If the window has a normal state (not maximized) I can select every cell and the click is recognized
>> - If I maximize the window than in the top row of the table but only the top 2 rows on the right corner is producing the following stacktrace below from javafx and the click is never recognized (instat the tab is getting the focus)
>> 
>> I have checked it and it is happening under all operation systems.
>> 
>> Here is the code as addition: https://github.com/lanthale/Schischulmanager/blob/main/src/main/java/at/itarchitects/schischulmanager/FXMLSkilehrerBookingController.java (at the end of the file you will find the cellfactory methods execution the clicks.
>> 
>> Does anybody know a workaround to the issue ?
>> 
>> 1   HIToolbox                           0x000000019a2a85c8 _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 120
>> 2   HIToolbox                           0x000000019a2a8188 _ZN15MenuBarInstance14EnableAutoShowEv + 60
>> 3   HIToolbox                           0x000000019a2158bc _ZN15MenuBarInstance21UpdateAggregateUIModeE21MenuBarAnimationStylehhh + 1184
>> 4   HIToolbox                           0x000000019a2a8004 _ZN15MenuBarInstance19SetFullScreenUIModeEjj + 180
>> 5   AppKit                              0x000000019409e008 -[NSApplication _setPresentationOptions:instance:flags:] + 956
>> 6   AppKit                              0x0000000193f33bb0 -[NSApplication _updateFullScreenPresentationOptionsForInstance:] + 404
>> 7   CoreFoundation                      0x0000000190b55570 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
>> 8   CoreFoundation                      0x0000000190bf3054 ___CFXRegistrationPost_block_invoke + 88
>> 9   CoreFoundation                      0x0000000190bf2f9c _CFXRegistrationPost + 440
>> 10  CoreFoundation                      0x0000000190b26b74 _CFXNotificationPost + 708
>> 11  Foundation                          0x0000000191a1472c -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
>> 12  AppKit                              0x000000019409e58c spacesNotificationHandler + 96
>> 13  SkyLight                            0x00000001957884dc _ZN12_GLOBAL__N_123notify_datagram_handlerEj15CGSDatagramTypePvmS1_ + 896
>> 14  SkyLight                            0x0000000195ab44c4 _ZN21CGSDatagramReadStream26dispatchMainQueueDatagramsEv + 228
>> 15  SkyLight                            0x0000000195ab43c0 ___ZN21CGSDatagramReadStream15mainQueueWakeupEv_block_invoke + 28
>> 16  libdispatch.dylib                   0x00000001908f89dc _dispatch_call_block_and_release + 32
>> 17  libdispatch.dylib                   0x00000001908fa504 _dispatch_client_callout + 20
>> 18  libdispatch.dylib                   0x0000000190908d1c _dispatch_main_queue_drain + 928
>> 19  libdispatch.dylib                   0x000000019090896c _dispatch_main_queue_callback_4CF + 44
>> 20  CoreFoundation                      0x0000000190ba1d50 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
>> 21  CoreFoundation                      0x0000000190b5f7d0 __CFRunLoopRun + 2036
>> 22  CoreFoundation                      0x0000000190b5e888 CFRunLoopRunSpecific + 612
>> 23  HIToolbox                           0x000000019a233fa0 RunCurrentEventLoopInMode + 292
>> 24  HIToolbox                           0x000000019a233de4 ReceiveNextEventCommon + 672
>> 25  HIToolbox                           0x000000019a233b2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
>> 26  AppKit                              0x0000000193de0424 _DPSNextEvent + 632
>> 27  AppKit                              0x0000000193ddf5b4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
>> 28  AppKit                              0x0000000193dd39e4 -[NSApplication run] + 464
>> 29  libglass.dylib                      0x000000012321792c JNI_OnLoad + 8788
>> 30  Foundation                          0x0000000191a84b30 __NSThreadPerformPerform + 264
>> 31  CoreFoundation                      0x0000000190b60a18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
>> 32  CoreFoundation                      0x0000000190b609ac __CFRunLoopDoSource0 + 176
>> 33  CoreFoundation                      0x0000000190b6071c __CFRunLoopDoSources0 + 244
>> 34  CoreFoundation                      0x0000000190b5f320 __CFRunLoopRun + 836
>> 35  CoreFoundation                      0x0000000190b5e888 CFRunLoopRunSpecific + 612
>> 36  libjli.dylib                        0x0000000104b735c4 CreateExecutionEnvironment + 400
>> 37  libjli.dylib                        0x0000000104b6f9c0 JLI_Launch + 1212
>> 38  java                                0x0000000104aabbb8 main + 404
>> 39  dyld                                0x0000000190757e50 start + 2544
>> 1   HIToolbox                           0x000000019a23390c _ZN15MenuBarInstance22RemoveAutoShowObserverEv + 44
>> 2   HIToolbox                           0x000000019a272478 _ZL17BroadcastInternaljPvh + 184
>> 3   SkyLight                            0x00000001957884dc _ZN12_GLOBAL__N_123notify_datagram_handlerEj15CGSDatagramTypePvmS1_ + 896
>> 4   SkyLight                            0x0000000195ab44c4 _ZN21CGSDatagramReadStream26dispatchMainQueueDatagramsEv + 228
>> 5   SkyLight                            0x0000000195ab43c0 ___ZN21CGSDatagramReadStream15mainQueueWakeupEv_block_invoke + 28
>> 6   libdispatch.dylib                   0x00000001908f89dc _dispatch_call_block_and_release + 32
>> 7   libdispatch.dylib                   0x00000001908fa504 _dispatch_client_callout + 20
>> 8   libdispatch.dylib                   0x0000000190908d1c _dispatch_main_queue_drain + 928
>> 9   libdispatch.dylib                   0x000000019090896c _dispatch_main_queue_callback_4CF + 44
>> 10  CoreFoundation                      0x0000000190ba1d50 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
>> 11  CoreFoundation                      0x0000000190b5f7d0 __CFRunLoopRun + 2036
>> 12  CoreFoundation                      0x0000000190b5e888 CFRunLoopRunSpecific + 612
>> 13  HIToolbox                           0x000000019a233fa0 RunCurrentEventLoopInMode + 292
>> 14  HIToolbox                           0x000000019a233de4 ReceiveNextEventCommon + 672
>> 15  HIToolbox                           0x000000019a233b2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
>> 16  AppKit                              0x0000000193de0424 _DPSNextEvent + 632
>> 17  AppKit                              0x0000000193ddf5b4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
>> 18  AppKit                              0x0000000193dd39e4 -[NSApplication run] + 464
>> 19  libglass.dylib                      0x000000012321792c JNI_OnLoad + 8788
>> 20  Foundation                          0x0000000191a84b30 __NSThreadPerformPerform + 264
>> 21  CoreFoundation                      0x0000000190b60a18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
>> 22  CoreFoundation                      0x0000000190b609ac __CFRunLoopDoSource0 + 176
>> 23  CoreFoundation                      0x0000000190b6071c __CFRunLoopDoSources0 + 244
>> 24  CoreFoundation                      0x0000000190b5f320 __CFRunLoopRun + 836
>> 25  CoreFoundation                      0x0000000190b5e888 CFRunLoopRunSpecific + 612
>> 26  libjli.dylib                        0x0000000104b735c4 CreateExecutionEnvironment + 400
>> 27  libjli.dylib                        0x0000000104b6f9c0 JLI_Launch + 1212
>> 28  java                                0x0000000104aabbb8 main + 404
>> 29  dyld                                0x0000000190757e50 start + 2544
>> 1   HIToolbox                           0x000000019a2a85c8 _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 120
>> 2   HIToolbox                           0x000000019a2158c8 _ZN15MenuBarInstance21UpdateAggregateUIModeE21MenuBarAnimationStylehhh + 1196
>> 3   HIToolbox                           0x000000019a2a8004 _ZN15MenuBarInstance19SetFullScreenUIModeEjj + 180
>> 4   AppKit                              0x000000019409e008 -[NSApplication _setPresentationOptions:instance:flags:] + 956
>> 5   AppKit                              0x0000000193f33bb0 -[NSApplication _updateFullScreenPresentationOptionsForInstance:] + 404
>> 6   CoreFoundation                      0x0000000190b55570 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
>> 7   CoreFoundation                      0x0000000190bf3054 ___CFXRegistrationPost_block_invoke + 88
>> 8   CoreFoundation                      0x0000000190bf2f9c _CFXRegistrationPost + 440
>> 9   CoreFoundation                      0x0000000190b26b74 _CFXNotificationPost + 708
>> 10  Foundation                          0x0000000191a1472c -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
>> 11  AppKit                              0x000000019409e58c spacesNotificationHandler + 96
>> 12  SkyLight                            0x00000001957884dc _ZN12_GLOBAL__N_123notify_datagram_handlerEj15CGSDatagramTypePvmS1_ + 896
>> 13  SkyLight                            0x0000000195ab44c4 _ZN21CGSDatagramReadStream26dispatchMainQueueDatagramsEv + 228
>> 14  SkyLight                            0x0000000195ab43c0 ___ZN21CGSDatagramReadStream15mainQueueWakeupEv_block_invoke + 28
>> 15  libdispatch.dylib                   0x00000001908f89dc _dispatch_call_block_and_release + 32
>> 16  libdispatch.dylib                   0x00000001908fa504 _dispatch_client_callout + 20
>> 17  libdispatch.dylib                   0x0000000190908d1c _dispatch_main_queue_drain + 928
>> 18  libdispatch.dylib                   0x000000019090896c _dispatch_main_queue_callback_4CF + 44
>> 19  CoreFoundation                      0x0000000190ba1d50 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
>> 20  CoreFoundation                      0x0000000190b5f7d0 __CFRunLoopRun + 2036
>> 21  CoreFoundation                      0x0000000190b5e888 CFRunLoopRunSpecific + 612
>> 22  HIToolbox                           0x000000019a233fa0 RunCurrentEventLoopInMode + 292
>> 23  HIToolbox                           0x000000019a233de4 ReceiveNextEventCommon + 672
>> 24  HIToolbox                           0x000000019a233b2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
>> 25  AppKit                              0x0000000193de0424 _DPSNextEvent + 632
>> 26  AppKit                              0x0000000193ddf5b4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
>> 27  AppKit                              0x0000000193dd39e4 -[NSApplication run] + 464
>> 28  libglass.dylib                      0x000000012321792c JNI_OnLoad + 8788
>> 29  Foundation                          0x0000000191a84b30 __NSThreadPerformPerform + 264
>> 30  CoreFoundation                      0x0000000190b60a18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
>> 31  CoreFoundation                      0x0000000190b609ac __CFRunLoopDoSource0 + 176
>> 32  CoreFoundation                      0x0000000190b6071c __CFRunLoopDoSources0 + 244
>> 33  CoreFoundation                      0x0000000190b5f320 __CFRunLoopRun + 836
>> 34  CoreFoundation                      0x0000000190b5e888 CFRunLoopRunSpecific + 612
>> 35  libjli.dylib                        0x0000000104b735c4 CreateExecutionEnvironment + 400
>> 36  libjli.dylib                        0x0000000104b6f9c0 JLI_Launch + 1212
>> 37  java                                0x0000000104aabbb8 main + 404
>> 38  dyld                                0x0000000190757e50 start + 2544
>> 1   HIToolbox                           0x000000019a23390c _ZN15MenuBarInstance22RemoveAutoShowObserverEv + 44
>> 2   HIToolbox                           0x000000019a2a8fbc _ZN15MenuBarInstance15DisableAutoShowEv + 36
>> 3   HIToolbox                           0x000000019a2a90b0 _ZN15MenuBarInstanceD2Ev + 128
>> 4   HIToolbox                           0x000000019a2a8ee0 _ZN15MenuBarInstance7ReleaseEv + 56
>> 5   AppKit                              0x000000019443b5ec -[NSHIPresentationInstance discard] + 228
>> 6   AppKit                              0x00000001947fab58 -[_NSFullScreenSpace(PresentationInstance) discardPresentationInstance] + 32
>> 7   AppKit                              0x00000001947fabb0 -[_NSFullScreenSpace(PresentationInstance) activateFullScreenPresentationOptions] + 64
>> 8   AppKit                              0x0000000194654c20 -[_NSExitFullScreenTransitionController _doSucceededToExitFullScreen] + 40
>> 9   AppKit                              0x00000001946556f8 __63-[_NSExitFullScreenTransitionController _performExitFullScreen]_block_invoke + 236
>> 10  libxpc.dylib                        0x00000001907f222c _xpc_connection_reply_callout + 124
>> 11  libxpc.dylib                        0x00000001907f211c _xpc_connection_call_reply_async + 88
>> 12  libdispatch.dylib                   0x00000001908fa584 _dispatch_client_callout3 + 20
>> 13  libdispatch.dylib                   0x0000000190918710 _dispatch_mach_msg_async_reply_invoke + 344
>> 14  libdispatch.dylib                   0x0000000190908c70 _dispatch_main_queue_drain + 756
>> 15  libdispatch.dylib                   0x000000019090896c _dispatch_main_queue_callback_4CF + 44
>> 16  CoreFoundation                      0x0000000190ba1d50 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
>> 17  CoreFoundation                      0x0000000190b5f7d0 __CFRunLoopRun + 2036
>> 18  CoreFoundation                      0x0000000190b5e888 CFRunLoopRunSpecific + 612
>> 19  HIToolbox                           0x000000019a233fa0 RunCurrentEventLoopInMode + 292
>> 20  HIToolbox                           0x000000019a233de4 ReceiveNextEventCommon + 672
>> 21  HIToolbox                           0x000000019a233b2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
>> 22  AppKit                              0x0000000193de0424 _DPSNextEvent + 632
>> 23  AppKit                              0x0000000193ddf5b4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
>> 24  AppKit                              0x0000000193dd39e4 -[NSApplication run] + 464
>> 25  libglass.dylib                      0x000000012321792c JNI_OnLoad + 8788
>> 26  Foundation                          0x0000000191a84b30 __NSThreadPerformPerform + 264
>> 27  CoreFoundation                      0x0000000190b60a18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
>> 28  CoreFoundation                      0x0000000190b609ac __CFRunLoopDoSource0 + 176
>> 29  CoreFoundation                      0x0000000190b6071c __CFRunLoopDoSources0 + 244
>> 30  CoreFoundation                      0x0000000190b5f320 __CFRunLoopRun + 836
>> 31  CoreFoundation                      0x0000000190b5e888 CFRunLoopRunSpecific + 612
>> 32  libjli.dylib                        0x0000000104b735c4 CreateExecutionEnvironment + 400
>> 33  libjli.dylib                        0x0000000104b6f9c0 JLI_Launch + 1212
>> 34  java                                0x0000000104aabbb8 main + 404
>> 35  dyld                                0x0000000190757e50 start + 2544
>> 
>> best regards,
>> Clemens
>> 
> 



More information about the openjfx-dev mailing list