Regression: List boxes do not properly resize when given "height"

Bug #1242886 reported by jsphslgr
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Triaged
Medium
Unassigned
Zenity
Fix Released
Medium
zenity (Debian)
Confirmed
Unknown
zenity (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

In Zenity 3.8.0-1 (Saucy), list boxes are showing up strangely.

I noticed this when using the 'repostory' tool (https://code.launchpad.net/~davidc3/+junk/repostory), but it's a repeatable zenity bug:

When Zenity contains a list box and a specified height parameter, the window appears at the right height, but the list part expands as if no height were specified, only up to about 6 lines before adding a scrollbar.

The following bash demonstrates the problem:

#!/bin/bash
for category in Alpha Beta Gamma Delta Epsilon Zeta Eta Theta Iota Kappa Lambda Mu;do
    echo "$category"
    for col in Purple Green Blue Pink Grey
        do echo "entry"
    done
done | zenity --list --title "Foobar" --width 800 --height 500 --checklist --column Category --column Purple --column Green --column Blue --column Pink --column Grey

Tags: trusty
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in zenity (Ubuntu):
status: New → Confirmed
Changed in zenity:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Nobuto Murata (nobuto) wrote :
Revision history for this message
Nobuto Murata (nobuto) wrote :
Revision history for this message
Nobuto Murata (nobuto) wrote :
Changed in zenity (Debian):
status: Unknown → Confirmed
Nobuto Murata (nobuto)
Changed in zenity (Ubuntu):
assignee: nobody → Nobuto MURATA (nobuto)
status: Confirmed → In Progress
Nobuto Murata (nobuto)
Changed in zenity (Ubuntu):
assignee: Nobuto MURATA (nobuto) → nobody
status: In Progress → Confirmed
Revision history for this message
arm-c (arickmcniel) wrote :

Using Ubuntu 14.04 Beta 2

This is a REAL issues that will effect multiple users. (See Bug: https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/1192101?comments=all where a user suggests a fix.)

I encountered as an issue while trying to configure my input (keyboard) to support using Hangul (Korean) using im-config. Fortunately, I noticed there was an option to run in concole (im-config -c) so I was able to notice the option that I needed to select.

Any individual needing to configure Ubuntu to use a CJK language (possibly more) and any users requiring access to zenity based prompts are likely to have this issue. Ubuntu is supposed to be easy for newBs... this makes it unnecissarily difficult and makes Ubuntu look un-polished. (BTW, very impressed with direction Unity / Ubuntu are taking in 14.04)

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It's a usability issue that doesn't limit the functionality of a core package.

tags: added: trusty
Changed in zenity (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
Changed in hundredpapercuts:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Christophe C (batra3) wrote :

With only one line avaiable in a list, the bug severly limit the functionnality of zenity. In fact, programms based on zenity can't realy function.

Revision history for this message
Nobuto Murata (nobuto) wrote :

Hi all,

I have made a merge proposal to fix this bug hopefully in time for 14.04 release.
https://code.launchpad.net/~nobuto/ubuntu/trusty/zenity/expandable-on-list-view/+merge/214387

If you want a fix for stable releases like 13.10(saucy), please follow the Stable Release Updates process described in:
https://wiki.ubuntu.com/SRU

Thanks,

Revision history for this message
Paul Broadhead (pjbroad) wrote :

Received the fix when I updated trusty today. The list function now works correctly. Many thanks.

Revision history for this message
Nobuto Murata (nobuto) wrote :

Ah, unfortunately duplicate work happened. The fix has been released for another bug report. Marking a duplicate for it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.