Friendica
Mike
Mike

Mike

codemonkeymike@fosstodon.org

Mike

codemonkeymike@fosstodon.org

Grumpy old #PHP developer trying to learn #elixir with an unhealthy obsession with coding, dad jokes, and #Linux.

Living in Olympia, WA #OlyWA

ActivityPub
2022-11-25 16:38:53 2022-11-25 16:32:53 2022-11-25 16:30:59 1292626

Mike
Mike
mastodon - Link to source

Mike

2 years ago • •

Mike

2 years ago • •


I have a #gnome question that's been bugging me for a LONG time.

I love gnome, but hate that 99% of the file picker dialogs won't give image previews. However Firefox somehow DOES.

Is this a setting somewhere? How can i get all my apps to use this dialog, or can I? Mostly flatpaks i'm using

#gnome
  •  Languages
  •  Search Text
  •  Share via ...
in reply to Mike

Emmanuele Bassi
mastodon - Link to source

Emmanuele Bassi

in reply to Mike • 2 years ago • •
That's the file selection portal. The version using GTK3 will add a custom widget to show the preview of the file; the GTK4 does not, as the API was removed. GTK4 will get an icon grid view pretty soon, though, so it's not going to need a preview widget on the side
  •  Languages
  •  Search Text
  •  Share via ...
in reply to Emmanuele Bassi

Mike
mastodon - Link to source

Mike

in reply to Emmanuele Bassi • 2 years ago • •

@ebassi Sounds like gnome removing APIs lol.

Yeah, a grid view woudl work great. Just really slows my workflow down not being able to visually scan these.

@Emmanuele Bassi
  •  Languages
  •  Search Text
  •  Share via ...
in reply to Mike

Emmanuele Bassi
mastodon - Link to source

Emmanuele Bassi

in reply to Mike • 2 years ago • •
Sadly the API applied to any file selection dialog as if it were always in the same process, but with sandboxing you cannot add a widget across process boundaries, or add GTK widgets to native dialogs on Windows or macOS. Something had got to give, so I had to remove it in the new major API version.
This entry was edited (2 years ago)
  •  Languages
  •  Search Text
  •  Share via ...
in reply to Emmanuele Bassi

Mike
mastodon - Link to source

Mike

in reply to Emmanuele Bassi • 2 years ago • •

@ebassi Totally get it. I really look forward to the GTK4 version of it. The good news is, when gnome does something, they do it proper.

So i'll be patient and happy i'm on Unstable Nix so i'll get it sooner than later hah

@Emmanuele Bassi
  •  Languages
  •  Search Text
  •  Share via ...
⇧