×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

EKOS window: always on top

  • Posts: 969
  • Thank you received: 94
ubuntu 20.04

Hi everyone

I cannot bring the e.g. kstars or fitsviewer to the front when the ekos window is onscreen.
I've tried many combinations of the gnome-tweak.tool modal dialogue on/off and EKOS as an independent window on/off, restarting kstars after each test.

Could anyone help with the correct combination to be able to bring other windows in front of the ekos window?

Cheers,
Steve
The following user(s) said Thank You: Paul Muller
Last edit: 3 years 7 months ago by alacant.
3 years 7 months ago #58812

Please Log in or Create an account to join the conversation.

  • Posts: 294
  • Thank you received: 54
What I usually end-up doing is use virtual workspaces for each of Kstars, EKOS and INDI, maximised, so I use the full screen size for each of them. I can then move from one to another with CTRL-ALT-Right(or Left)Arrow. You have to go into Kstars settings first in order to set EKOS and INDI as independant windows first. Makes it easy and clutterless.
3 years 7 months ago #58814

Please Log in or Create an account to join the conversation.

  • Posts: 969
  • Thank you received: 94

Replied by alacant on topic EKOS window: always on top

Hi
Thanks for the reply and tip.

In 18.04 I can bring the kstars window in front of the EKOS window. In 20.04, I can't.

Does anyone know how I can get the 18.04 behaviour on. 20.04?
TIA
3 years 7 months ago #58817

Please Log in or Create an account to join the conversation.

  • Posts: 535
  • Thank you received: 109

Replied by Jim on topic EKOS window: always on top

I have had this same problem in Fedora as well, and have learned to live with it. I asked about it on here a while back, but never figured it out. I would like to figure it out.

It would not be a terrible thing except all the sub dialog windows open under the Ekos window, and you never see them unless you move the Ekos window. If you don't know to look for them,
then the system behaves very strangely indeed as it waits for 30 seconds, then closes all without the user ever seeing that it popped under Ekos.

How can I help?

Jim
The following user(s) said Thank You: Paul Muller
3 years 7 months ago #58818

Please Log in or Create an account to join the conversation.

  • Posts: 969
  • Thank you received: 94

Replied by alacant on topic EKOS window: always on top

Hi

I've put in a request here:
www.indilib.org/forum/wish-list/7584-bri...the-ekos-window.html

If we can do it in Ubuntu 18.04, why can't we do it in 20.04?

Thanks
3 years 7 months ago #58820

Please Log in or Create an account to join the conversation.

  • Posts: 535
  • Thank you received: 109

Replied by Jim on topic EKOS window: always on top

related perhaps: indilib.org/forum/wish-list/6318-pop-up-...of-ekos-desktop.html

and my initial report of the pop-under problem with the Ekos window is in here. The other problem from that thread was out of date INDI packages, which I fixed.

www.indilib.org/forum/ekos/6789-issues-w...d-for-the-night.html

Jim
3 years 7 months ago #58821

Please Log in or Create an account to join the conversation.

  • Posts: 216
  • Thank you received: 120
Yeah, the dialogs that pop under have caused me issues before. The mount control dialog stays below Ekos as well.
3 years 7 months ago #58822

Please Log in or Create an account to join the conversation.

  • Posts: 969
  • Thank you received: 94

Replied by alacant on topic EKOS window: always on top

I think this is perhaps window manager related. Whatever it is by default in 18.04 works.

Whatever in 20.04, doesn't. It would be great is this were not wm specific though.

Cheers
3 years 7 months ago #58824

Please Log in or Create an account to join the conversation.

  • Posts: 216
  • Thank you received: 120
I've seen it in both MATE and Xfce4. Maybe a new version of Qt in 20.04 that is causing it?
3 years 7 months ago #58825

Please Log in or Create an account to join the conversation.

  • Posts: 535
  • Thank you received: 109

Replied by Jim on topic EKOS window: always on top

gnome 3.36 here. Other windows behave the way they should though, so I am still suspecting there is something set somewhere in the code on spawning the window, perhaps around the checkbox in the preferences that allows one to specify "Independent Window", as this does not seem to make any difference for me whether checked or not checked.

It does this on a fresh OS install as well, so is not a local setting either.

qt 5.14 here

Jim
The following user(s) said Thank You: Paul Muller
Last edit: 3 years 7 months ago by Jim. Reason: added Qt info
3 years 7 months ago #58826

Please Log in or Create an account to join the conversation.

  • Posts: 216
  • Thank you received: 120
According to this Qt forum post, it looks like it is because the Ekos manager class is a QDialog, not a QWidget. Or it should be handled when you don't give it a parent (which is what the independent window checkbox does). Not sure why it's still doing it...

forum.qt.io/topic/92036/qdialog-making-t...-windows-goes-behind
The following user(s) said Thank You: Paul Muller
Last edit: 3 years 7 months ago by Rick Bassham.
3 years 7 months ago #58827

Please Log in or Create an account to join the conversation.

  • Posts: 216
  • Thank you received: 120
Adding
    setWindowFlags(Qt::Window);

in
Manager::Manager(QWidget * parent) : QDialog(parent)

just before
    setupUi(this);

seems to fix it.
The following user(s) said Thank You: Jim, Paul Muller
3 years 7 months ago #58830

Please Log in or Create an account to join the conversation.

Time to create page: 0.670 seconds