Commits at 73949790ad2deb501a5ae4c03f9a8ca93ca43e4f
73949790Add options to change seekbar's step/jump size
It has been fixed to 1s/10s. Ideal seekbar step size depends on personal
preferences, so I made it customizable. I changed my config to 5s/20s
after little fiddling.
https://codeberg.org/pocka/plac-for-gtk4/issues/25
Shota FUJI
authored at
Shota FUJI
comitted at
767d22f8Add stop button to playback toolbar
It works like the one on a cassette player.
I wanted it to behave like other apps, but Roon API lacks "clear queue"
functionality. It does have "subscribe to queue changes" and "play from
this queue item" but using those are hacky and fragile.
<https://codeberg.org/pocka/plac-for-gtk4/issues/24>
Shota FUJI
authored at
Shota FUJI
comitted at
25338e79Add "Default category" option
I personally don't use "Explorer" category much. The most frequently
used category differs by person, or even same person can change the
preferred category over time.
Shota FUJI
authored at
Shota FUJI
comitted at
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