clesssalvein / GlpiClient

Desktop client for GLPI - helpdesk and servicedesk system (https://glpi-project.org/)
2 stars 0 forks source link

minimize app #2

Open trisosamu opened 1 year ago

trisosamu commented 1 year ago

When I open exe I don't see nothing. I must go to system tray and relaunch app

clesssalvein commented 1 year ago

Yes, that was the plan. The application is minimized to the tray at startup. Can you open the app by double-clicking on the tray icon?

trisosamu commented 1 year ago

Yes, but for user it can be useful open app and create immediately ticket without going into tray icon. is it possibile to create a windows to choose one of the two option?

clesssalvein commented 1 year ago

Do you want the app window to open when the OS starts?

trisosamu commented 1 year ago

in my case, I put the icon shortcut on the desktop, and I would like that when I click on it, the credential request window opening immediately. without having to open tray icon

image

clesssalvein commented 1 year ago

Ok. I'll add an option to be able not to minimize the app window to tray after app startup.

trisosamu commented 1 year ago

thanks

clesssalvein commented 1 year ago

Option to choose whether or not to minimize to tray the app window at startup added in release GlpiClient v0.304

trisosamu commented 1 year ago

It works

trisosamu commented 1 year ago

Last thing. Is it possible add settings button called "not minimize app to tray ever" ? To bring app always on application bar?

trisosamu commented 1 year ago

I'm trying to edit GlpiClient.py to resolve my problems himself, but when I run script, there are these error,

image

clesssalvein commented 1 year ago

Please write how you think the program should behave when you press the "minimize" button and the "close" button. I'll try to add additional options to the app.

trisosamu commented 1 year ago

When I press minimize button --> minimize in the application bar (as now) image

When i press close button --> minimize into tray (as now)

But If I press on the .exe (second time) I would like that application open from tray, without showing popup "application already started" (like microsoft teams )

clesssalvein commented 1 year ago

Option to choose whether to minimize app to the system tray or to the window panel on App close ("Hide app window to tray on App close") added in release https://github.com/clesssalvein/GlpiClient/releases/tag/v0.305.

When the option is unchecked - the app window will be minimized to the window panel if you close it. And if you try to run another instance of the app - app window will be maximized. In case if this option is checked - there still will be appear a message "The app is already running". Please test it.