[marble] [Bug 376626] New: View does not recenter after loading of file

Werner Stille bugzilla_noreply at kde.org
Sat Feb 18 16:49:42 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=376626

            Bug ID: 376626
           Summary: View does not recenter after loading of file
           Product: marble
           Version: 2.1 (KDE Applications 16.12)
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: marble-bugs at kde.org
          Reporter: ws at werner-stille.de
  Target Milestone: ---

Created attachment 104101
  --> https://bugs.kde.org/attachment.cgi?id=104101&action=edit
Patch for automatic recentering after loading files

When using MarbleWidget::model()->addGeoDataFile() to load a file, the view
is not recentered any more according to the content, in contrast to the
previous Marble version (2.0).

It seems that after inserting the new parameter "renderOrder" in
FileManager::addFile(), the call of that function in
MarbleModel::addGeoDataFile() was not updated correctly to pass the
value "true" for the parameter "recenter".

The attached patch seems to cure the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list