GNOME Bugzilla – Bug 338149
About dialog comment not shown correctly
Last modified: 2008-01-12 20:12:28 UTC
Please describe the problem: With some special strings set as commment the About dialog does not show them correctly. The string "AisleRiot provides a rule-based solitaire card engine that allows many different games to be played." has 2 problems. 1) The string gets wrapped, but it looks as if the dialog box is not resized, so some of the text is not shown in the right side. Altering the text a bit will make the dialog box wider and all text is shown. If the text is selected and copied and pasted elsewhere the text missing from the right side is still there. 2) for some reason the . is no longer present at the end of the string. Other strings with an . at the end has it shown. And replacing it with e.g. a comma the comma will be shown. I have tried a few different combinations of text to find a pattern but not really succeded. The string is a bit special because of the many i's in it. Steps to reproduce: gtk_show_about_dialog (GTK_WINDOW (app), "comments", _("AisleRiot provides a rule-based solitaire card engine that allows many different games to be played."), NULL); Actual results: Some of the text i not shown on the right side. The . is removed from the text. Expected results: Dialog box is expanded horizontally to fit the text inside. The . should still be there at the end of the text. Does this happen every time? yes Other information: Here is the result of a few tests I did: "WwwwwWwww wwwwwwww w wwww-wwwww wwwwwwwww wwww wwwwww wwww wwwwww wwww wwwwwwwww wwwww ww ww wwwwww." OKAY "BbbbbBbbb bbbbbbbb b bbbb-bbbbb bbbbbbbbb bbbb bbbbbb bbbb bbbbbb bbbb bbbbbbbbb bbbbb bb bb bbbbbb." OKAY "IiiiiIiii iiiiiiii i iiii-iiiii iiiiiiiii iiii iiiiii iiii iiiiii iiii iiiiiiiii iiiii ii ii iiiiii." OKAY "BbbbbBbbb bbbbbbbb b bbbb-bbbbb bbbbbbbbb card engine that allows many different games to be played." OKAY "BbbbbBbbb bbbbbbbb b rule-based solitaire card engine that allows many different games to be played." OKAY "BbbbbBbbb bbbbbbbb a rule-based solitaire card engine that allows many different games to be played." OKAY "BbbbbBbbb provides a rule-based solitaire card engine that allows many different games to be played." OKAY -. (can be copy/pasted'ed) "AosleRoot provodes a rule-based solotaore card engone that allows many dofferent games to be played." OKAY -. (can be copy/pasted'ed) "WwwwwWwww wwwwwwww w wwww-wwwww wwwwwwwww wwww wwwwww wwww wwwwww wwww wwwwwwwww wwwww ww ww played." OKAY "AisleRiot provides a rule-based solitaire card engine that allows many different games to be played." BAD -. (can not be copy/pasted'ed) "AisleRiot provides a rule-based solitaire card engine that allows many different games to be bbbbbb." BAD +. "AisleRiot provides a rule-based solitaire card engine that allows many different games to bb bbbbbb." BAD +. "AisleRiot provides a rule-based solitaire card engine that allows many different bbbbb bb bb bbbbbb." BAD +. "AisleRiot provides a rule-based solitaire card engine that allows bbbb bbbbbbbbb bbbbb bb bb bbbbbb." OKAY "AisleRiot provides a rule-based solitaire card engine bbbb bbbbbb bbbb bbbbbbbbb bbbbb bb bb bbbbbb." OKAY "This is a test string. The test string has the same length as the failing string. test test test te." OKAY
Can you provide a screenshot ? Everything looks fine to me.
Created attachment 63837 [details] Screenshot showing the problem This is the most minimal test I could do. The problem exist too when authors, license, icon etc. are included.
Created attachment 63838 [details] Screenshot with slightly changed text Here I have changed all i's to o's in the string. Notice how the dialog box is resized horizontally to fit the text but the . at the end is still missing. FWIW its performed on a updated ubuntu dapper drake. Tested at different resolutions including 1024*768 and 1600*1200.
reopening as requested information has been provided.
Still seeing this with gtk 2.12 in aisleriot 2.20 and 2.21. I got confirmation on irc that this is an issue on both gutsy and f8, so this is not just an ubuntu issue. From irc: "<Juhaz> I tried with gutsy and f8 both cut (at different locations, though)"
*** This bug has been marked as a duplicate of 438752 ***