×

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

Bi-monthly release with minor bug fixes and improvements

macOS - Dialog windows appear behind all other windows (which can be bad)

  • Posts: 1220
  • Thank you received: 565
This can be fixed for sure. It would be helpful if some people could try and list the offending windows you know about and can find
(e.g. play with simulator and make a list) in addition to the "Port Selector" window. I personally don't run on mac.

Hy
1 year 3 months ago #89319

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

  • Posts: 33
  • Thank you received: 0
I am willing to record my observations. The problem is, I just upgraded to Kstars 3.6.2 Stable using 'brew' over a 3.6.0 Stable version and now Kstars is very unstable. Kstars launches and I can connect to all devices in my profile but editing settings, for example setting frame width and height, causes Kstars to crash. I'll see if I can revert to 3.6.0 but I was trying to run 3.6.2 to see if the latest version fixed a different bug I was going to post about.
One thing to add is the Mac is a MacBookPro with Apple M1 Max chip.
Last edit: 1 year 3 months ago by David Maffitt.
1 year 3 months ago #89327

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

  • Posts: 33
  • Thank you received: 0
Ooooooooooh. Holy crap, guys. Kstars devs have a very different idea about versioning releases. Who adds new features in a patch version release? No wonder stuff blows up. You have to configure 'Trains' now and the config is hidden behind other windows.
1 year 3 months ago #89331

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

  • Posts: 6
  • Thank you received: 3

I have tried using KStars/Ekos on both an x86 MacBook Pro as well as an M1 MacBook Pro - and I see the same results on both with regards to the hidden dialog / modal windows. The dialog window issue does not appear to be related to Mac hardware for me. The only way I was able to figure out that there was a hidden dialog window open was that I was taking notes on the crashing issues and just happened to move the Ekos and Kstars window out of the way to jot down some notes in a text editor when I happened to see the little Port Chooser dialog open behind all other windows. Otherwise, I would have never figured out what was going on.

I have not had any crashes since - but I have not yet used everything for an imaging session - only testing on the bench. So far this is working for me:

Sky-Watcher AZ-EQ6 mount with EQMOD cable
ASI 1600MM-C main camera
ASI-120MM-S connected to 50mm Guide Scope
Moonlite Focuser / Stepper Motor with Moonlite controller
ASI FilterWheel

My INDI server (miniPC / Quieter3Q) is currently connected via ethernet as I am not ready to start worrying about WIFI issues yet.
INDIWebServer - whatever the latest is
1 year 3 months ago #89336

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

  • Posts: 33
  • Thank you received: 0
Happy New Year, all!
Here are my observations so far. I am just getting started with astrophotography so I have only exercised a tiny portion of the whole workflow. I'm learning on all fronts as I go. I'm over my shock that new features were added going from 3.6.0 to 3.6.2. My expectation was completely on just bug fixes.
1. 'About Kstars' dialog appears behind. Must minimize or move all other windows to see it.
2. "Are you sure you want to delete the profile" dialog appears behind.
3. Create a new profile and check 'port selector'. Start the profile. 'Port selector' window is always behind 'Ekos' and 'INDI Control Panel' windows. The only way to see it is to move these windows out of the way. Can not bring it to the front.

Possibly related but I don't always see the 'Select Train' dialog. Perhaps I just don't understand the UI flow to create new profiles. I created a new profile that included a different camera. When should I see the dialog to create a new Train? This dialog does not appear to be hidden but missing completely.
1 year 3 months ago #89340

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

  • Posts: 33
  • Thank you received: 0
More observation.
1. I wonder if this is some how related to the fact that Macs can have multiple desktops. These are multiple 'main windows' that a user can swipe between. They are desktops in that they have all the desktop icons, etc but can have different app windows on them. I just had a situation where the INDI Control Panel window would not come to the front but switching off and back on to its desktop allowed the control panel window come to the front. However, this did not help with getting the port selector window to the foreground.

2. The Mac has a way to show a view of all the windows associated with a Desktop. The Kstars window is shown but the Ekos window and the 'INDI Control panel' window (if open) are not shown in this view but should be. However, the Port Selector window is shown if it is open.

3. The "Lost connection with remote server" error dialog is another example of a dialog that is hidden behind other windows.
Last edit: 1 year 3 months ago by David Maffitt. Reason: adding more observations
1 year 3 months ago #89341

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

  • Posts: 33
  • Thank you received: 0
Would this thread be better served if copied to a bug report, so it doesn't get lost? Where is the best place to do that?
1 year 3 months ago #89594

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

  • Posts: 207
  • Thank you received: 28
Dave,

That's a good idea. There is a KStars bug reporting mechanism but it requires a different login than this forum. I'll have a look.

Also, I know that Hy had requested a list of areas where this is an issue and some of us have provided examples. I started to put together a list and then stopped because this problem is so prevalent in the system. Sometimes windows open behind other windows. Sometimes windows that require input are buried because a user clicks somewhere else on the screen - taking flat frames presents dialogs that require user input but which can be buried for example if the user clicks somewhere.

In any case, I'll see about filing this as an official bug report.
1 year 3 months ago #89595

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

  • Posts: 1220
  • Thank you received: 565
1 year 3 months ago #89596

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

  • Posts: 207
  • Thank you received: 28
Thanks Hy - I'm always a step behind. I filed the bug report but it would appear Rob is already on it!
1 year 3 months ago #89597

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

  • Posts: 2877
  • Thank you received: 811
Hello everyone,

Yes I worked on this about a week ago after someone brought it to my attention. I made some changes that should fix a lot of the problems I think.

To give some back story, when I was first working to port KStars to work on MacOS back in 2016/2017, I immediately ran into a huge issue. Unlike on Linux, where child windows appear above their parent windows and don't go behind them when you click the parent window, I found that on MacOS in QT, anything could end up behind the main planetarium window, from Ekos to the FitsViewer to any given Dialog or Alert window. This was a huge show stopper, because in a planetarium program, you often have to click on the Skymap to move to different parts of the sky, click on an object, get object details, or to do various tasks. In fact, often I found that you had to click something in Ekos, then slew the skymap and then do something in Ekos again. The problem was, every time I clicked the skymap, everything else and I do mean everything went behind it. This is a really big problem because in a Planetarium program, the Skymap is meant to be large if not full screen. You don't have to use it this way and not everyone does, but really if a planetarium program can't keep its skymap behind all the other windows, it really can't be used like a Planetarium program. That is a problem.

I thought this would be fairly easy to fix, but I was wrong. There were multiple solutions that I tried and finally the one that mostly worked was to use "Tool Windows" and "Window flags" to keep everything in front of the skymap. There were some side effects of this and it was not the best solution in the world, but it was better than the previous issue. Unfortunately the side effect was that sometimes some windows ended up behind others and that was really annoying. So some of the issues you have observed are actually the original issue of things that go behind everything else. They include the "About KStars" window and the "Port Selector" window that were mentioned a few posts ago. And some issues were a side effect of the solution such as the dialog that was mentioned. I am sorry about these side effects of my solution but you should note that it was much worse before I did that work back in 2017. Most of you never saw how it worked before my changes back then, so you don't know how annoying it was. But believe me I know that I need to eliminate the side effects for usability. So I came back to this problem last week and I will try to fix it to make it work better.

When I revisited the problem last week, I think I finally managed to fix the side effects that were really annoying so that the dialog should not go behind now. I (and Hy) also fixed a couple of windows to which the solution was never applied such as the port selector window. But note that the "About KStars" window is not one that I can apply my solution to since KStars does not include the function that actually makes that dialog appear so we can't edit the window properties at all. Another one like that is the "Configure Notifications" window. We just don't have access to it. But I can certainly make sure my fix is applied to all the others that we can control and I think I can fix it so that side effect with the dialogs doesn't happen anymore.

Thanks for the feedback,

Rob
The following user(s) said Thank You: Frederick Ruegsegger
1 year 3 months ago #89599

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

  • Posts: 33
  • Thank you received: 0
Checking on the status of this. It looks like the merge request is scheduled for v3.6.4 which is end of March?

Thanks
Dave
1 year 1 month ago #90943

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

Time to create page: 2.333 seconds