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

Bruce Steers bsteers4 at gmail.com
Tue Mar 8 15:53:21 CET 2022


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 ]----
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220308/9daa38d9/attachment.htm>


More information about the User mailing list