New cache flush progress window misplaced and has truncated text

Bug #343618 reported by David Barth
8
Affects Status Importance Assigned to Milestone
gnome-mount (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

The new progress window displayed when gnome-mount is flushing write caches has three issues.

1. The window should be mapped at the center of the screen and not at the bottom right corner. There's no use trying to mimic the old notification daemon (especially with the straciatella session support you added ;) (see 1st screenshot)

2. The window should have a window icon similar to the dialog icon (see 2nd screenshot)

3. The last part of the window text should be wrapped. The initial text was wrapped correctly, however when gnome-mount eventually tells the user that "the device is now safe to remove", that text is truncated (see 1st screenshot too)

All issues reported as a single bug, as they are minor design tweaks.

Related branches

Revision history for this message
David Barth (dbarth) wrote :
Revision history for this message
David Barth (dbarth) wrote :

2nd screenshot (shows wrong window icon in the tasklist)

description: updated
Revision history for this message
David Barth (dbarth) wrote :

Assigning to pitti who originally wrote the patch.

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

(1) I really don't like putting it in the center of the screen, since that would almost certainly block other windows the user is working with. There was a reason why the previous notifications weren't in the center, and notify-osd itself doesn't place notifictations in the center as well. This is not a window the user ever has to interact with, after all?

(2) and (3) make sense, I'll fix those ASAP.

Changed in gnome-mount (Ubuntu):
status: New → In Progress
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Notification bubbles appear in the corner because they were (and, in Notify OSD, still are) intended to be used for notifications, i.e. telling you about things that happened unprompted. They were then misused for things like this that happen as a direct result of user action ("Eject" or "Unmount" in this case), and therefore don't have any particular reason to appear in the corner. Where we're replacing a notification bubble with a custom alert box, that shouldn't appear in the corner either. As with an alert box, you can move it or bring another window in front of it; and since it's a progress window, you can minimize it too.

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

Funny, the text does get wrapped correctly in German translations, but I can reproduce this with LANG=C. Will investigate.

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

This bug was fixed in the package gnome-mount - 0.8-1ubuntu4

---------------
gnome-mount (0.8-1ubuntu4) jaunty; urgency=low

  * 09_use_window_for_flushing.patch: Set proper window icon and make the
    window appear in the screen center. (LP: #343618)

 -- Martin Pitt <email address hidden> Tue, 17 Mar 2009 12:41:30 +0100

Changed in gnome-mount:
status: In Progress → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

I didn't find a workaround for fixing the label wrapping glitch. It only happens seldomly, and is related to bug 20096.

Revision history for this message
David Barth (dbarth) wrote :

Cody, could you take a look at the text wrapping issue? The bug is fixed for the begta, but it would be better to have a complete fix for the release.

Revision history for this message
David Balažic (xerces8) wrote :

Item 3 is still present in Ubunu 9.04 and it seems it is reported as bug 349948.

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.