| Summary: | webkitgtk seems incompatible with Google Maps API | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Philippe Charpentier <philippe.charpenti> |
| Component: | webkitgtk4 | Assignee: | Tomas Popela <tpopela> |
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | huzaifas, kevin, klember, martin.sourada, mcatanzaro+wrong-account-do-not-cc, mtasaka, tpopela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-16 16:08:05 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Philippe Charpentier
2016-08-16 14:35:01 UTC
Carlos Alberto Lopez Perez (developer of webkitgtk) found the problem:
it is in the spec files (of each packages webkitgtk, webkitgtk3 and webkitgtk4): the lines
%if 0%{?fedora}
%global optflags %{optflags} -DUSER_AGENT_GTK_DISTRIBUTOR_NAME=\'\\"Fedora\\"\'
%endif
has to be removed (or at least changed)
because they imply that MiniBrowser and GtkLauncher have this UA:
Mozilla/5.0 (Fedora; Linux arch) AppleWebKit/602.1 (KHTML, like Gecko) Version/8.0 Safari/602.1
and on Debian this UA:
Mozilla/5.0 (X11; Linux arch) AppleWebKit/602.1 (KHTML, like Gecko) Version/8.0 Safari/602.1
and Google Maps don't like the first UA.
Thus I tried MiniBrowser and GtkLauncher with the option --user-agent='Mozilla/5.0 (X11; Linux arch)' and everything went fine.
As (as far as I know) such an option cannot be used, via pywebkitgtk, in a python program, I think that these packages must be modify.
Regards
Yup, thanks. I'll add Google Maps to our UA quirks list. |