Closed Bug 977863 Opened 10 years ago Closed 8 years ago

Improve the way we detect a Firefox installation

Categories

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

27 Branch
All
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: contact, Unassigned)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 Iceweasel/27.0 (Beta/Release)
Build ID: 20140208021132

Steps to reproduce:

1. Browse here https://marketplace.firefox.com/app/archi-stras?src=search
2. Click on Launch


Actual results:

An error popup says that I need Firefox 16+.


Expected results:

It should work, as I am using Firefox 27.
Attached image Screenshot
Pierre, 

Works fine for me. Reason is probably because you are using IceWeasel as mentioned in your user agent, "User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 Iceweasel/27.0 (Beta/Release)"

Use official Firefox from www.getfirefox.com as using a third party browser based off Mozilla source code can give you problems.

If you feel the need to consider digging further on this issue, let us know.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Component: Untriaged → General
Resolution: --- → WORKSFORME
I can reproduce this issue with the official Firefox (Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0).
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Attached image No issue
This is odd...I can't reproduce this on Win8.1 Pro x64 on Fx27.
Must be a Linux only issue...
I reproduced this locally on Ubuntu 13.04 x86 using Firefox 27, 29.0b2 and 31.0a1.

The more exact steps for me would be:
1. Install the app from here: https://marketplace.firefox.com/app/archi-stras?src=search.
2. Restart Firefox.
3. Go back to https://marketplace.firefox.com/app/archi-stras?src=search.
4. Click "Launch".

The bug doesn't reproduce for me when trying to launch the app right after the install (without any restarts).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: x86_64 → All
Flags: firefox-backlog+
Component: General → Web Apps
Can you launch apps from the Unity dashboard?
I am using Xfce but I get the same error message using the Xfce application menu.
(In reply to Pierre Rudloff from comment #7)
> I am using Xfce but I get the same error message using the Xfce application
> menu.

There are some files I'd like to see, if that's ok with you.
The files are:
 - In your Firefox profile, the contents of the webapps directory.
 - In your home directory, the contents of the ".archi..." directory.
 - In the ~/.local/share/applications directory, the contents of the desktop file associated with your app (it should be called "owa-archi...")

(In reply to Ioana Budnar, QA [:ioana] from comment #5)
> The bug doesn't reproduce for me when trying to launch the app right after
> the install (without any restarts).

This is weird.
~/.mozilla/firefox/mk5spx1n.default-1395928954427/webapps:
./{eda359f0-f9f0-4c60-aa3d-ffb64eca21ac}
./{eda359f0-f9f0-4c60-aa3d-ffb64eca21ac}/manifest.webapp
./webapps.json

~/.local/share/applications/owa-archi-stras-820dae5a5c42c2c03a62f33bf1d99a3e.desktop:
[Desktop Entry]
Name=Archi-Stras
Comment=Architecture and pictures in Strasbourg
Exec="/home/pierre/.archi-stras-820dae5a5c42c2c03a62f33bf1d99a3e/webapprt-stub"
Icon=/home/pierre/.archi-stras-820dae5a5c42c2c03a62f33bf1d99a3e/icon.png
Type=Application
Terminal=false
Categories=Video;AudioVideo;Photography;Maps;
Actions=Uninstall;
[Desktop Action Uninstall]
Name=Uninstall App
Exec=/home/pierre/.archi-stras-820dae5a5c42c2c03a62f33bf1d99a3e/webapprt-stub -remove

~/.archi-stras-820dae5a5c42c2c03a62f33bf1d99a3e:
./webapp.json
./icon.png
./profiles.ini
./Crash Reports
./Crash Reports/InstallTime20131031040200
./umqts308.default
./umqts308.default/marionette.log
./umqts308.default/pluginreg.dat
./umqts308.default/minidumps
./umqts308.default/prefs.js
./umqts308.default/compatibility.ini
./umqts308.default/brand.dtd
./umqts308.default/.parentlock
./umqts308.default/saved-telemetry-pings
./umqts308.default/saved-telemetry-pings/09721cd6-909c-4ac1-8a56-4b3305553d72
./umqts308.default/places.sqlite
./umqts308.default/webappsstore.sqlite
./umqts308.default/cert8.db
./umqts308.default/times.json
./umqts308.default/storage
./umqts308.default/storage/persistent
./umqts308.default/storage/persistent/chrome
./umqts308.default/storage/persistent/chrome/.metadata
./umqts308.default/storage/persistent/chrome/idb
./umqts308.default/storage/persistent/chrome/idb/2588645841ssegtnti
./umqts308.default/storage/persistent/chrome/idb/2588645841ssegtnti.sqlite
./umqts308.default/secmod.db
./umqts308.default/localstore.rdf
./umqts308.default/brand.properties
./umqts308.default/seer.sqlite
./umqts308.default/cookies.sqlite
./umqts308.default/httpDataUsage.dat
./umqts308.default/key3.db
./umqts308.default/Telemetry.ShutdownTime.txt
./umqts308.default/permissions.sqlite
./umqts308.default/formhistory.sqlite
./webapp.ini
./webapprt-stub
Could you follow the following steps?
 > open the webapp.ini file (that is in the "~/.archi-stras-820dae5a5c42c2c03a62f33bf1d99a3e" directory) and write down the value of the InstallDir property
 > open the "application.ini" file that is contained in the InstallDir directory
Oh, I think you found the problem : sometimes ago I renamed the folder where Firefox is installed and InstallDir was still pointing to the old folder. I edited it to point to the new folder and now it works correctly.
Let's leave this bug opened to try and find a better way to detect the Firefox installation directory.
Summary: Can't launch app from the marketplace → Improve the way we detect a Firefox installation
Flags: firefox-backlog+
Flags: firefox-backlog-
Priority: -- → P3
Blocks: 1111077
Per bug 1238079, we're going to disable the desktop web runtime and remove it
from the codebase, so we won't fix these bugs in the integration between Firefox and the runtime.
Status: NEW → RESOLVED
Closed: 10 years ago8 years ago
Resolution: --- → WONTFIX
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: