Mable disappears

Linus Torvalds torvalds at linux-foundation.org
Sat Nov 2 12:44:49 UTC 2013


On Sat, Nov 2, 2013 at 12:30 PM, Willem Ferguson
<willemferguson at zoology.up.ac.za> wrote:
> I am running into an unusual problem. I was testing all the different views
> in the View submenu of the main menu bar. Started at the top, working my way
> down the submenu (View All, List, profile, Info, etc). When I returned to
> View All, the Marble map had disappeared and I cannot locate it any more.

It's still there, it's just hiding. You can (literally) drag it out of
hiding by going to the very right side of the divelist, and drag the
divider that is there to the left, uncovering the map view.

But yeah, "View All" shouldn't hide it. You can try something like this

    diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
    index 2be60edb7dda..c23fdbddad3d 100644
    --- a/qt-ui/mainwindow.cpp
    +++ b/qt-ui/mainwindow.cpp
    @@ -379,8 +379,7 @@ void MainWindow::on_actionViewAll_triggered()
            // big number squash the info profile to it's minimum.
            ui.infoProfileSplitter->setSizes(QList<int>() << 1 << 20000);

    -       // big number squash the globe view.
    -       ui.listGlobeSplitter->setSizes(QList<int>() << 2000 << 1 );
    +       ui.listGlobeSplitter->setSizes(QList<int>() << 500 << 200 );

            // half and half?
            ui.mainSplitter->setSizes( QList<int>() << 1 << 1);

and play with the sizes to see what works best.

              Linus


More information about the subsurface mailing list