GNOME Bugzilla – Bug 536218
GtkMessageDialog hides some of the text in right-to-left direction
Last modified: 2008-06-02 21:52:48 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:
Created attachment 111945 [details] A screenshot showing the clipped text
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 ***