Synaptic Dialogs do not wrap text labels dynamically when windows are resized

Bug #20096 reported by Jonathon Conte
40
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTK+
Fix Released
Wishlist
Ubuntu
Fix Released
Medium
Unassigned

Bug Description

I'm using Breezy Colony 3 and have the Application Font set to Bitstream Vera
San (Roman) size 16. Using this large font forces Synaptic dialog windows to be
larger. The problem is that the text labels within those windows do not expand
to fill the width of the windows. This makes the text look unusual when it is
wrapping at half the width of the window. This occurs in at least the following
Synaptic dialogs and perhaps others:
-Mark additional required changes
-Summary
-Applying Changes
-Changes Applied

When the text displayed is longer than the width of the dialog window, it should
wrap at the end of the window instead of at some arbitrary point in the middle
of the window.

Revision history for this message
Jonathon Conte (thesicktwist) wrote :

I just noticed that the Synaptic Search/Find dialog window has problems with
large fonts as well. The text-entry and dropdown list both extend past the right
border of the window.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

I can confirm parts of this problem only partly on my (post-colony3) breezy system.

> -Mark additional required changes
Looks ok here.

> -Summary
Looks ok here.

> -Applying Changes
Looks broken.

> -Changes Applied
Looks broken.

> Search/Find
Broken.

I fixed Search/Find and Applying Changes, Changes Applied (will be part of the
next upload).

Can you please add a screenshot that shows the other breakage?

Thanks,
 Michael

Revision history for this message
Michael Vogt (mvo) wrote :

I uploaded a fixed version: synaptic_0.57.4ubuntu4. It works reasonable well
with 16pt fonts for me. I close the bug therefore, please reopen if you still
experience strange looking dialog in this version.

Revision history for this message
Jonathon Conte (thesicktwist) wrote :

Created an attachment (id=3437)
Synaptic 0.57.4ubuntu4 Screenshot

The text does not wrap correctly and "Changes" in the titlebar should probably
be lowercase.

Revision history for this message
Jonathon Conte (thesicktwist) wrote :

Created an attachment (id=3438)
Synaptic 0.57.4ubuntu4 Screenshot

The text does not wrap correctly.

Revision history for this message
Jonathon Conte (thesicktwist) wrote :

Created an attachment (id=3439)
Synaptic 0.57.4ubuntu4 Screenshot

The text does not wrap correctly.

Revision history for this message
Jonathon Conte (thesicktwist) wrote :

Created an attachment (id=3440)
Synaptic 0.57.4ubuntu4 Screenshot

The text does not wrap correctly.

Revision history for this message
Jonathon Conte (thesicktwist) wrote :

I still see many bugs with synaptic_0.57.4ubuntu4.

Revision history for this message
Jonathon Conte (thesicktwist) wrote :

Created an attachment (id=3441)
#deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Alpha i386 (20050817)]/ breezy main
restricted

Synaptic 0.57.4ubuntu4 (downloading package information)

Text does not wrap correctly and "Downloading package information" label is not
centered.

Revision history for this message
Jonathon Conte (thesicktwist) wrote :

(From update of attachment 3441)
Text does not wrap correctly and "Downloading package information" label is not
centered.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your additional info on that bug.

I'm doing a upload now that will fix the first two issues. The other issues
happen only if you manually resize the window, right? I'm not sure if there is a
lot synaptic can do about that, because the used gtk labels are not overly smart
when it comes to resizing. But I will look into it.

Cheers,
 Michael

Revision history for this message
Michael Vogt (mvo) wrote :

Here is the related gtk problem that makes the label not work as expected:
http://bugzilla.gnome.org/show_bug.cgi?id=101968#c8

Revision history for this message
Jonathon Conte (thesicktwist) wrote :

Seems like a nasty bug to have been open for so long (2002). I also can't
understand why it's marked as "enhancement" upstream.

Revision history for this message
Michael Vogt (mvo) wrote :

(In reply to comment #13)
> Seems like a nasty bug to have been open for so long (2002). I also can't
> understand why it's marked as "enhancement" upstream.

I agree. It looks like it's hard to fix with the current gtk GtkLabel design. I
played a bit with various offical gnome apps today and I noticed that they
carefully seem to avoid labels that span over more than one column :)

Cheers,
 Michael

Revision history for this message
Michael Vogt (mvo) wrote :

I reassign it to gtk because the root of the problem is a limitation in gtk.

Changed in synaptic:
assignee: mvo → nobody
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Michael, what do you call "one column"? Do you have a simple example for that issue?

Changed in gtk+2.0:
assignee: nobody → desktop-bugs
Revision history for this message
Michael Vogt (mvo) wrote :

Seb: I think the link here: http://bugzilla.gnome.org/show_bug.cgi?id=101968#c8 shows the problem very nicely.

With "one column" I mean, it seems that gnome avoids labels that take a lot of text. This way the problem is avoided too because small labels work pretty well. But when they become big and span over more than a single line (warping) things get a bit less optimal.

Changed in gtk:
status: Unknown → Confirmed
Changed in gtk+2.0:
status: Confirmed → Triaged
Changed in gtk:
status: Confirmed → Fix Released
Changed in gtk:
importance: Unknown → Wishlist
Revision history for this message
Pedro Villavicencio (pedro) wrote :

this was fixed long time ago.

affects: gtk+2.0 (Ubuntu) → ubuntu
Changed in ubuntu:
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Triaged → Fix Released
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.