|
|
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl - crashes on UBUNTU.
GridCtrl - crashes on UBUNTU. [message #19598] |
Mon, 22 December 2008 10:26  |
|
I find it unpleasant behavior CridCtrl.
If the cell can not contain it based text, the GridCtrl paints a right triangle, which shows that not everything fits. When we hold the mouse on top of the cell - that is showing the entire contents in the pop-up window.
But this happens only in Windows.
When I try to do the same in UBUNTU - I failed.
System crashes with message:
Assertion failed in ..../upp-svn/CtrlCore/X11Wnd.cpp, line 380
As TestCase can get tutorial Grid01.
I think this is an error in the basic functionality.
Maybe advise how to correct, or even how to hide this functionality?
Thanks in advance.
PS.
In ArrayCtrl - nothing of the sort not seen.
To analyze the differences in approach on my lack of experience. Please help.
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
[Updated on: Mon, 22 December 2008 10:29] Report message to a moderator
|
|
|
Re: GridCtrl - crashes on UBUNTU. [message #19599 is a reply to message #19598] |
Mon, 22 December 2008 10:54   |
|
Yep, it's possible. I haven't tested this feature on X11. You can turn popups off using Popups or CellPopups method (I don't remember exactely);
BTW: In dev version popups works on header too.
PS: Thanks for finding bugs! It makes my apps more stable
|
|
|
|
Re: GridCtrl - crashes on UBUNTU. [message #19602 is a reply to message #19599] |
Mon, 22 December 2008 12:59   |
|
unodgs wrote on Mon, 22 December 2008 12:54 | Yep, it's possible. I haven't tested this feature on X11. You can turn popups off using Popups or CellPopups method (I don't remember exactely);
BTW: In dev version popups works on header too.
|
I could not find anything similar. This must be set for the entire Ctrl or on the Cell?
During debug GridCtrl I noticed that happens twice a call GridPopUp::PopUp. I replaced the call GridPopUp::PopUp on GridPopUp::PopUpWnd (I rename anywhere) but now everything is occurs twice call GridPopUp::PopUpWnd - and the second time - the crash happens.
Maybe second time during draw shadow or anything not open window (create but not open)???
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
|
|
|
|
|
Re: GridCtrl - crashes on UBUNTU. [message #19614 is a reply to message #19613] |
Tue, 23 December 2008 00:33  |
|
Done. Temporary Solved.
Changed files in Attachment (based on svn-643)
There are 2 files in upp/uppsrc/GridCtrl/ :
GridCtrl.h
and
GridCtrl.cpp
I did not very accurately, perhaps popups banned in the Drag and Drop.
But it WORK!!!
However, is hopefully to resolve the problem.
Thank you Daniel for tips and idea.
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
[Updated on: Tue, 23 December 2008 00:37] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Apr 28 18:08:39 CEST 2025
Total time taken to generate the page: 0.04490 seconds
|
|
|