Quit doesn't quit

Bug #1261153 reported by Willeke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
New
Undecided
Unassigned

Bug Description

When Hugin is in advanced or expert mode and the Fast Preview window is the front window, Quit doesn't stop Hugin but closes the Fast Preview window.

Hugin 2013.0.0
Mac OS X 10.6.8 and OS X 10.9.0

Revision history for this message
zarl (carl-einem) wrote :

Happens here too (OS X 10.6.8 / Hugin 2013.0.0)

I suspect something is wrong with the Mac build as some of the Menu shortcuts just don't work in this version, e.g. Preferences should open with Cmd+Comma. Also this version starts using the English language version no matter which system language is set.

Revision history for this message
Niklas Mischkulnig (mischnic) wrote :

This it not a bug, but a "feature".
OnClose gets called the same if you close the window via the red button and if you do Cmd+Q. We would need to detect that difference.
At least on Mac it would make sense to make Cmd+W close the preview WINDOW
and Cmd+Q QUIT Hugin completely regardless of the current window.

GLPreviewFrame.cpp:1425

// do not close, just hide if we're not forced
if(m_guiLevel==GUI_SIMPLE)
{
    if(!MainFrame::Get()->CloseProject(event.CanVeto()))
    {
       if (event.CanVeto())
       {
           event.Veto();
           return;
       };
    };
    MainFrame::Get()->Close(true);
}
else
{
    if (event.CanVeto())
    {
        event.Veto();
        Hide();
        DEBUG_DEBUG("hiding");
    }
    else
    {
        DEBUG_DEBUG("closing");
        this->Destroy();
    }
};

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.