User forums > Help

Display Value Under Cursor - window too small for int variables with short names

<< < (4/6) > >>

Samuel:
I had the same problem and managed to solve it as follows:

Settings > Debugger > Value Tolltip Font (Choose)

My source was less than the minimum available. That may be your problem.

I hope I can have helped you.

gd_on:
The bug described in this post is here again (C::B svn 12448, wxWidgets 3.1.5, Windows 10, but also with 12446 killerbot nightly). I obtain in any case something which looks like the Frame1 image in the first post, but just a small gray square
Changing the size and/or the font in Settings > Debugger > Choose button has no effect.
I have just added a Fit(); at line 1224 in watchesdlg.cpp and it works again.
At lines 1222 and 1223, the 2 m_sizer->Fit ... look strange. If I eliminate one of them or both, it continues to work. Are they necessary ? May be for other OS or wxWidgets version ... I don't know.
I have created a ticket #1100 here

oBFusCATed:
This code is the most annoying place in the whole C::B, really.
For me using wx-master, somewhere around 3.1.4-3.1.5-newer, I cannot make it look good at all - it is always smaller. Linux, GTK2.
No combination of Fit/Layout makes it work.
I literally hate this code.
I suppose one day I'll bite the bullet and write a watch control from scratch. How hard could it be!

oBFusCATed:
This code needs major review by someone who understands wxWidgets and sizers and wxPropertyGrid.
There are so many hacks on so many levels. :(  :-[

oBFusCATed:
This topic is about at least two separate issues (both are fixed now in trunk/master).

1. There was a fitting bug which break with the switch to 3.1.5
2. There was a bug which lead to a horizontal scrollbar being visible when the name,value and type of a watched expression are all short.
3. It was possible to expand the tooltip outside of the monitor. Now after an expand the window is clipped, so the content is mostly visible. Unfortunately wxPropGrid behaves strangely - on all ports I've tried the third column is always made visible, which is not what I want, but this is how it is for now.

Please test and report if there are further problems or some regression. Dual monitor setup might be affected more, because I wasn't able to test them.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version