configure dialogs aren't updated

Bug #610174 reported by Jakub Suchý
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Medium
Unassigned

Bug Description

I've an own plugin which changes some values contained in the F4 dialog window (for example light pollution, shooting star ZHR, landscape). When the dialog is showed for the first time, everything is ok (the dialog is initialized). Then the plugin changes the values. And when the dialog is showed for the second time, the values are out of date. (I think it happens because the values in the dialog are set when the dialog is showed for the first time - and then the values aren't updated.)

Tags: gui
Revision history for this message
treaves (treaves) wrote :

Unfortunately, the dialogs are not closed when a user closes one; it is just hidden. This is a design flaw, but, it's there. In the ViewDialog class, there is a method that is responsible for sync'ing the dialog with programatic changes. However, it is only doing so for Sky Culture and Default Landscape.

So, yes, it looks like most values are populated only when the dialog is created.

Changed in stellarium:
status: New → Confirmed
Revision history for this message
Alexander Wolf (alexwolf) wrote :

What's news?

Changed in stellarium:
milestone: none → 0.11.2
importance: Undecided → Medium
Changed in stellarium:
milestone: 0.11.2 → 1.0.0
Changed in stellarium:
milestone: 1.0.0 → none
tags: added: gui
Revision history for this message
gzotti (georg-zotti) wrote :

This is one of the issues solved permanently since V0.15.0 by using the StelProperty system! I think we can declare this solved and even fix released. Not sure if OP is still reading this. In case some GUI panels still get out of sync, they must be fixed to use StelProperties.

Changed in stellarium:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.