Window has double(?) heigh

Bug #1028360 reported by Hardy
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The environment:
DE: Unity
zenity: version 3.4.0
Ubuntu: Precise Pengolin 12.04

If you start zenity to start some dialog, it seems to me, that the window that apears gets double the height it needs.
No problem, if the text ist short, but if you have a real long text the bottom of the window is unvisible and the buttons are unreachable ...

... but as you can see in 4.png and 5.png you must pass a specific width ...

For testing here are the sample commands, used for the attachments:

1.png
zenity --question --title="Sample window" --text="some text"

2.png
zenity --question --title="Sample window" --text="some text some text some text some text some text"

3.png
zenity --question --title="Sample window" --text="some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text"

4.png
zenity --question --title="Sample window" --text="some text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\nsome text\n"

5.png
zenity --question --title="Sample window" --text="some text some text\nsome text some text\nsome text some text\nsome text some text\nsome text some text\nsome text some text\n"

In Lucyd Lynx all is ok, DE is Gnome an zenity version is 3.4.0.

Revision history for this message
Hardy (h-huenteler) wrote :
Revision history for this message
Omer Akram (om26er) wrote :

thanks for the bug report. Can you please test the same in 'Ubuntu 2d' session from the password screen and let us know if the same issue happens there as well?

Changed in unity:
status: New → Incomplete
Changed in unity (Ubuntu):
status: New → Incomplete
affects: unity (Ubuntu) → gtk+3.0 (Ubuntu)
no longer affects: unity
Revision history for this message
Ari Sovijärvi (apz-fi) wrote :

I tried it with "Ubuntu 2D" and it behaves the same way.

Revision history for this message
Ove Risberg (ove-risberg) wrote :

I can also confirm the same problem on "Unity 2D" and on "Gnome Classic".

affects: gtk+3.0 (Ubuntu) → ubuntu
Changed in ubuntu:
status: Incomplete → Confirmed
Revision history for this message
Ove Risberg (ove-risberg) wrote :

Same problem in Ubuntu 12.10 Beta 1

Revision history for this message
Ritesh Khadgaray (khadgaray) wrote :

This is a bug with GtkLabel.

affects: ubuntu → gtk+3.0 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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