Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Please Remove BUG in DataGrid
Please Remove BUG in DataGrid [message #51330] Thu, 07 March 2019 22:40
simpleman
Messages: 2
Registered: March 2019
Junior Member
Hello Wink

There is small bug in CtrlGrid. I will use touch screen in Linux, and after touch on CtrlGrid program received signal SIGSEGV

backtrace:

#0 0x000055555593515a in Upp::Ctrl::PanicMsgBox (title=0x555555eedc5c "Fatal error",
text=0x7fffffff54d0 "Assertion failed in /home/simpleman/upp/uppsrc/Core/Vcont.h, line 87\ni >= 0 && i < items\n") at /home/simpleman/upp/uppsrc/CtrlCore/GtkApp.cpp:56
#1 0x0000555555a23a1e in Upp::PanicMessageBox (title=0x555555eedc5c "Fatal error",
text=0x7fffffff54d0 "Assertion failed in /home/simpleman/upp/uppsrc/Core/Vcont.h, line 87\ni >= 0 && i < items\n") at /home/simpleman/upp/uppsrc/Core/Util.cpp:29
#2 0x0000555555a23f43 in Upp::AssertFailed (file=0x555555edfc80 "/home/simpleman/upp/uppsrc/Core/Vcont.h", line=87, cond=0x555555edfc6c "i >= 0 && i < items")
at /home/simpleman/upp/uppsrc/Core/Util.cpp:147
#3 0x00005555558c6d4d in Upp::Vector<Upp::GridCtrl::ItemRect>::Get (this=0x7fffffff7ea0, i=-1) at /home/simpleman/upp/uppsrc/Core/Vcont.h:87
#4 0x00005555558c6516 in Upp::Vector<Upp::GridCtrl::ItemRect>::operator[] (this=0x7fffffff7ea0, i=-1) at /home/simpleman/upp/uppsrc/Core/Vcont.h:104
#5 0x00005555558d58e0 in Upp::GridCtrl::MouseMove (this=0x7fffffff7dd8, p=..., keyflags=8388608) at /home/simpleman/upp/uppsrc/GridCtrl/GridCtrl.cpp:1908


maybe this code will be solution?

is:
void GridCtrl::MouseMove(Point p, dword keyflags)
{
mouse_move = true;

if(resizing)



wil be: ?

void GridCtrl::MouseMove(Point p, dword keyflags)
{
mouse_move = true;

if(resizing && hitems.GetCount() < splitCol)

zdrów!
Previous Topic: ArrayCtrl flashes continuously on cells with large content
Next Topic: No callback on last row deletion
Goto Forum:
  


Current Time: Thu Mar 28 19:00:39 CET 2024

Total time taken to generate the page: 0.01230 seconds