On 02.09.2013 20:56, Germán Arias wrote:
> The attached app show other cursor issue. This app has a window
> with a toolbar item that display the open panel. Launch the app and
> move the window in a way that the button "Cancel" at panel appears
> over the textview. As show the attached image. Then clic in button
> "Cancel", the cursor remains as an I-beam.
>
> This problem only happen if the window has a toolbar or an in-window
> menu, And if the panel opens from one option here (with the mouse).
Thank you this great example for the problem. I think this is related to
the colour panel issue you already demonstrated. In both cases the
cursor gets set too often when switching windows.
At the moment I am to ill to look into this or rather my head is to
dizzy to think hard enough to solve this. Maybe on the next weekend?
Fro me your application also shows a second issue. When closing the
application I get a segmentation fault from cairo:
rogram received signal SIGSEGV, Segmentation fault.
0x00007fffef57f632 in ?? () from /usr/lib64/libcairo.so.2
(gdb) bt
#0 0x00007fffef57f632 in ?? () from /usr/lib64/libcairo.so.2
#1 0x00007fffef57f8c4 in ?? () from /usr/lib64/libcairo.so.2
#2 0x00007fffef57b339 in ?? () from /usr/lib64/libcairo.so.2
#3 0x00007fffef54dec3 in cairo_surface_finish () from
/usr/lib64/libcairo.so.2
#4 0x00007fffef57840c in ?? () from /usr/lib64/libcairo.so.2
#5 0x00007fffef5733a8 in ?? () from /usr/lib64/libcairo.so.2
#6 0x00007fffef5112c7 in cairo_device_finish () from
/usr/lib64/libcairo.so.2
#7 0x00007fffef573437 in ?? () from /usr/lib64/libcairo.so.2
#8 0x00007ffff1b292a2 in XCloseDisplay () from /usr/lib64/libX11.so.6
#9 0x00007fffef8595d7 in -[XGServer dealloc] (self=0x80ce20,
_cmd=<optimized out>)
at XGServer.m:493
#10 0x00007ffff77cf2c7 in -[NSApplication dealloc] (self=0x7532a0,
_cmd=<optimized out>)
at NSApplication.m:1247
#11 0x00007ffff77d02c8 in -[NSApplication
replyToApplicationShouldTerminate:] (
self=<optimized out>, _cmd=<optimized out>,
shouldTerminate=<optimized out>)
at NSApplication.m:3515
#12 0x00007ffff77c8730 in -[NSApplication sendAction:to:from:]
(self=self@entry=0x7532a0,
_cmd=_cmd@entry=0x7ffff7ce9020 <_OBJC_SELECTOR_TABLE+2720>,
aSelector=aSelector@entry=0x7ffff7dae680 <_OBJC_SELECTOR_TABLE+288>,
aTarget=0x0,
sender=sender@entry=0xc88230) at NSApplication.m:2230
#13 0x00007ffff7887fa4 in -[NSMenu performActionForItemAtIndex:]
(self=0xc050a0,
#14 0x00007ffff78905be in -[NSMenuView
_trackWithEvent:startingMenuView:] (self=0xd621f0,
_cmd=<optimized out>, event=<optimized out>, mainWindowMenuView=0x0)
at NSMenuView.m:1822
This only happens when the open panel has been opened once. I will look
into that as well as soon as I feel better again.
Fred
_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev