Recent

Author Topic: fsStayOnTop for virtual screens???  (Read 956 times)

winni

  • Hero Member
  • *****
  • Posts: 3197
fsStayOnTop for virtual screens???
« 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


winni

  • Hero Member
  • *****
  • Posts: 3197
Re: fsStayOnTop for virtual screens???
« Reply #1 on: October 14, 2020, 03:04:04 pm »
Nobody??

jamie

  • Hero Member
  • *****
  • Posts: 6130
Re: fsStayOnTop for virtual screens???
« Reply #2 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
The only true wisdom is knowing you know nothing

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: fsStayOnTop for virtual screens???
« Reply #3 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.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: fsStayOnTop for virtual screens???
« Reply #4 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