Bug 356211 - In debug session "Variable ToolTip" doesn't expand automatically vertically
Summary: In debug session "Variable ToolTip" doesn't expand automatically vertically
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: CPP Debugger (show other bugs)
Version: 5.2.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-02 21:24 UTC by Piotr Mierzwinski
Modified: 2018-08-20 21:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2015-12-02 21:24:39 UTC
In debug session please check below code.
	QStringList slStrings;
	slStrings << "a a a a a b b b b c c c c c c c"; // for checking horizontaly resizing
	slStrings << "b" << "c";
	slStrings << "d";

Please set break point at last line, run code, catch the breakpoint and then move the mouse pointer over the variable. Should be displayed "Variable ToolTip".
Now try to unfold the list.

Reproducible: Always


Actual Results:  
Variable ToolTip doesn't resizing vertically.
Please note that in KDevelop it happened.

Expected Results:  
Variable ToolTip is resizing vertically.

To check if horizontally resizing works you can just click on item [0]. It's working correctly.
The workaround is unfolding list in Variable view.

KDevelop and KDevplatform cloned at 30.11.2015
Comment 1 Kevin Funk 2015-12-02 21:43:11 UTC
Thanks for the high-quality bug reports Piotr!

Do you maybe want to help us out fixing the kind of bugs you're experiencing? Some of them are low-hanging fruits and would be great starter tasks.

Especially the debugger component is in desperate need of love.
Comment 2 Piotr Mierzwinski 2016-01-31 21:10:09 UTC
Your welcome. This is only one thing what I can do now. Sorry.

Fixing requires more or less diving in source code and analyze how does it work. I don't have so much time for this :(. You have a lot of experiences with KDevelop code, so for you it's a lot easier.

Recently I discover one thing, maybe will be helpful. Namely, KDevelop beta1 (mentioned on your homesite and packaged in couple of distributions - KaOS, Mageia Cauldron) doesn't have this bug. The same for bug 355159.
Comment 3 Piotr Mierzwinski 2018-08-20 21:30:58 UTC
Seems to be fixed by this commit:
https://cgit.kde.org/kdevelop.git/commit/?h=5.2&id=6b146066a4916a7703a55476945cf39137aebd77
Thank you Michal Srb

Unfortunately "Variable ToolTip" horizontally is not resized, even after double click in column (containing value) separator.