After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 330824 - Widgets are sometimes misaligned
Widgets are sometimes misaligned
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: [obsolete] Backend: directfb
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
Michael Emmel
Depends on:
Blocks:
 
 
Reported: 2006-02-11 20:25 UTC by Attilio Fiandrotti
Modified: 2007-05-01 09:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix off by one error. (775 bytes, patch)
2006-04-18 12:45 UTC, Ville Syrjala
committed Details | Review

Description Attilio Fiandrotti 2006-02-11 20:25:23 UTC
Please describe the problem:
Sometimes it happens various widgets are misaligned, referring to the rest of
the window: this results in blank lines drawn on the screen (you see the classic
DFB blue background color drawn around the widget) and missing pixels at the
beginning of sentences displayed via GTKTextView widgets.
The last problem is more serious, as many non-latin glyphs result unreadable if
the initial pixels are missing while the Debian supports a great number of
non-latin languages where this bug show up dramatilcally.
This bug was found by Davide viti <zinosat AT tiscali.it> and Mohammed Adnène
Trojette <adn AT diwi.org>, who produced an image [1] showing the cutted glyph bug.

[1] http://adn.diwi.org/tmp/italic-no-italic-nazli-only.png

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Ville Syrjala 2006-04-18 12:45:57 UTC
Created attachment 63792 [details] [review]
Fix off by one error.

I found this off by one error which probably causes your problems.
Comment 2 Matthias Clasen 2006-04-19 17:45:04 UTC
Mike, any chance to look at this ?
Also, any chance to clean up the cmdline args handling ?
Comment 3 Michael Emmel 2006-04-20 02:53:17 UTC
Appllied the patch from Ville as far as command line handling I'll be back working extensivly with gdk-directfb in two weeks I need to finish up some stuff on the WebKit port and start getting that checked in then I'll be on gdk agian.
I'll file a bug on the cmdline handling so I have it recoreded.

Also can some one see if this patch fixes the bug it looks like the culprit