← Back to team overview

hugin-devs team mailing list archive

[Bug 1389952] Re: Fast Panorama preview doesn't honour 'overview' setting

 

Hi Terry,

I can't reproduce the issue on Windows. So we need to trackle down the
issue.

When the fast preview window is destroyed, the settings are stored (see
function GLPreviewFrame::~GLPreviewFrame() in
src/hugin1/hugin/GLPreviewFrame.cpp) in the preferences:

[GLPreviewFrame]
width=1278  -> width of window
height=515 -> height of window
positionX=0 -> x position
positionY=0 -> y position
maximized=0 -> window maximized or not
isShown=0 -> should fast preview window automatically opened at Hugin start
OpenGLLayout=layout2|name=preview;caption=Vorschau;state=896;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=300;besth=200;minw=300;minh=200;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=overview;caption=Übersicht;state=16779260;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=300;besth=200;minw=300;minh=200;maxw=-1;maxh=-1;floatx=500;floaty=500;floatw=100;floath=100|dock_size(5,0,0)=302|dock_size(4,0,0)=302|  -> layout of all sub windows (size, position, floated/docked...)
overview_hidden=1 -> overview shown or hidden
showPreviewGrid=0 > show or hide grid

When the fast preview window is shown, the settings are read in
GLPreviewFrame::GLPreviewFrame (around line 756) and in void
GLPreviewFrame::LoadOpenGLLayout().

The main items should be OpenGLLayout and overview_hidden.
Could you try to have a look at these 2 item?
Especially compare these two when all is okay and when the overview is wrongly shown (you have to check the preferences file when the issue happens, don't close Hugin before).

PS: The OpenGLLayout string is directly delivered from wxWidgets and
send back to wxWidgets. Hugin does not do any processing with this
string. So it may also be an issue in wxWidgets.

TIA

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1389952

Title:
  Fast Panorama preview doesn't honour 'overview' setting

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  Build of hugin_executor branch (6766:e2bc1c33f588) on Fedora 20 x86_64.
  I notice that when I open the Fast Panorama preview window I sometimes get the 'overview' pane, even though I haven't previously used this view. 
  To remove the 'overview' pane I have to select view -> overview (which isn't ticked even though the 'overview' pane is displayed), then repeat, this time deselecting it, and this closes the overview pane.
  This behaviour, which appears to be random, has been around for a while, and I should I have reported it earlier.

  Cheers,
  Terry

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1389952/+subscriptions


References