Tomboy notes printing problem: indentation

Bug #516494 reported by Stefan Becuwe
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
tomboy
Fix Released
Medium
tomboy (Ubuntu)
Fix Released
Low
Sebastien Bacher
Lucid
Fix Released
Low
Sebastien Bacher

Bug Description

Binary package hint: yelp

Ubuntu 9.10
Tomboy 1.0.0-0ubuntu2

Indentation (different levels of bullets) is lost when printing notes directly or by sending them to a pdf file. According to earlier bugreports, this bug should have been fixed already, but I don't see it in version 1.0.0.

Moreover, Preferences/Add-ins/Desktop Integration shows both Printing Support 0.1 and 0.2. The problem described above occurs with both versions of Printing Support.

Exporting to html preserves indentation, but whitespace between (bulleted) items seems to be rather large.

ProblemType: Bug
Architecture: amd64
Date: Wed Feb 3 12:12:30 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/yelp
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: yelp 2.28.0-0ubuntu2
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: yelp
Uname: Linux 2.6.31-17-generic x86_64

Revision history for this message
Stefan Becuwe (stefan-becuwe) wrote :
affects: yelp (Ubuntu) → tomboy (Ubuntu)
Revision history for this message
Owen Williams (ywwg) wrote :

This bug has been around forever, which led me to believe the problem was difficult. On the contrary!

This patch fixes it. Right now the indentation is just 1/3 of an inch, so someone may want to change that.

Revision history for this message
Sandy Armstrong (sanfordarmstrong) wrote :

Owen, thanks for the patch! I'll try it out and apply it upstream as soon as I can.

Next time, please please please send your patches upstream to GNOME bugzilla. If I had heard of this patch when you posted it, it could have been part of our upcoming 1.2.0 release. Now we're in hard code freeze and I can't apply the patch until 1.2.1 at the earliest. Distro bug reports are not the right place for patches like this.

But anyway, I'm just grateful to have a fix. Thanks again!

tags: added: patch
Revision history for this message
Owen Williams (ywwg) wrote :

Ah, well. I never quite know where to submit bug reports -- I thought the distro was the first line of defense, and then they'd pass it upstream if it wasn't their problem.

Revision history for this message
Sandy Armstrong (sanfordarmstrong) wrote :

Owen, it *can* work that way, but it usually introduces a delay which can be a bit unfortunate. The general rule of thumb is to submit patches directly upstream unless you are reasonably sure the problem is specific to your distro.

Changed in tomboy (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sandy Armstrong (sanfordarmstrong) wrote :

This has been pushed to Tomboy git, and should be in the upcoming 1.2.1 and 1.3.0 releases.

Many thanks for the patch, Owen. If you're interested in doing more work on this, fixing the second line of a bullet to align with the beginning of the text of the previous line (instead of aligning with the bullet character) would be another nice aesthetic improvement.

Changed in tomboy (Ubuntu):
status: New → Confirmed
Changed in tomboy (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in tomboy (Ubuntu Lucid):
assignee: nobody → Sebastien Bacher (seb128)
assignee: Sebastien Bacher (seb128) → nobody
Revision history for this message
Sebastien Bacher (seb128) wrote :

the 1.2.1 update has been uploaded as a lucid SRU update now

Changed in tomboy (Ubuntu Lucid):
assignee: nobody → Sebastien Bacher (seb128)
Revision history for this message
Sandy Armstrong (sanfordarmstrong) wrote : Re: [Bug 516494] Re: Tomboy notes printing problem: indentation

Thanks seb, you rock! :-)

On Wed, Apr 28, 2010 at 2:22 AM, Sebastien Bacher <email address hidden> wrote:
> the 1.2.1 update has been uploaded as a lucid SRU update now

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted tomboy into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Mitch Towner (kermiac) wrote :

I can confirm this bug when printing a note & exporting it to a pdf file. Exporting to .html keeps formatting intact

See 516494_01.png for screenshot of note used for verification of this bug
See 516494_01.pdf for this note exported to .pdf
See 516494_01.html for this note exported to .html

$ apt-cache policy tomboy
tomboy:
  Installed: 1.2.0-0ubuntu1
  Candidate: 1.2.1-0ubuntu1
  Version table:
     1.2.1-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ lucid-proposed/main Packages
 *** 1.2.0-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

______________________________________

I applied the updated package from -proposed

$ apt-cache policy tomboy
tomboy:
  Installed: 1.2.1-0ubuntu1
  Candidate: 1.2.1-0ubuntu1
  Version table:
 *** 1.2.1-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ lucid-proposed/main Packages
        100 /var/lib/dpkg/status
     1.2.0-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages

I can now confirm that the formatting (different levels of bullet points) is preserved when printing a note & exporting it to a pdf file. I can also confirm that exporting to .html still keeps the formatting intact.

See 516494_02.pdf for this note exported to .pdf with -proposed package
See 516494_02.html for this note exported to .html with -proposed package

Revision history for this message
Mitch Towner (kermiac) wrote :
Revision history for this message
Mitch Towner (kermiac) wrote :
Revision history for this message
Mitch Towner (kermiac) wrote :
Revision history for this message
Mitch Towner (kermiac) wrote :
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tomboy - 1.2.1-0ubuntu1

---------------
tomboy (1.2.1-0ubuntu1) lucid-proposed; urgency=low

  * New upstream version:
    - Fix bullet list indentation when printing (lp: #516494)
    - Add timestamp to logger messages, useful for watching autosync output, etc
    - Other fixes: LP:#556628
 -- Sebastien Bacher <email address hidden> Wed, 28 Apr 2010 11:06:24 +0200

Changed in tomboy (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied lucid-proposed to maverick.

Changed in tomboy (Ubuntu):
status: Fix Committed → Fix Released
Changed in tomboy (Ubuntu Lucid):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tomboy - 1.2.1-0ubuntu1

---------------
tomboy (1.2.1-0ubuntu1) lucid-proposed; urgency=low

  * New upstream version:
    - Fix bullet list indentation when printing (lp: #516494)
    - Add timestamp to logger messages, useful for watching autosync output, etc
    - Other fixes: LP:#556628
 -- Sebastien Bacher <email address hidden> Wed, 28 Apr 2010 11:06:24 +0200

Changed in tomboy (Ubuntu Lucid):
status: Fix Committed → Fix Released
Changed in tomboy:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in tomboy:
status: Confirmed → Fix Released
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.