Replacing Eye of GNOME and Nautilus
===================================
:draft:
:tags: blog, rant
*WIP*: Move all the GNOME hate to why-gnome-sucks.adoc.
...or at least trying to
_Warning: this is a massive rant, and many people will find parts of it
offensive. I'll call things as I see them._
// I'm extremely good at finding and running into problems.
*WIP*: what I have but others don't -- keeping the view settings, something
a lot of people ask for, is more or less a single if statement.
*WIP*: Implementing GFile https://gitlab.gnome.org/GNOME/glib/-/issues/2705
*WIP*:
https://discuss.haiku-os.org/t/xlibe-an-xlib-x11-compatibility-layer-for-haiku/11692/7
*WIP*: I'm not sure whether Keith Packard deserves to be glorified, or sent
anthrax to for all the suffering his legacy has brought on humanity, and as
a warning to others to not impose gamma-naïve graphics libraries onto others.
- https://lobste.rs/s/phl1jm/wine_on_wayland_year_end_update_improved#c_a6oir1
- At some point, the "Open With Other Application" dialog of Nautilus started
remembering the choice. But I didn't _always_ want GIMP or Rawtherapee!
It turned out that I didn't have default associations for such files,
in which case it remembered the last used application. And up until
recently, the dialog didn't allow for setting the default, nor did it
indicate whether one currently existed at all.
- Neither Eye of GNOME nor GIMP (2 and 3) can view images using more than
8 bits per channel, despite being able to run with
a https://wiki.gentoo.org/wiki/30bpp[30-bit X.org visual]. And even if they
could, GTK+{nbsp}4 would
https://docs.gtk.org/gtk4/migrating-3to4.html#review-your-window-creation-flags[take that away]
later,
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1756[unless] the GL
backend is taught to handle it.
- Eye of GNOME contains a duplicitous, incapable file manager--for my use case,
the image viewer would greatly profit from being integrated into a proper
file browser, so that it does not need to re-read the directory each time
it's run. It'd also keep
https://gitlab.gnome.org/BrainBlasted/loupe/-/issues/2[sorting]
in sync, without the proposed clownery of using DBus.
- vi-like controls would be welcome.
- Last but not least, I'd like to tag my pictures, and detect duplicates early.
From time to time I look around, yet I haven't been able to find any clearly
better solution for Linux:
- Nautilus forks were buggy,
- Thunar is what I've had to start using once all GNOME software became
complete rubbish, however it doesn't address all my pain points,
- sxiv rather looks like a good starting point, although it's close to my
vision of UI,
- no other standalone image viewer is much better at the job either,
- DigiKam is inexcusably bloated,
- Shotwell wants to take '`ownership`' of all my files,
- gThumb has actually almost become what I want, and it's being
https://gitlab.gnome.org/GNOME/gthumb/-/blob/master/NEWS[actively developed],
yet there are several practical issues (e.g., many missing shortcuts,
and the staggered view would be inconvenient to implement),
and it suffers from the terrible UX of modern GNOME (randomised placement
of cryptic controls, pointless and annoying animations).
I can make do with a minimalistic, spartan UI. But the foundations need to be
rock-solid.
'`I'll just use GTK+`'
----------------------
…and other famous last words. I'm familiar with the stack, having done some
custom theming and programming for it, starting with its
+++second major version+++,
but I'm becoming progressively less and less happy about it.
*WIP*: See what my things do under Sway at all
https://gitlab.gnome.org/GNOME/mutter/-/issues/217 (remove reference, part of:)
https://news.ycombinator.com/item?id=23795901
also https://news.ycombinator.com/item?id=25719796
////
- logdiag:
- the menu is fucked up, clicking on Help opens File
- Cannot reproduce.
- But menus act weird, can't click on header, hold and depress on item,
focus is also mangled.
- Gdk-Message: 18:32:10.309: Unable to load dnd-copy from the cursor theme
- dragging shows the pointer cursor
- sdgui:
- cannot read the PRIMARY selection
- both work great under `env -u WAYLAND_DISPLAY`
- in any case, server-side decorations are fine and working
////
Surely a subset will do
-----------------------
GTK+{nbsp}3, at its core, is _still_ a decent abstraction over X11 and Wayland
(not that I care about the latter, XWayland forever), and I can draw my own
widgets using '`raw`'
https://viruta.org/helping-cairo.html[Cairo] and
https://www.phoronix.com/scan.php?page=news_item&px=HarfBuzz-Hinting-Woe[Pango],
similarly to the way I used to in my Win32
days.footnote:[Back in 2007 or so, as a kid, I even accidentally pre-invented the looks of GTK+{nbsp}3's GtkMessageDialog--it has buttons glued to the bottom side of the window, with a gradient background. I also animated it to disappear moving itself off the screen--that didn't catch on.]
Also, before I finally implemented that staggered-view file browser, I could
reuse
https://jayfax.neocities.org/mediocrity/gnome-has-no-thumbnails-in-the-file-picker.html[the file open dialog].
*WIP*: https://release.gnome.org/44/ thumbnails
Thumbnails
----------
My dreamt-of browser
--------------------
*WIP*: Talk about, add a screenshot.
// TODO: A screenshot of the staggered view in a directory full of SFW ponies,
// with the caption "I told you." underneath. Finish this before publication,
// to have anything to show.
...isn't all that magical.
*WIP*: Add a section about the glow, how it's not using the usual hack with
a blurred mask as it's actually harder to implement.
Can add