Letters in and near selection move by +-1 pixel

Bug #672263 reported by gpk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
abiword (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: abiword

If you select text on abiword with the left mouse button held down,
and you sweep the mouse to the right, you can see the letters near
the mouse pointer shimmer. They move by + or - 1 pixel as the mouse
pointer approaches them, and also as the mouse pointer passes them.

Somewhere, in the code that displays a selection, there is a fencepost
error. (Or, perhaps it's a fencepost error in the code that displays the
non-selected text?)

I have attached an image made from four screen captures as I selected
part of a word. The top is the reference, with no selection.
The next three select larger areas. All four images are aligned on the
left edge of the document.

I added two pink vertical bars for reference, and you can see that the
"r" is one pixel further leftwards in the bottom two images. You can also
see that the "v" is one pixel rightwards in the second image.

Not every letter moves equally, it seems. Perhaps it's a rounding error
for characters that are a non-integral number of pixels wide?

The font used was Times New Roman, 12 point.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: abiword 2.8.6-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-23.37-generic 2.6.35.7
Uname: Linux 2.6.35-23-generic x86_64
Architecture: amd64
Date: Sun Nov 7 19:58:36 2010
ExecutablePath: /usr/bin/abiword
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_GB.utf8
SourcePackage: abiword
XsessionErrors:
 (gnome-settings-daemon:3090): GdkPixbuf-CRITICAL **: gdk_pixbuf_format_get_name: assertion `format != NULL' failed
 (gnome-settings-daemon:3090): GdkPixbuf-CRITICAL **: gdk_pixbuf_format_get_name: assertion `format != NULL' failed
 (polkit-gnome-authentication-agent-1:3107): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:3108): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL' failed

Revision history for this message
gpk (gpk-kochanski) wrote :
Revision history for this message
gpk (gpk-kochanski) wrote :

Whoops, here's the image.

Revision history for this message
msevior (msevior-gmail) wrote : Re: [Bug 672263] Re: Letters in and near selection move by +-1 pixel

This is a known bug. Marc Maurer was working on a complete fix for the problem.

Cheers

Martin

On Mon, Nov 8, 2010 at 7:08 AM, gpk <email address hidden> wrote:
> Whoops, here's the image.
>
> ** Attachment added: "bug.png"
>   https://bugs.launchpad.net/ubuntu/+source/abiword/+bug/672263/+attachment/1726105/+files/bug.png
>
> --
> Letters in and near selection move by +-1 pixel
> https://bugs.launchpad.net/bugs/672263
> You received this bug notification because you are a member of AbiWord
> Stable Builds, which is subscribed to abiword in ubuntu.
>
> Status in “abiword” package in Ubuntu: New
>
> Bug description:
> Binary package hint: abiword
>
> If you select text on abiword with the left mouse button held down,
> and you sweep the mouse to the right, you can see the letters near
> the mouse pointer shimmer.  They move by + or - 1 pixel as the mouse
> pointer approaches them, and also as the mouse pointer passes them.
>
> Somewhere, in the code that displays a selection, there is a fencepost
> error.   (Or, perhaps it's a fencepost error in the code that displays the
> non-selected text?)
>
> I have attached an image made from four screen captures as I selected
> part of a word.    The top is the reference, with no selection.
> The next three select larger areas.    All four images are aligned on the
> left edge of the document.
>
> I added two pink vertical bars for reference, and you can see that the
> "r" is one pixel further leftwards in the bottom two images.   You can also
> see that the "v" is one pixel rightwards in the second image.
>
> Not every letter moves equally, it seems.    Perhaps it's a rounding error
> for characters that are a non-integral number of pixels wide?
>
> The font used was Times New Roman, 12 point.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.10
> Package: abiword 2.8.6-0ubuntu1
> ProcVersionSignature: Ubuntu 2.6.35-23.37-generic 2.6.35.7
> Uname: Linux 2.6.35-23-generic x86_64
> Architecture: amd64
> Date: Sun Nov  7 19:58:36 2010
> ExecutablePath: /usr/bin/abiword
> InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
> ProcEnviron:
>  SHELL=/bin/bash
>  PATH=(custom, user)
>  LANG=en_GB.utf8
> SourcePackage: abiword
> XsessionErrors:
>  (gnome-settings-daemon:3090): GdkPixbuf-CRITICAL **: gdk_pixbuf_format_get_name: assertion `format != NULL' failed
>  (gnome-settings-daemon:3090): GdkPixbuf-CRITICAL **: gdk_pixbuf_format_get_name: assertion `format != NULL' failed
>  (polkit-gnome-authentication-agent-1:3107): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
>  (nautilus:3108): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL' failed
>
>
>

Revision history for this message
msevior (msevior-gmail) wrote :

Sorry, misspelt uwog email address

On Tue, Nov 9, 2010 at 1:17 PM, Martin Sevior <email address hidden> wrote:
> This is a known bug. Marc Maurer was working on a complete fix for the problem.
>
> Cheers
>
> Martin
>
> On Mon, Nov 8, 2010 at 7:08 AM, gpk <email address hidden> wrote:
>> Whoops, here's the image.
>>
>> ** Attachment added: "bug.png"
>>   https://bugs.launchpad.net/ubuntu/+source/abiword/+bug/672263/+attachment/1726105/+files/bug.png
>>
>> --
>> Letters in and near selection move by +-1 pixel
>> https://bugs.launchpad.net/bugs/672263
>> You received this bug notification because you are a member of AbiWord
>> Stable Builds, which is subscribed to abiword in ubuntu.
>>
>> Status in “abiword” package in Ubuntu: New
>>
>> Bug description:
>> Binary package hint: abiword
>>
>> If you select text on abiword with the left mouse button held down,
>> and you sweep the mouse to the right, you can see the letters near
>> the mouse pointer shimmer.  They move by + or - 1 pixel as the mouse
>> pointer approaches them, and also as the mouse pointer passes them.
>>
>> Somewhere, in the code that displays a selection, there is a fencepost
>> error.   (Or, perhaps it's a fencepost error in the code that displays the
>> non-selected text?)
>>
>> I have attached an image made from four screen captures as I selected
>> part of a word.    The top is the reference, with no selection.
>> The next three select larger areas.    All four images are aligned on the
>> left edge of the document.
>>
>> I added two pink vertical bars for reference, and you can see that the
>> "r" is one pixel further leftwards in the bottom two images.   You can also
>> see that the "v" is one pixel rightwards in the second image.
>>
>> Not every letter moves equally, it seems.    Perhaps it's a rounding error
>> for characters that are a non-integral number of pixels wide?
>>
>> The font used was Times New Roman, 12 point.
>>
>> ProblemType: Bug
>> DistroRelease: Ubuntu 10.10
>> Package: abiword 2.8.6-0ubuntu1
>> ProcVersionSignature: Ubuntu 2.6.35-23.37-generic 2.6.35.7
>> Uname: Linux 2.6.35-23-generic x86_64
>> Architecture: amd64
>> Date: Sun Nov  7 19:58:36 2010
>> ExecutablePath: /usr/bin/abiword
>> InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
>> ProcEnviron:
>>  SHELL=/bin/bash
>>  PATH=(custom, user)
>>  LANG=en_GB.utf8
>> SourcePackage: abiword
>> XsessionErrors:
>>  (gnome-settings-daemon:3090): GdkPixbuf-CRITICAL **: gdk_pixbuf_format_get_name: assertion `format != NULL' failed
>>  (gnome-settings-daemon:3090): GdkPixbuf-CRITICAL **: gdk_pixbuf_format_get_name: assertion `format != NULL' failed
>>  (polkit-gnome-authentication-agent-1:3107): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
>>  (nautilus:3108): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL' failed
>>
>>
>>
>

Revision history for this message
uwog (uwog-uwog) wrote :

Ah yes, I'll need to dig that patch up. It is not completed, but maybe
martin can complete it.

   Marc

On Tue, 2010-11-09 at 13:18 +1100, Martin Sevior wrote:
> Sorry, misspelt uwog email address
>
> On Tue, Nov 9, 2010 at 1:17 PM, Martin Sevior <email address hidden> wrote:
> > This is a known bug. Marc Maurer was working on a complete fix for the problem.
> >
> > Cheers
> >
> > Martin
> >
> > On Mon, Nov 8, 2010 at 7:08 AM, gpk <email address hidden> wrote:
> >> Whoops, here's the image.
> >>
> >> ** Attachment added: "bug.png"
> >> https://bugs.launchpad.net/ubuntu/+source/abiword/+bug/672263/+attachment/1726105/+files/bug.png
> >>
> >> --
> >> Letters in and near selection move by +-1 pixel
> >> https://bugs.launchpad.net/bugs/672263
> >> You received this bug notification because you are a member of AbiWord
> >> Stable Builds, which is subscribed to abiword in ubuntu.
> >>
> >> Status in “abiword” package in Ubuntu: New
> >>
> >> Bug description:
> >> Binary package hint: abiword
> >>
> >> If you select text on abiword with the left mouse button held down,
> >> and you sweep the mouse to the right, you can see the letters near
> >> the mouse pointer shimmer. They move by + or - 1 pixel as the mouse
> >> pointer approaches them, and also as the mouse pointer passes them.
> >>
> >> Somewhere, in the code that displays a selection, there is a fencepost
> >> error. (Or, perhaps it's a fencepost error in the code that displays the
> >> non-selected text?)
> >>
> >> I have attached an image made from four screen captures as I selected
> >> part of a word. The top is the reference, with no selection.
> >> The next three select larger areas. All four images are aligned on the
> >> left edge of the document.
> >>
> >> I added two pink vertical bars for reference, and you can see that the
> >> "r" is one pixel further leftwards in the bottom two images. You can also
> >> see that the "v" is one pixel rightwards in the second image.
> >>
> >> Not every letter moves equally, it seems. Perhaps it's a rounding error
> >> for characters that are a non-integral number of pixels wide?
> >>
> >> The font used was Times New Roman, 12 point.
> >>
> >> ProblemType: Bug
> >> DistroRelease: Ubuntu 10.10
> >> Package: abiword 2.8.6-0ubuntu1
> >> ProcVersionSignature: Ubuntu 2.6.35-23.37-generic 2.6.35.7
> >> Uname: Linux 2.6.35-23-generic x86_64
> >> Architecture: amd64
> >> Date: Sun Nov 7 19:58:36 2010
> >> ExecutablePath: /usr/bin/abiword
> >> InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
> >> ProcEnviron:
> >> SHELL=/bin/bash
> >> PATH=(custom, user)
> >> LANG=en_GB.utf8
> >> SourcePackage: abiword
> >> XsessionErrors:
> >> (gnome-settings-daemon:3090): GdkPixbuf-CRITICAL **: gdk_pixbuf_format_get_name: assertion `format != NULL' failed
> >> (gnome-settings-daemon:3090): GdkPixbuf-CRITICAL **: gdk_pixbuf_format_get_name: assertion `format != NULL' failed
> >> (polkit-gnome-authentication-agent-1:3107): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
> >> (nautilus:3108): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL' failed
> >>
> >>
> >>
> >

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here.

Has there been any further development on the patch? Is there an upstream bug for this issue?

Thanks for taking the time to make Ubuntu better!

Changed in abiword (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Thank you for reporting this bug to Ubuntu. Ubuntu 10.10 reached EOL on April 10, 2012.
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

I've tried recreating this bug with your release and was unable to, given the information you've provided. Please upgrade to the latest version and re-test. If the bug is still reproducible, increase the verbosity of the steps to recreate it so we can try again.

Do feel free to report any other bugs you may find.

Changed in abiword (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for abiword (Ubuntu) because there has been no activity for 60 days.]

Changed in abiword (Ubuntu):
status: Incomplete → Expired
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.