a Gambas recent files Lister (TrayIcon)

So you have written that new, must have program. Let us see it here.
User avatar
cogier
Site Admin
Posts: 900
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: a Gambas recent files Lister (TrayIcon)

Post by cogier » 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
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

BruceSteers
Posts: 850
Joined: Thursday 23rd July 2020 5:20pm

Re: a Gambas recent files Lister (TrayIcon)

Post by BruceSteers » Saturday 6th August 2022 2:21pm

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

BruceSteers
Posts: 850
Joined: Thursday 23rd July 2020 5:20pm

Re: a Gambas recent files Lister (TrayIcon)

Post by BruceSteers » Saturday 6th August 2022 3:01pm

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.

User avatar
cogier
Site Admin
Posts: 900
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: a Gambas recent files Lister (TrayIcon)

Post by cogier » Saturday 13th August 2022 9:37am

Is there a way to hide the program showing on the task changer?

Image

BruceSteers
Posts: 850
Joined: Thursday 23rd July 2020 5:20pm

Re: a Gambas recent files Lister (TrayIcon)

Post by BruceSteers » Sunday 14th August 2022 10:42am

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 :)

User avatar
cogier
Site Admin
Posts: 900
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: a Gambas recent files Lister (TrayIcon)

Post by cogier » 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

BruceSteers
Posts: 850
Joined: Thursday 23rd July 2020 5:20pm

Re: a Gambas recent files Lister (TrayIcon)

Post by BruceSteers » Tuesday 16th August 2022 12:55pm

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...

Post Reply