Close button in full screen mode.

The issues found when using the Virtual Console
Post Reply
User avatar
lorenzoandreani
Posts: 101
Joined: Tue Sep 01, 2015 9:19 am
Location: Marina di Carrara
Real Name: Lorenzo Andreani

If use QLC+ maximized i can't close the program because there is no close button in bar.
So i have to get out of full screen mode to close the program.

It possible add the close button in the button bar ?
User avatar
mcallegari
Posts: 4462
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Everything is possible...but for just one additional click ? :)
User avatar
lorenzoandreani
Posts: 101
Joined: Tue Sep 01, 2015 9:19 am
Location: Marina di Carrara
Real Name: Lorenzo Andreani

I know that you can . Maybe i misspelled meant if it is possible in the sense it is useful for everyone.

I asked this because i use QLC + always full screen and every time i open and close it i have to click on the " full screen button".
I finding it uncomfortable and i wanted to know if it is the same for others users.
User avatar
mcallegari
Posts: 4462
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Would it help having a key-combination (shortcut) instead of having to click on the FS icon ?
Like CTRL+F or something like that
User avatar
mcallegari
Posts: 4462
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Actually...looking at the code, a key sequence is already defined. It's CTRL+F11
It doesn't work on my Linux distro cause probably the Window Manager is grabbing it, but maybe on OSX it works
User avatar
lorenzoandreani
Posts: 101
Joined: Tue Sep 01, 2015 9:19 am
Location: Marina di Carrara
Real Name: Lorenzo Andreani

Currently i use the key combination of the operating system to close QLC+ when it is in full screen:

Windows: Alt + F4
Mac OSX: cmd + q
mEon
Posts: 15
Joined: Sun Nov 13, 2016 4:13 pm
Real Name:

+1 for a nice Close-Button in Kiosk Mode
Baer
Posts: 96
Joined: Fri Jan 15, 2016 8:40 am
Real Name: Matthias

In Kiosk you can already activate a close button be specifing -c as command line parameter

Only for normal operation int fullscreen mode this is not possible.

I would vote for a close button which also can shutdown the system.
Implemented this already for me, but it only works on linux systems and you need to run qlc+ as root, which is not an ideal solution.

Also tried to shutdown qlc+ via systemcommand option in scribt but i didn't manage to shutdown qlc+ safely (asking for save for example), was just able to kill the process.

Maybe someone can add a script command for clean shutdown of qlcplus so everyone is able to build a configurable closebutton on their own?
User avatar
mcallegari
Posts: 4462
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Moved to a more proper section.
Implemented this already for me, but it only works on linux systems and you need to run qlc+ as root, which is not an ideal solution.
You can't shutdown/reboot Linux from a normal user in any case !

In general, I don't think it's QLC+ role to interfere with your system status (shutdown / reboot)
More likely, you can wrap QLC+ into a script and when QLC+ close, you decide what to do in the script.
Baer
Posts: 96
Joined: Fri Jan 15, 2016 8:40 am
Real Name: Matthias

mcallegari wrote: Sat Apr 29, 2017 7:57 am Moved to a more proper section.
Implemented this already for me, but it only works on linux systems and you need to run qlc+ as root, which is not an ideal solution.
You can't shutdown/reboot Linux from a normal user in any case !
I know that....

Would just be nice to close qlc+ from fullscreen without going back to normal screen first.

Basically i have two approches how three achieve that.
1. Add a close button to fullscreen VC similar to the one in kiosk mode (tried this already, but it always disappeard on loading a new workspace, had no time for debugging so long)
2. Add a close button to the already existing menue bar wich is also visible in fullscreen mode
3. Implement a script command which closes qlc+

I'm also willing to implement this if you agree, just need to know which version would be preferred

System shutdown i agree is something everyone should do on their own if neccesary because of needed root permissions, but with a propper close this would be much more comfortable
Baer
Posts: 96
Joined: Fri Jan 15, 2016 8:40 am
Real Name: Matthias

Short question to the developers:

Just had a look into the sourcecode...
A close option for the toolbar is already existing, just seems to be only visible on raspberry pi
Are there any reasons why this is only visibly on RasperryPi?
Tested it on my Windows machine also as on my Odroid-XU4 running Ubuntu Mate 16.04 and it seems to work well.

Showing this icon always would be really simple and should give the feature most asked for in this thread.
Baer
Posts: 96
Joined: Fri Jan 15, 2016 8:40 am
Real Name: Matthias

Noone who can answer why the close button in the toolbar is only activ on Raspberry Pi?

Changes seems rather simple, but I'm not deep enough into qlc+ source to guarantee that there are no side effects.
User avatar
mcallegari
Posts: 4462
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

The Raspberry Pi image doesn't have a window manager, therefore windows don't have a "X" icon to close them, so there's no way to exit QLC+, even with a mouse.
User avatar
edogawa
Posts: 567
Joined: Thu May 07, 2015 10:34 am
Real Name: Edgar Aichinger

Maybe it's just my system (linux/openSUSE Tumbleweed, KDE5), but the Alt-F4 keycombo for program exit works for me, both in windowed and fullscreen mode...

Cheers, Edgar
Baer
Posts: 96
Joined: Fri Jan 15, 2016 8:40 am
Real Name: Matthias

mcallegari wrote: Wed May 10, 2017 12:33 pm The Raspberry Pi image doesn't have a window manager, therefore windows don't have a "X" icon to close them, so there's no way to exit QLC+, even with a mouse.
That explains only why it exists on raspberry pi, but not why it is raspberry pi exclusive

Seems to be usefull for fullscreen mode for others to...
User avatar
mcallegari
Posts: 4462
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

I just pushed a change to have a generic behaviour both for the RPi and desktop versions.
If QLC+ is launched with the --nowm option, it will add extra buttons to close windows. This includes a button on the main toolbar to close QLC+.
Baer
Posts: 96
Joined: Fri Jan 15, 2016 8:40 am
Real Name: Matthias

Thanks this should work for me
will test it as soon there is some time
Post Reply