<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>249628</bug_id>
          
          <creation_ts>2010-08-31 15:11:06 +0000</creation_ts>
          <short_desc>MarbleWidget::zoomView(MarbleWidget::zoom()) is off by one</short_desc>
          <delta_ts>2010-10-13 23:04:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>marble</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 (KDE 4.6)</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Volker Lanz">vl</reporter>
          <assigned_to>marble-bugs</assigned_to>
          <cc>bastianholst</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1012014</commentid>
    <comment_count>0</comment_count>
    <who name="Volker Lanz">vl</who>
    <bug_when>2010-08-31 15:11:06 +0000</bug_when>
    <thetext>Version:           unspecified (using Devel) 
OS:                MS Windows

This little snippet:

-----

Marble::MarbleWidget* marbleWidget = new Marble::MarbleWidget(this);

// ...

const int zoom = marbleWidget-&gt;zoom();

// ...

marbleWidget-&gt;zoomView(zoom);

-----

should not, AFAICS, change the zoom for a marble widget; it zooms out a tiny bit, however. Calling marbleWidget-&gt;zoomView(zoom + 1) fixes this, so I suspect there&apos;s an off by one error somewhere.


Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1031735</commentid>
    <comment_count>1</comment_count>
    <who name="Dennis Nienhüser">nienhueser</who>
    <bug_when>2010-10-13 20:44:42 +0000</bug_when>
    <thetext>SVN commit 1185567 by nienhueser:

Round, don&apos;t cut.
BUG: 249628
CCBUG: 254000

 M  +1 -1      MarbleMap.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=1185567</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1031778</commentid>
    <comment_count>2</comment_count>
    <who name="Bastian Senst">bastianholst</who>
    <bug_when>2010-10-13 23:04:20 +0000</bug_when>
    <thetext>SVN commit 1185602 by bholst:

* Round, don&apos;t cut.
* Make sure the right zoom-level is saved.

BUG: 249628

backport r1185567
backport r1185591

 M  +10 -3     MarbleMap.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=1185602</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>