Closed Bug 772325 Opened 12 years ago Closed 11 years ago

Launching an installed web app with no FF supported version - dialog is missing a title

Categories

(Firefox Graveyard :: Web Apps, defect, P3)

All
Linux
defect

Tracking

(firefox16 wontfix)

RESOLVED FIXED
Firefox 26
Tracking Status
firefox16 --- wontfix

People

(Reporter: jsmith, Assigned: marco)

Details

Attachments

(1 file, 1 obsolete file)

Steps:

1. Install a Nightly build with support for linux web apps
2. Launch it and install a web application
3. Launch and close that web application
4. Uninstall that Nightly build and ensure that no build in the system has support for linux web apps
5. Launch the web application

Expected:

A dialog should appear with a title indicating "No supported firefox version installed"

Actual:

No dialog title is included in the error dialog.
Priority: -- → P3
Attached patch Patch (obsolete) — Splinter Review
This patch adds a title to the dialog window and sets the skip-taskbar-hint to false (so that it's shown in the taskbar).
Assignee: nobody → mcastelluccio
Status: NEW → ASSIGNED
Attachment #782107 - Flags: review?(mh+mozilla)
Comment on attachment 782107 [details] [diff] [review]
Patch

Review of attachment 782107 [details] [diff] [review]:
-----------------------------------------------------------------

Feels more something for Karl to review.
Attachment #782107 - Flags: review?(mh+mozilla) → review?(karlt)
Is this bug about gtk_window_set_title(), which defaults to "" in GtkMessageDialog?

https://developer.gnome.org/gtk2/2.24/GtkWindow.html#gtk-window-set-title
(In reply to Karl Tomlinson (:karlt) from comment #3)
> Is this bug about gtk_window_set_title(), which defaults to "" in
> GtkMessageDialog?
> 
> https://developer.gnome.org/gtk2/2.24/GtkWindow.html#gtk-window-set-title

The bug is about improving the message dialog, I think. I thought instead of the title, it'd be better to have a secondary text (like https://developer.gnome.org/gtk2/2.24/messagedialog.png).
The improvement to the message looks fine to me, even if it doesn't address comment 0.

What label does the taskbar show if the window has no title?
(In reply to Karl Tomlinson (:karlt) from comment #5)
> The improvement to the message looks fine to me, even if it doesn't address
> comment 0.
> 
> What label does the taskbar show if the window has no title?

Being on Gnome 3 I didn't think about the taskbar :D
So the label is empty. Should we add a title too? Or only a title and no secondary text?
I suspect GtkMessageDialog's default configuration is designed for use as a dialog window that is "transient-for" another window in the application, and so the message dialog doesn't need to appear in the taskbar because the other window is already there.

Here the GtkMessageDialog does not have a parent, and so I agree it should have skip-taskbar-hint unset.

The lack of title in a transient-for window is not much of a problem because the user is not expected to look for the transient-for window.  A window without a parent though I think should have a title to help the user.

Once the window has a title, IMHO there doesn't seem much point repeating the title in the window as well, but I don't feel too strongly about it.

In the commit message, please describe the change being made to the code and perhaps the reason, rather than quoting the bug's title.
Attached patch Patch v2Splinter Review
Attachment #782107 - Attachment is obsolete: true
Attachment #782107 - Flags: review?(karlt)
Attachment #785456 - Flags: review?(karlt)
Attachment #785456 - Flags: review?(karlt) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/1db016470e55
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: