GNOME Bugzilla – Bug 566411
item properties dialog too wide
Last modified: 2012-05-21 20:45:50 UTC
Please describe the problem: The item properties dialog for an image with a very long description is too wide. The description text is displayed on a single line and the dialog is sized to fit that single line. With a sufficiently long description, the dialog no longer fits on a single screen. Steps to reproduce: 1. Obtain an image and put a very long description in its metadata. 2. Right-click the image (e.g. when placed on the desktop) and select properties 3. The improperly sized dialog appears, showing the single-line description in the image tab. Actual results: A very large dialog appears. Expected results: The description text should be wrapped to multiple lines, allowing for a smaller dialog. Does this happen every time? Yes. Other information:
Created attachment 125681 [details] example properties dialog of an image with a long description
Reassigning to Nautilus, as the properties window is part of that.
Created attachment 166542 [details] [review] Adds ellipsize to end of image properties (#566411)
Review of attachment 166542 [details] [review]: Wouldn't it be better to just wrap the string in more than one line?
Created attachment 166605 [details] [review] WIP Cosimo, I'm going crazy. Why o why isn't line wrap working? Even tried changing the vbox to a table but no luck. Any suggestions? (Yeah, this patch has ellipsize but ignore that. Also a scroll window which I think could be nice so we don't get vertical space problems, when line wrapping works..)
*** Bug 560987 has been marked as a duplicate of this bug. ***
*** Bug 626045 has been marked as a duplicate of this bug. ***
Hi, sorry, I made a duplicate here : 674694. But my patch is working and fixes the problem. I hope I solved this old bug...
*** Bug 674694 has been marked as a duplicate of this bug. ***
Patch in bug 674694 (and in comment 5 here).
The patch in comment 5 seems not to work...
Ah no, the patch in comment 5 is working. But the problem is that the text isn't completely displayed, and if the user wants to read the full description of the image, he/she musts resize the window, and this window become more large than the screen. Brief, that's embarrassing. I think a simple wrap is better, because it displays the full description without resizing or make us resize the window.
Pushed rustyBSD's patch to git master now, closing as FIXED.