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: 917
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: 892
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: 892
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: 917
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: 892
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: 917
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: 892
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...

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

Re: a Gambas recent files Lister (TrayIcon)

Post by BruceSteers » Monday 22nd August 2022 12:48pm

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.

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

Re: a Gambas recent files Lister (TrayIcon)

Post by BruceSteers » Friday 26th August 2022 2:56pm

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

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

Re: a Gambas recent files Lister (TrayIcon)

Post by cogier » Friday 26th August 2022 3:45pm

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

Post Reply