After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787029 - Support non-GNOME environments
Support non-GNOME environments
Status: RESOLVED WONTFIX
Product: gnome-photos
Classification: Applications
Component: general
3.25.x
Other All
: Normal normal
: ---
Assigned To: GNOME photos maintainer(s)
GNOME photos maintainer(s)
: 728661 790133 790200 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-08-30 18:18 UTC by Jeremy Bicha
Modified: 2018-01-06 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
org.gnome.Photos.desktop: Show in menus everywhere (746 bytes, patch)
2017-08-30 18:19 UTC, Jeremy Bicha
reviewed Details | Review

Description Jeremy Bicha 2017-08-30 18:18:57 UTC
Please don't restrict the GNOME Photos .desktop to GNOME. I don't think any registered desktop environment except for KDE offers its own photo app.

Debian and Ubuntu have been carrying this patch for years.
Comment 1 Jeremy Bicha 2017-08-30 18:19:00 UTC
Created attachment 358786 [details] [review]
org.gnome.Photos.desktop: Show in menus everywhere
Comment 2 Debarshi Ray 2017-08-30 18:46:02 UTC
Review of attachment 358786 [details] [review]:

Thing is that Photos does expect to be only used in GNOME. eg., it uses org.gnome.SettingsDaemon.Housekeeping:EmptyTrash, relies on gnome-online-accounts, etc.. The moment we make it show up in other sessions people will complain about compatibility.
Comment 3 Umang Jain 2018-01-05 14:39:54 UTC
Any concluding remarks or this deserves to be kept open for others to notice?
Comment 4 Debarshi Ray 2018-01-06 13:12:50 UTC
I wanted to write a lengthier explanation, since comment 2 was scribbled in a hurry.

GNOME Photos' raison d'etre is to provide a first class experience for accessing, organizing and sharing photographs on GNOME. Hence the GNOME prefix in its name. We want to do so without being shackled by the portability concerns of working in non-GNOME environments.

It is already difficult to offer a first-class experience on all the different kernels that people run GNOME on. eg., Tracker has Linux-specific code to reduce its CPU and I/O priorities that don't work on *BSD or anything that's not Linux.

Then there are distributions that tweak GNOME in ways that completely break GNOME Photos and similar content applications. eg., Ubuntu disables Tracker.

Does that mean that GNOME Photos should be hidden on non-Linux kernels and Ubuntu? Maybe? Maybe not?

Teaching Tracker to work in the background on non-Linux kernels might be something that's achievable with a reasonable amount of effort. It does degrade the UX on non-Linux, but is not an existential crisis.

Maybe it is possible for Ubuntu to package GNOME Photos in a way that enables Tracker upon installation? I don't know. I haven't tried Ubuntu recently. Regardless, since Ubuntu decided to disable Tracker, one can reasonably expect Ubuntu to deal with the consequences of that decision.

The general idea is that upstream GNOME expects to be shipped in a certain way, and GNOME Photos' goal is to offer the best possible experience for such set-ups. If it doesn't, then it is either a bug or a missing feature - something that should be acted upon.

Now, if we remove the OnlyShowIn key from the upstream desktop file, then it means that upstream claims to work on every environment that's out there. That's simply not going to match reality. Any environment that (a) disables Tracker, (b) doesn't offer GNOME Online Accounts, (c) doesn't have gnome-settings-daemon, (d) doesn't use the WM_CLASS or application ID to retrieve the application icon (bug 790200) will break the app, and when that happens users are likely to blame the application for it.

If GNOME Photos works on non-GNOME, great. If it doesn't, then it's probably something not worth fixing.

This can change if some other non-GNOME entity with the exact same UX goals as GNOME shows up, and decides to contribute resources to improve GNOME Photos. This would mean working on both the application and its underlying stack, fixing bugs, implementing features, etc.. In short, participating in the necessary heavy lifting.

Until then, compatibility with non-GNOME is a distraction, and is codified by the OnlyShowIn key.
Comment 5 Debarshi Ray 2018-01-06 13:20:15 UTC
*** Bug 790200 has been marked as a duplicate of this bug. ***
Comment 6 Debarshi Ray 2018-01-06 13:35:26 UTC
*** Bug 728661 has been marked as a duplicate of this bug. ***
Comment 7 Debarshi Ray 2018-01-06 13:38:29 UTC
*** Bug 790133 has been marked as a duplicate of this bug. ***