[Gambas-user] File, Open project: show path?

wig wig at noxqs.org
Tue Mar 8 16:06:44 CET 2022


 

Ah sorry, even in 3.14.3 it is there already, but very subtle. 

And indeed, the user gets the tooltip faster when it is set on the whole
area. For the icon you have to position more precisely, and you might
miss it. 

But I will find it now, thanks! 

wig. 

Bruce Steers schreef op 2022-03-08 15:53: 

> This does seem to be missed by people Ben, I've seen it missed by someone on the gambasone forum, wig missed it, and I did too. 
> 
> Maybe expand the hover area so the tooltip shows the path hovering anywhere on the item? 
> 
> Respects 
> BruceS 
> 
> On Tue, 8 Mar 2022 at 14:47, Bruce Steers <bsteers4 at gmail.com> wrote: 
> 
> It's already in ProjectBox.class 
> Line 83 SetPath() 
> $sToolTip = Replace($sPath, System.User.Home, "~") 
> 
> Lines 122 / 123 DrawingArea_MouseMove() 
> If Rect(DS, DS, ICON_SIZE, ICON_SIZE).Contains(Mouse.X, Mouse.Y) Then sTooltip = $sToolTip
> If sTooltip <> $hDrawingArea.Tooltip Then $hDrawingArea.Tooltip = sTooltip 
> 
> It's funny to me because i did EXACTLY the same thing only i was half way through adding my own tooltip bit when I suddenly noticed it was already there :) 
> 
> Respects 
> BruceS 
> 
> On Tue, 8 Mar 2022 at 14:34, Bruce Steers <bsteers4 at gmail.com> wrote: 
> 
> Hover the mouse over the files icon image in the recent projects chooser :) 
> BruceS 
> 
> On Tue, 8 Mar 2022 at 13:38, wig <wig at noxqs.org> wrote: 
> Sometimes I miss seeing the path of the project in this Recent Projects
> dialog.
> 
> It happens when messing around with projects with the same name in
> different locations. For example when looking which version of an old
> project to put in git.
> 
> I temporary changed it for myself with adding a line to the ProjectBox
> Class around Line 207
> $hDrawingArea_HasFocus ...
> ..
> ..
> Me.Tooltip = .Path
> 
> Just an idea..
> 
> By the way; 3.17.0 compiles and runs nice on openSUSE 15.3-KDE Plasma.
> Thanks a lot!
> 
> wig
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette [1] ]----

----[ http://gambaswiki.org/wiki/doc/netiquette [1] ]----

 

Links:
------
[1] http://gambaswiki.org/wiki/doc/netiquette
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220308/c6925a74/attachment.htm>


More information about the User mailing list