KDE/kdevelop/debuggers/gdb

Vladimir Prus ghost at cs.msu.su
Sat Apr 25 17:59:33 UTC 2009


On Saturday 25 April 2009 21:26:50 Aleix Pol Gonzalez wrote:
> SVN commit 959180 by apol:
> 
> Do not show the tooltip right under the cursor.
> 
> 
>  M  +1 -1      variablecollection.cpp  
> 
> 
> --- trunk/KDE/kdevelop/debuggers/gdb/variablecollection.cpp #959179:959180
> @@ -427,7 +427,7 @@
>      if (!w)
>          w = view;
>      
> -    activeTooltip_ = new VariableToolTip(w, global, controller_, expression);
> +    activeTooltip_ = new VariableToolTip(w, global+QPoint(30,30), controller_, expression);
>  }

As I've said on IRC, I don't think hardcoded 30 is acceptable. I think this offset should
depend on font metrics -- like 3 widths of 'M' in the current font. This is the only
thing that is likely to scale with monitor resolution in a sensible way.

- Volodya




More information about the KDevelop-devel mailing list