Bug 2230336

Summary: New web UI window title says "Mozilla Firefox"
Product: [Fedora] Fedora Reporter: Jiri Konecny <jkonecny>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 39CC: aday, anaconda-maint, awilliam, erack, extras-qa, gecko-bugs-nobody, jhorak, klaas, mcatanza, rstrode, stransky, vslavik, w
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2230058 Environment:
Last Closed: 2023-08-17 10:27:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2231339, 2230058    

Description Jiri Konecny 2023-08-09 10:31:34 UTC
The Firefox application needs to enable Anaconda to change the window title somehow. Seems that Firefox change is the only possible solution to this issue?

+++ This bug was initially created as a clone of Bug #2230058 +++

The window title of the new web UI window reads "Anaconda Web UI — Mozilla Firefox". (This was observed running a test image from 3 August.)

"Anaconda Web UI" is not ideal, but I assume that's relatively easy to resolve. The bigger issue is the "— Mozilla Firefox" part of the window title.

When you're installing locally, it's confusing to mix the identity of the installer with that of the browser. To the user it should just look like they are using the installer, with the browser being an implementation detail.

Reproducible: Always

Comment 1 Jiri Konecny 2023-08-09 12:18:28 UTC
Ideally we would like to have the " — Mozilla Firefox" removed from the title. So we can then control the name.

Comment 2 Fedora Release Engineering 2023-08-16 08:08:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 3 Martin Stransky 2023-08-16 16:42:22 UTC
In firefox-116.0.2-2.fc39 you can set MOZ_APP_TITLE env variable which overrides default titlebar headline. Run as:

MOZ_APP_TITLE="Anaconda" firefox

Thanks.

Comment 4 Adam Williamson 2023-08-24 16:30:07 UTC
What about the icon? The icon shown for the installer window in the overview is the Firefox icon, which also doesn't seem ideal.

Comment 5 Martin Stransky 2023-08-28 06:29:39 UTC
(In reply to Adam Williamson from comment #4)
> What about the icon? The icon shown for the installer window in the overview
> is the Firefox icon, which also doesn't seem ideal.

Icon is covered by Bug 2231073, see https://bugzilla.redhat.com/show_bug.cgi?id=2231073#c3 how to handle it.

Comment 6 Adam Williamson 2023-08-28 06:39:31 UTC
Does that mechanism kinda supersede the MOZ_APP_TITLE one? It seems like with MOZ_APP_REMOTINGNAME and a .desktop file you can set *both* the title *and* the icon?

Comment 7 Martin Stransky 2023-08-28 08:34:19 UTC
(In reply to Adam Williamson from comment #6)
> Does that mechanism kinda supersede the MOZ_APP_TITLE one? It seems like
> with MOZ_APP_REMOTINGNAME and a .desktop file you can set *both* the title
> *and* the icon?

No, application title and application icon/name are two totally independent things.

Application title (MOZ_APP_TITLE) can be just anything, firefox uses recent web headline for that and that's just a decoration.

OTOH Application name (MOZ_APP_REMOTINGNAME) is a application identifier which pairs application with desktop file/icon and has to be exact match. It's showed in gnome shell upper bar where application menu is located (it's usually by 'Activities' menu).