[JHV 2.1] Problem with zoom scale display in info bar
Bug #690422 reported by
Daniel Mueller
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
JHelioviewer |
Fix Released
|
High
|
Malte Nuhn | ||
2.0 |
Fix Released
|
Undecided
|
Malte Nuhn |
Bug Description
trunk rev. 383:
When I zoom, the zoom scale displayed in the info bar is sometimes not updated correctly - but not always. I don't see the underlying pattern yet. Can anyone confirm this? Could it be related to the new zoom-to-
Cheers,
Daniel
Changed in jhelioviewer: | |
status: | New → Confirmed |
assignee: | nobody → Markus Langenberg (markus-langenberg) |
Changed in jhelioviewer: | |
milestone: | 2.1.2 → 2.1.3 |
Changed in jhelioviewer: | |
milestone: | 2.1.3 → 2.1.4 |
assignee: | Markus Langenberg (markus-langenberg) → Malte Nuhn (malte.nuhn) |
Changed in jhelioviewer: | |
milestone: | 2.1.4 → 2.1.5 |
Changed in jhelioviewer: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I had a closer look at this one. From what I can see, the value is only updated, when the renderer has actually new (zoomed) data to display. When zooming out, I first see a "black border" (where the the surrounding data should be display). Only when this "black border" is replaced by the surrounding image data, the zoom value changes.
(This can't be the full story - I just observed some other patterns ...)
However, the component's (ZoomStatusPanel) updateZoomLevel method is called correctly, so the value IS actually refreshed immediately.
The problem seems to be in ZoomController's "getZoom()" method: It only returns the updated (correct) values after "some time".
So to summarize:
Someone with more "renderer knowledge" should have a closer look at ZoomController : getZoom()
Cheers
Malte