FS#34164 - [zenity] - dialog size bug

Attached to Project: Arch Linux
Opened by Deon Thomas (princeamd) - Wednesday, 06 March 2013, 02:13 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 05 August 2014, 12:15 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: if you use zenity --info / --warning / --question , you will notice a big ugly dialog if you use a lot of words in the dialog, and you are unable to resize the dialog.

3.0.x


Steps to reproduce:
zenity --info --text="Currently we have official packages optimized for the i686 and x86-64 architectures. We complement our official package sets with a community-operated package repository that grows in size and quality each and every day."

Patch: I have attached a patch that fixes the dialog size issue.
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 05 August 2014, 12:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.12.1-2
Comment by Deon Thomas (princeamd) - Wednesday, 06 March 2013, 02:15 GMT
version 3.6.x
Comment by Jan de Groot (JGC) - Wednesday, 06 March 2013, 09:08 GMT
Is this filed upstream already?
Comment by Deon Thomas (princeamd) - Wednesday, 06 March 2013, 12:37 GMT
idk, but this bug exists on archlinux and debian wheezy
Comment by Jelle van der Waa (jelly) - Sunday, 10 March 2013, 11:49 GMT
It would be usefull if you could report the bug and patch upstream. Then we can verify the devs have acknowledged this is a proper fix for the issue ( the patch ).
Comment by Jan de Groot (JGC) - Thursday, 21 March 2013, 18:15 GMT
Checked your patch, but it doesn't make sense to me at all. All you did was adding ellipsize properties to the dialog, meaning that a text will become shorter using ellipsis (...) symbols when it doesn't fit. I don't know why you had to put in extra widgets and duplicate all the has_action_appearance properties for that.
Comment by Deon Thomas (princeamd) - Thursday, 21 March 2013, 22:53 GMT
If you have a simpler way to do the same thing please create a patch and send me.
Comment by Jan de Groot (JGC) - Thursday, 21 March 2013, 23:05 GMT
You should file your bug at bugs.gnome.org, this is not the place to fix an upstream bug.

My guess is that they won't accept your patch either.
Comment by Deon Thomas (princeamd) - Thursday, 21 March 2013, 23:08 GMT
I guess, this bug is reported in other distros as well but upstream seems to not want to fix it. you can close this ticket or just ignore it, for my needs it is fixed.
Comment by Jan de Groot (JGC) - Friday, 22 March 2013, 11:04 GMT
This is https://bugzilla.gnome.org/show_bug.cgi?id=673643 upstream. Just changed status to new there.
Comment by Dennis (dennis123123) - Sunday, 18 May 2014, 20:42 GMT
I just had this issue, and google brought me here.

Upstream (link above) replied in April 2014 that it's a problem with GtkLabel... (just FYI)

I can't believe this issue has been around for over a year and hasn't been resolved!
Couldn't the Zenity package in Arch just be switched back to Gtk2 until it is fixd upstream?

Loading...