Page 2 of 3

Re: a Gambas recent files Lister (TrayIcon)

Posted: Saturday 6th August 2022 1:33pm
by cogier
Yes, that works well. I use Linux Mint Cinnamon and discovered that the autostart feature needs a delay or else the GLaunch icon appears on the desktop and not in the system tray. My glaunch.gambas.desktop file now looks like this: -

Code: Select all

[Desktop Entry]
Type=Application
Exec=/home/charlie/Dropbox/gambas/glaunch/glaunch.gambas
Hidden=false
Name=glaunch
X-MATE-Autostart-enabled=true
X-MATE-Autostart-Delay=3
X-GNOME-Autostart-Delay=3
Does the Showtoolbar checkbox show correctly? it should be a toggle menu so the text does not change just the checkbox state.
I still think there is an issue here.
Image

Thanks, Bruce, I will advise if I find any other issues. :D

Re: a Gambas recent files Lister (TrayIcon)

Posted: Saturday 6th August 2022 2:21pm
by BruceSteers
cogier wrote: Saturday 6th August 2022 1:33pm Yes, that works well. I use Linux Mint Cinnamon and discovered that the autostart feature needs a delay or else the GLaunch icon appears on the desktop and not in the system tray. My glaunch.gambas.desktop file now looks like this: -

Code: Select all

[Desktop Entry]
Type=Application
Exec=/home/charlie/Dropbox/gambas/glaunch/glaunch.gambas
Hidden=false
Name=glaunch
X-MATE-Autostart-enabled=true
X-MATE-Autostart-Delay=3
X-GNOME-Autostart-Delay=3
Yes, i was suprised to see the tray icon worked on your cinnamon desktop while i only ever got the icon, then i found i had to add the SystemTray app to the panel.
I had the same issue as you and found in my cinamon desktop menu i had the Startup Applications (cinnamon) application and just like in MATE i was able to set the delay there.

I have now added the X-GNOME-Autostart-Delay=3 the the autostart option :)
Thank you
cogier wrote: Saturday 6th August 2022 1:33pm
Does the Showtoolbar checkbox show correctly? it should be a toggle menu so the text does not change just the checkbox state.
I still think there is an issue here.
Image
Thanks, Bruce, I will advise if I find any other issues. :D
That's odd, it works as expected here? i'll see if i can find a bug..

Cheers

Re: a Gambas recent files Lister (TrayIcon)

Posted: Saturday 6th August 2022 3:01pm
by BruceSteers
BruceSteers wrote: Saturday 6th August 2022 2:21pm That's odd, it works as expected here? i'll see if i can find a bug..

Cheers
Scratch that, this seems to be a cinnamon only bug for me. and not just the showtoolbar menu , ANY toggle set just stays the same although the functions are operating, on gnome and mate it works just as expected.

Re: a Gambas recent files Lister (TrayIcon)

Posted: Saturday 13th August 2022 9:37am
by cogier
Is there a way to hide the program showing on the task changer?

Image

Re: a Gambas recent files Lister (TrayIcon)

Posted: Sunday 14th August 2022 10:42am
by BruceSteers
cogier wrote: Saturday 13th August 2022 9:37am Is there a way to hide the program showing on the task changer?
Yes sorry (had to investigate that)

seems setting the forms NoTabFocus to true fixes that :)

Updated the archive in first post.

Cheers :)

Re: a Gambas recent files Lister (TrayIcon)

Posted: Tuesday 16th August 2022 9:43am
by cogier
Hi Bruce,

Yes, that has fixed the [Alt]+[Tab] issue, thanks.

I clicked the option to change the setting to not show the file path and although this worked I got an error:-

Image

Re: a Gambas recent files Lister (TrayIcon)

Posted: Tuesday 16th August 2022 12:55pm
by BruceSteers
cogier wrote: Tuesday 16th August 2022 9:43am Hi Bruce,

Yes, that has fixed the [Alt]+[Tab] issue, thanks.

I clicked the option to change the setting to not show the file path and although this worked I got an error:-

Image
Doh!! lol
Cheers again Charlie.

Yep a silly error
If m.Picture Then GridView1[GridView1.Rows.Max, 0].Picture = m.Picture

Needed to be...

If m.Picture Then
GridView1[GridView1.Rows.Max, 0].Picture = m.Picture
Endif

i forget about that right hand evaluation thing sometimes
Sorry about that (updated archive)

I also reported the toggle menu and cinnamon issue on the bugtracker, will soon have it fixed...

Re: a Gambas recent files Lister (TrayIcon)

Posted: Monday 22nd August 2022 12:48pm
by BruceSteers
I have tried to fix that menu bug on cinnamon but cannot.
I've modified the application to not use the popup menu if on cinnamon tray icon. (not uploaded it yet)

But I found it is ONLY on the tray icon menu you get this error.

The same menu pops up if you left click the tray icon then right click in the list window (outside of the GridView)
That menu works just fine and is the same menu.
It's a cinnamon TrayIcon popup menu only specific bug.

Re: a Gambas recent files Lister (TrayIcon)

Posted: Friday 26th August 2022 2:56pm
by BruceSteers
BruceSteers wrote: Tuesday 16th August 2022 12:55pm
I also reported the toggle menu and cinnamon issue on the bugtracker, will soon have it fixed...

Looks like it's now fixed :)
https://gitlab.com/gambas/gambas/-/comm ... 773b806510

Thank you Benoit :)

Re: a Gambas recent files Lister (TrayIcon)

Posted: Friday 26th August 2022 3:45pm
by cogier
I'll check this out in the next stable release.

It may have fixed another issue with my desktop when 2 TrayIcons are showing.

Image

Then with my AlarmTimer running: -

Image