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 » TreeCtrl » TreeCtrl display bug
TreeCtrl display bug [message #48108] Thu, 18 May 2017 15:51 Go to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
U++ has this nice feature when some item can't be displayed in a rect, a tool-tip appears with the full text.

This works fine with a narrow TreeCtrl where you add a very wide child. Mouse-over the child and it will popup perfectly.

But if I add a display to the TreeCtrl, the popup jumps up about 2-3 pixels vertically.

This is an incredibly serious mega bug Laughing.

treetest::treetest()
{
	CtrlLayout(*this, "Window title");
	
	tree.SetRoot(Image(), "test");
	tree.SetDisplay(Single<ItemDisplay>());
	tree.Add(0, Image(), "aaaaaaaaaaaaaaaa");
	tree.Open(0);
}


Comment out the tree.SetDisplay(Single<ItemDisplay>()); and the tool-tip vertical jump is no more.

Test case attached.




  • Attachment: treetest.zip
    (Size: 1.53KB, Downloaded 208 times)
Re: TreeCtrl display bug [message #48111 is a reply to message #48108] Thu, 18 May 2017 21:31 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

Please create redmine ticket for that issue with the url to forum thread. It is more easier to track them there. And, of course there is less change that the bug will be missed.

Sincerely,
Klugier


U++ - one framework to rule them all.
Re: TreeCtrl display bug [message #48112 is a reply to message #48111] Fri, 19 May 2017 10:49 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
Done!

http://ultimatepp.org/redmine/issues/1727

I'll also look into it if I have time but I'm super swamped right now.
Re: TreeCtrl display bug [message #48149 is a reply to message #48112] Sat, 27 May 2017 16:36 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Fixed.

Mirek
Re: TreeCtrl display bug [message #48158 is a reply to message #48149] Mon, 29 May 2017 12:44 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
Thank you!

I took a peek at the fix too. I'll check to see if it fixed on my side too.
Re: TreeCtrl display bug [message #48161 is a reply to message #48158] Mon, 29 May 2017 17:04 Go to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
Done!

I need to update my CodeEditor fork to compile with the latest, but the TreeCtrl is fixed!
Previous Topic: How to add a structure to tree node
Next Topic: how to wake up TreeCtrl
Goto Forum:
  


Current Time: Thu Mar 28 13:07:44 CET 2024

Total time taken to generate the page: 0.00943 seconds