After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 642556 - Show a dialog when falling back first time
Show a dialog when falling back first time
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-17 10:49 UTC by Alexander Larsson
Modified: 2011-02-24 10:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Show a dialog after login the first time we fall back to gnome-fallback (338.03 KB, patch)
2011-02-17 10:50 UTC, Alexander Larsson
reviewed Details | Review
Show a dialog after login the first time we fall back to gnome-fallback (338.27 KB, patch)
2011-02-17 12:17 UTC, Alexander Larsson
committed Details | Review
Store svg compressed (436.54 KB, patch)
2011-02-17 13:36 UTC, Alexander Larsson
none Details | Review

Description Alexander Larsson 2011-02-17 10:49:48 UTC
We'd like to show a dialog when falling back to the old gnome panel, etc the first time due to hardware issues.
Comment 1 Alexander Larsson 2011-02-17 10:50:17 UTC
Created attachment 181113 [details] [review]
Show a dialog after login the first time we fall back to gnome-fallback

This is based on the mockups in:

 http://gitorious.org/gnome-design/gnome-design/blobs/master/mockups/session/fallback.png
Comment 2 Vincent Untz 2011-02-17 11:02:54 UTC
Review of attachment 181113 [details] [review]:

Thanks!

I was wondering whether it's worth shipping a directly rendered png instead of the svg. But the svg is probably small enough so that it wouldn't matter much.

::: gnome-session/gsm-manager.c
@@ +1225,3 @@
+
+        gtk_message_dialog_format_secondary_markup (GTK_MESSAGE_DIALOG (dialog),
+                                                    description);

Please add: if (description)

@@ +1229,3 @@
+        hbox = gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dialog));
+
+        link = gtk_link_button_new_with_label (uri, link_text);

Please add:
 if (uri && link_text)
 else if (uri)
   link = gtk_link_button_new (uri);

@@ +1434,3 @@
                 break;
         case GSM_MANAGER_PHASE_RUNNING:
+                possibly_show_fallback_dialog (manager);

I was thinking we could show it a bit earlier, in GSM_MANAGER_PHASE_WINDOW_MANAGER+1 and block login there if we want to avoid having all kind of other apps loading while this window is shown. Would that make sense?
Comment 3 Alexander Larsson 2011-02-17 12:17:04 UTC
Created attachment 181119 [details] [review]
Show a dialog after login the first time we fall back to gnome-fallback

This is based on the mockups in:

 http://gitorious.org/gnome-design/gnome-design/blobs/master/mockups/session/fallback.png
Comment 4 Vincent Untz 2011-02-17 12:23:40 UTC
Comment on attachment 181119 [details] [review]
Show a dialog after login the first time we fall back to gnome-fallback

Thanks, please commit!
Comment 5 Alexander Larsson 2011-02-17 12:37:40 UTC
Comment on attachment 181119 [details] [review]
Show a dialog after login the first time we fall back to gnome-fallback

Attachment 181119 [details] pushed as bad81e2 - Show a dialog after login the first time we fall back to gnome-fallback
Comment 6 Alexander Larsson 2011-02-17 13:36:11 UTC
Created attachment 181126 [details] [review]
Store svg compressed
Comment 7 Alexander Larsson 2011-02-17 13:37:55 UTC
I tried to move the dialog to earlier, but it came up in a weird position. And anyway, it looks like it shows up pretty early (before panel is visible anyway) already, so i think that is fine.

However, we should probably save the svg compresses, see patch.
Comment 8 Matthias Clasen 2011-02-24 04:46:30 UTC
I think this is all done, right ? Any reason to keep this open ?