Commits at 5459e70474f7c3e83f3ecb14246324ff00829652
5459e704Add "Hide window titlebar" preference option
Close button and window title does not make sense for certain kind of
window managers.
Shota FUJI
authored at
Shota FUJI
comitted at
d625bacfReorganize preference items
To use more common terminology.
Shota FUJI
authored at
Shota FUJI
comitted at
0f73b5a7Get rid of treefmt
It's not good. Overall design, speed, touches git, etc.
dprint is simple, and `buildFHSEnv` is enough for NixOS.
Shota FUJI
authored at
Shota FUJI
comitted at
2c161d22Make app menu available at server discovery window
Otherwise user has to manually edit dconf entry in order to set UDP
port.
Shota FUJI
authored at
Shota FUJI
comitted at
ba96062dFocus browse items on load
Because of Plac disables controls to prevent race-condition during API
calls, focus jumps back to unnatural position after every load. This
opt-in feature brings smoother keyboard experience. What follows after
selecting a category is select an item or browse items on list,
therefore moving focus to the list is the most suited in this case.
Shota FUJI
authored at
Shota FUJI
comitted at
de662386Do not output warning log for missing artwork image
It's an expected status code.
Shota FUJI
authored at
Shota FUJI
comitted at
1a6e7d04Output debug log by default for "zig build run"
99.9% of the time I use "zig build run" need debug logs.
Shota FUJI
authored at
Shota FUJI
comitted at
d5bbef62Update flake input (nixpkgs)
Changes to ".nix" files:
* Rename "nixfmt-rfc-style" to "nixfmt", as it has graduated to non-RFC
official tool.
* Remove "zig.hook", as it has been integrated to the "pkgs.zig".
Shota FUJI
authored at
Shota FUJI
comitted at
cffc0847Set mnemonic to static elements
Not great keyboard experience, but I guess this is the ideal GTK way of
doing it?
Shota FUJI
authored at
Shota FUJI
comitted at
e88c3248Focus next widget on pressing Tab at browse list
The default behavior is focus a next list item, or next widget if the
currently focused item is the last item. As user can focus sibling list
item using an arrow key, Tab should be reserved for focusing playback
toolbar. If the list contains many items, it would be tedious to reach
playback toolbar by only using keyboard.
Shota FUJI
authored at
Shota FUJI
comitted at
303b0aa6Add libxml2 to build time dependencies
It's used by "glib-compile-resouces" for stripping spaces in XML.
That command produces a warning to stderr if the "xmllint" command is
not available (for example, on NixOS.)
Shota FUJI
authored at
Shota FUJI
comitted at
d24ded32Do not disable category list during loading
Even an instant, if the list goes "sensitive = false", it loses focus
thus user have to manually re-focus to the list. This change enables
users to rapidly send API requests, but I believe that's not an issue as
requests are identified by "Request-Id" header.
Shota FUJI
authored at
Shota FUJI
comitted at
692a4071Fix pressing Tab key on category list changes category
This is unintuitive and inaccessible, as it was virtually impossible to
"select a category then select an item" only via keyboard.
<https://codeberg.org/pocka/plac-for-gtk4/issues/23>
Shota FUJI
authored at
Shota FUJI
comitted at
7e2ca927Fix loading spinner is shown even when no artwork image is available
Upon opening Plac when there is no playback queue, artwork section shows
loading spinner even though nothing to show there.
That spin animation consumes CPU resource. It also has been visually
annoying.
<https://codeberg.org/pocka/plac-for-gtk4/issues/22>
Shota FUJI
authored at
Shota FUJI
comitted at
3378919dAllow setting fixed discovery UDP port number
For firewalled environment.
https://codeberg.org/pocka/plac-for-gtk4/issues/21
Shota FUJI
authored at
Shota FUJI
comitted at