Lazarus

Programming => LCL => Topic started by: winni on October 13, 2020, 11:34:03 pm

Title: fsStayOnTop for virtual screens???
Post by: winni on October 13, 2020, 11:34:03 pm
Hi!

fsStayOnTop and fsSytemStayOnTop work as exspected.

But is there a solution that a Form stays on all virtual Desktops
of a Linux Window Manager like KDE, gnome etc. ????

Winni

Title: Re: fsStayOnTop for virtual screens???
Post by: winni on October 14, 2020, 03:04:04 pm
Nobody??
Title: Re: fsStayOnTop for virtual screens???
Post by: jamie on October 14, 2020, 03:47:25 pm
you remind me of the old commercial about maytag repairman...

the loneliest guy in town, no body calling him for help!
https://www.youtube.com/watch?v=rXJ0rAyE_mQ
Title: Re: fsStayOnTop for virtual screens???
Post by: lucamar on October 14, 2020, 03:59:03 pm
I know that it can be done; at least most window managers have an option for that in any program's "system" menu. What I don't know is how it could be done programatically, though it probably involves some DBus message or something like that.
Title: Re: fsStayOnTop for virtual screens???
Post by: winni on October 14, 2020, 08:37:37 pm
Thanx for the answer, lucamar

I've searched my known sources but did not find anything.

But now I know something useless:

How to prohibit that the user of your app does not change this virtual screen.
Very simple:

Code: Pascal  [Select][+][-]
  1. screen.MoveFormToZFront(self);  

My hope was that the app would appear on the virt screen I just changed to.
But - buff - I was sent back to the virt screen I came from. 
Must have a deeper look.

If that does not help I will have  a look to the KDE interface.

Winni


 
TinyPortal © 2005-2018