Your message dated Fri, 25 Sep 2009 21:21:54 +0200
with message-id <[email protected]>
and subject line merkaartor: Please support the track marks written with maemo 
mapper
has caused the Debian Bug report #519346,
regarding merkaartor: Please support the track marks written with maemo mapper
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
519346: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519346
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: merkaartor
Version: 0.12+svn13563-1
Severity: normal
Tags: patch


Hi!

As written to upstream maillist at 
http://www.mail-archive.com/[email protected]/msg00655.html
without replies..

Apparantly, at least maemo mapper can create descriptions on
trackpoints
without marking it as waypoints.

I would like the description shown in the info box as well as the
trackpoint
shown a bit different.

After reading the code a bit, I figured out that only waypoints showed
descriptions and was marked special, so I just duplicated it to just
check for
descriptions.


Patch attached.

/Sune


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages merkaartor depends on:
ii  libc6                  2.9-4             GNU C Library: Shared libraries
ii  libexiv2-4             0.17.1-1          EXIF/IPTC metadata manipulation li
ii  libgcc1                1:4.3.3-4         GCC support library
ii  libqt4-network         4.4.3-2           Qt 4 network module
ii  libqt4-svg             4.4.3-2           Qt 4 SVG module
ii  libqt4-webkit          4.4.3-2           Qt 4 WebKit module
ii  libqt4-xml             4.4.3-2           Qt 4 XML module
ii  libqtcore4             4.4.3-2           Qt 4 core module
ii  libqtgui4              4.4.3-2           Qt 4 GUI module
ii  libstdc++6             4.3.3-4           The GNU Standard C++ Library v3
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

merkaartor recommends no packages.

merkaartor suggests no packages.

-- debconf-show failed
--- a/Map/TrackPoint.cpp
+++ b/Map/TrackPoint.cpp
@@ -390,12 +390,12 @@
        if (speed())
                D += "<i>"+QApplication::translate("MapFeature", "speed")+": 
</i>" + QString::number(speed(), 'f', 4) + "<br/>";
 
+       if ((i = findKey("_description_")) < tagSize())
+               D += "<i>"+QApplication::translate("MapFeature", 
"description")+": </i>" + tagValue(i) + "<br/>";
+
        if ((i = findKey("_waypoint_")) < tagSize()) {
                D += "<p><b>"+QApplication::translate("MapFeature", 
"Waypoint")+"</b><br/>";
 
-               if ((i = findKey("_description_")) < tagSize())
-                       D += "<i>"+QApplication::translate("MapFeature", 
"description")+": </i>" + tagValue(i) + "<br/>";
-
                if ((i = findKey("_comment_")) < tagSize())
                        D += "<i>"+QApplication::translate("MapFeature", 
"comment")+": </i>" + tagValue(i) + "<br/>";
        }
--- a/PaintStyle/EditPaintStyle.cpp
+++ b/PaintStyle/EditPaintStyle.cpp
@@ -223,7 +223,7 @@
                        {
                                QPointF P(p->theProjection.project(Pt));
 
-                               if (Pt->findKey("_waypoint_") != Pt->tagSize()) 
{
+                               if (Pt->findKey("_waypoint_") != Pt->tagSize() 
|| Pt->findKey("_description_") < Pt->tagSize()) {
                                        QRectF R(P-QPointF(4,4),QSize(8,8)); 
                                        
p->thePainter.fillRect(R,QColor(255,0,0,128)); 
                                }

--- End Message ---
--- Begin Message ---
Version: 0.14+svnfixes~20090912-1

Hi,

this should be fixed in 0.14, please give it a try and reopen the bug if it
doesn't work as expected.

Cheers,

Bernd
-- 
Bernd Zeimetz
Tel.: +49 (0)21 61 / 46 43-198

credativ GmbH, HRB Mönchengladbach 12080
Hohenzollernstr. 133, 41061 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz


--- End Message ---

Reply via email to