Image showing window much bigger than needed with more than 90% blank area.
Obtained with zenity --info --text="$( for (( A=0; $A<20; A=$A+1 )) ; do echo -n 'lorem ipsum ' ; done )" & ** Attachment added: "Image showing window much bigger than needed with more than 90% blank area." https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/1273981/+attachment/3961406/+files/zenity_lorem_ipsum_oneline_20.png -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to zenity in Ubuntu. https://bugs.launchpad.net/bugs/1273981 Title: zenity window too big, not even proportional to text length Status in “zenity” package in Ubuntu: New Bug description: * Context Simple execution of zenity * Summary zenity window opens too big. The text appears on top but most of the window area is just empty. * How to reproduce Just type this : zenity --info --text="$( for (( A=0; $A<20; A=$A+1 )) ; do echo -n 'lorem ipsum ' ; done )" * expected Window fits text * observed Window much too big. More than 90% window area is blank space. * Additional information It's not just a matter of too long a line. If text is cut in short lines, window is still too big (though proportionally it seems). Notice below "echo -n" replaced with "echo". zenity --info --text="$( for (( A=0; $A<20; A=$A+1 )) ; do echo 'lorem ipsum ' ; done )" Trying with different text length shows that window area is not proportional to text length but grows much more rapidly. In other words, the longer the text, the higher the percentage of wasted space. This command shows a sequence of 30 zenity windows with increasing text length each time you press enter. You can see the trend easily. for (( LENGTH=0; $LENGTH<30; LENGTH=$LENGTH+1 )) ; do echo $LENGTH ; zenity --info --text="$( for (( A=0; $A<$LENGTH; A=$A+1 )) ; do echo -n 'lorem ipsum ' ; done )" ; done lsb_release -rd Description: Ubuntu 13.10 Release: 13.10 apt-cache policy zenity zenity: Installed: 3.8.0-1 Candidate: 3.8.0-1 Version table: *** 3.8.0-1 0 500 http://fr.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 13.10 Package: zenity 3.8.0-1 ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10 Uname: Linux 3.11.0-15-generic x86_64 ApportVersion: 2.12.5-0ubuntu2.2 Architecture: amd64 Date: Wed Jan 29 08:31:03 2014 MarkForUpload: True SourcePackage: zenity UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/1273981/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp