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 536218 - GtkMessageDialog hides some of the text in right-to-left direction
GtkMessageDialog hides some of the text in right-to-left direction
Status: RESOLVED DUPLICATE of bug 530255
Product: gtk+
Classification: Platform
Component: Widget: Other
2.12.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-06-02 11:53 UTC by Noam Raphael
Modified: 2008-06-02 21:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
A screenshot showing the clipped text (14.93 KB, image/png)
2008-06-02 11:56 UTC, Noam Raphael
Details

Description Noam Raphael 2008-06-02 11:53:57 UTC
Please describe the problem:
When a GtkMessageDialog is displayed in a right-to-left direction, and has enough text in it, and has an image, the image hides some of the text. There's no way to resize the window and see all the text. This happens in many applications which use GtkMessageDialog - I use ubuntu in the Hebrew language, and every now and then I'm iritated by dialogs showing only part of the text, forcing me to find out the missing words.

Steps to reproduce:
Run this pygtk snippet, in a right-to-left environment. You can run "LANGUAGE=he_IL.UTF-8 python":

import gtk
primary = u"אThis is the primary. It should be long enough to show the problem."
secondary = u"אOn the other hand, this is the secondary. It should be long enough too."
dialog = gtk.MessageDialog(None,gtk.DIALOG_MODAL,
                           gtk.MESSAGE_ERROR,gtk.BUTTONS_CLOSE,"")
dialog.set_markup(primary);
dialog.format_secondary_text(secondary);
dialog.run()
dialog.destroy()

This is simply a dialog with long primary and secondary texts. I've added a hebrew letter before the English strings, so that they will be displayed from right to left.

Actual results:
You see a dialog with cropped text. See screenshot.

Expected results:
Well, see a dialog with all the text displayed...

Does this happen every time?
Yes.

Other information:
Comment 1 Noam Raphael 2008-06-02 11:56:23 UTC
Created attachment 111945 [details]
A screenshot showing the clipped text
Comment 2 Jan Arne Petersen 2008-06-02 21:52:48 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.


*** This bug has been marked as a duplicate of 530255 ***