The goal of this task is to explore our options for collaboration with the Mozilla project (both community and corporation).
After a discussion on the [#kde-promo](https://webchat.kde.org/#/room/#kde-promo:kde.org) channel, we seemed to agree that:
* Mozilla's work on the open web aligns strongly with KDE's goals. Their mission: "[Web] that truly puts people first, where individuals can shape their own experience and are empowered, safe and independent" — sounds very close to our own vision: "A world in which everyone has control over their digital life and enjoys freedom and privacy".
* Ensuring that Chromium does not become monopolistic on the browser market is important from the freedom perspective
* Mozilla's flagship product, Firefox, is a personal preference of many. It is pre-installed in Neon, Kubuntu, openSUSE and other distributions that ship KDE software by default.
# Vision
Mozilla and KDE working side-by-side on an open platform that respects user privacy and freedom: a user-friendly feature-rich web browser and a powerful yet simple workspace.
# Goals
## Technical bits
It is important to ensure that our software works smoothly together, provides a consistent user experience.
Currently, Firefox is already in good shape on Plasma. We have `plasma-browser-integration` add-on that exposes many browser controls to the desktop environment. With Plasma 5.15, native file dialogs are now available as an experimental feature with `xdg-desktop-portal-kde`.
However, there are many aspects that still require work.
Some ideas:
* Upcoming switch to CSD by default in Firefox — will make browser windows look out of place on Plasma. This should maybe be negotiated between the browser and the window manager. An idea mentioned is using xdg-toplevel-decoration on Wayland.
* KWallet password storage: Unlike most Chromium-based browsers, Firefox does not have an option to use KWallet. A potential solution is using a portal (like with the file dialog now).
* openSUSE ships [kmozillahelper](https://github.com/openSUSE/kmozillahelper) — probably worth looking what aspects missing from upstream Firefox it covers
We need to check our existing communication points, explore opportunities to foster development collaboration (e.g. sprints).
### Plasma Mobile
An interesting direction would be to ensure a proper user experience with Firefox on Plasma Mobile, including web applications. For KDE it means another worldwide recognized brand behind the project, and Mozilla gets a privacy-enabled platform to replace FirefoxOS and keep the web open if proprietary platforms play it dirty.
Some known issues:
* UI scaling is broken, and the interface naturally does not adapt for mobile devices
* Touch input does not work
* Firefox is still not Wayland-ready, so on Plasma Mobile it can only be run as an XWayland client which makes it fall back to software rendering and does not provide decent browsing performance.
## Promotional activities
Mozilla and KDE could collaborate on promotional campaigns. Mozilla has a [big number](https://twitter.com/Firefox) of social media followers, [local communities](https://twitter.com/mozilla_russia), [many events](https://www.mozilla.org/en-US/contribute/events/) and a [conference](https://mozillafestival.org/). KDE has its annual summit [Akademy](http://akademy.kde.org/), [some sprints](https://community.kde.org/Sprints), a number of social network accounts and local communities. We likely have different audiences, though, so participating in each other's events and doing cross-promotion on the media should be effective.
## Onboarding
Mozilla is successful in building a community and [onboarding](https://www.mozilla.org/en-US/contribute/) new members. For KDE onboarding is now also a goal, so we might be able to learn from Mozilla'a experience here.
Plasma Mobile uses a fork of Mozilla's [whatcanidoformozilla.org](https://whatcanidoformozilla.org/) website for the Find your way page.
## Student programs
Both KDE and Mozilla participate in Google Summer of Code ([KDE's ideas](https://community.kde.org/GSoC/2019/Ideas), [Mozilla's projects](https://wiki.mozilla.org/Community:SummerOfCode19)). Unsure if there is a collaboration opportunity here, though.
## Infrastructure
KDE uses Mozilla's Bugzilla system to manage bug reports. It could be interesting for us to also look at deploying a web-based translation solution like Mozilla's [Pontoon](https://pontoon.mozilla.org).
Mozilla uses [Phabricator](https://phabricator.services.mozilla.com/) for code review and [IRC](https://wiki.mozilla.org/IRC) for messaging. This is changing for KDE, and Mozilla might want to learn from our transition experience.
## Translation
Mozilla has 177 translation teams with [amazing](https://pontoon.mozilla.org/ru/) completeness results. It might be worth looking at making a shared translation bank to not duplicate work and reuse application translations.
## KDE Advisory Board
Suggest Mozilla join our [Advisory Board](https://ev.kde.org/advisoryboard.php) to stay in contact with community representatives.
## Device manufacturer relationships
With Mozilla's manufacturer relationships, KDE could get more chances to negotiate an end-user device with a hardware company.
# Suggested steps
1) Explore community interest for collaboration (preferably on both sides), identify existing collaboration channels
2) Get in touch with relevant teams and people, discuss what we can do to increase mutual productivity
3) Create a list of projects that are most effective at this point
# I am interested
@IlyaBizyaev