Text is cut off in popup indicating safe to remove media

Bug #349948 reported by Mario Limonciello
32
This bug affects 2 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Invalid
Undecided
Unassigned
gnome-mount (Ubuntu)
Invalid
Low
Unassigned

Bug Description

This is testing using the Jaunty beta image.

I've got a vanilla install. I had a 4GB flash drive that I deleted a large amount of files and hit eject. I got a popup telling me to wait. After it was done I got another popup, but I couldn't read all of the text.

Revision history for this message
Mario Limonciello (superm1) wrote :
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

That looks like the gnome-mount dialog. Re-assigning.

Revision history for this message
Martin Pitt (pitti) wrote :

The label is correctly configured to word-wrap, and it indeed works for most strings. It just occasionally happens with some strings.

Unfortunately I wasn't able to produce a small reproducer for this yet.

affects: gnome-mount (Ubuntu) → gtk+2.0 (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

to build using gcc example.c -o example `pkg-config --cflags --libs gtk+-2.0`

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue seems similar to bug #20096, the label doesn't rewrap after update

Changed in gtk+2.0 (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
Revision history for this message
Cody Russell (bratsche) wrote :

The problem is that it shouldn't be using gtk_window_get_size() this way. It's not a very reliable way to get the size, especially the it's being used here since the mainloop hasn't even been hit yet and the window doesn't exist yet.

The most reliable way to do this will be to get the size from the first configure event.

I'll post a new copy of example.c that works correctly.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Cody, reassigning to gnome-mount

affects: gtk+2.0 (Ubuntu) → gnome-mount (Ubuntu)
Martin Pitt (pitti)
Changed in gnome-mount (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → Martin Pitt (pitti)
status: New → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

Unassigning. Karmic does not use gnome-mount by default any more, this moved to gvfs and devicekit-disks.

Changed in gnome-mount (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

gnome-mount is not used in Karmic now, so doesn't affect the user experience of the default system. This shouldn't really be a papercut.

Changed in hundredpapercuts:
status: New → Invalid
Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in gnome-mount (Ubuntu):
status: Triaged → Invalid
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.