Closed BlobCodes closed 10 months ago
One possible improvement to the keyboard controls could be to set the "focus-on-click" property to false on the buttons and slider in the bottom.
Currently, when clicking the pause button, it is automatically focussed by gtk. In this state, the player controls don't work.
Otherwise, the flatpak build with the rebased PR seems to work fine.
Should I first add this improvement or should this PR just stay as-is?
Should I first add this improvement or should this PR just stay as-is?
You can add this improvement. Thanks
Setting the "focus-on-click" property did not work, that was not possible. Now the EventController was simply moved to the root of the player widget.
This means that the left/right arrow keys and space will always be captured inside the player view, inside the main window.
It is still possible to use everything via the keyboard using TAB
and RETURN
.
By the way, what method do you use for merging PRs?
The commits from my previous PRs are all marked as unverified although the commits should be signed. Also, I think those mistakenly pushed changes are not really useful to have in the repo - maybe squash the PR on merge?
By the way, what method do you use for merging PRs?
I usually revise on merge
The commits from my previous PRs are all marked as unverified although the commits should be signed.
I just saw that too. It's weird because it's the first time it's ever happened. Did you remove your keys or something? If not, GitHub might have messed up (probably a bit flip or something 😅) and I'm not in the mood of fixing that so maybe we might need to ignore it?
Also, I think those mistakenly pushed changes are not really useful to have in the repo - maybe squash the PR on merge?
No worries. I can squash.
Let me know when ready for review
Let me know when ready for review
It's ready now
Did you remove your keys or something?
I didn't change anything. The commits from #45 are marked as verified on the branch it was merged from: https://github.com/BlobCodes/decibels/commits/main/
It's weird because it's the first time it's ever happened
I have the paranoid mode activated on github where all unsigned commits associated with me are explicitly specified as unsigned.
All code coming from PRs in the commit history are also unsigned, but nobody associated with the PR had this mode activated.
Using "rebase on merge" (I think this is what you meant, I couldn't find "revise on merge") is generally not compatible with signed commits: https://stackoverflow.com/questions/62950018/verified-signatures-are-gone-after-i-pressed-rebase-and-merge
Ah, I see. I didn't know rebase and merge rewrote the commit SHAs (I know, I'm dumb and I hate git.) Thanks for enlightening me. I will now do the regular merge from now on.
On Thu, 21 Dec 2023, 02:23 David Keller, @.***> wrote:
It's weird because it's the first time it's ever happened
I have the paranoid mode activated on github where all unsigned commits associated with me are explicitly specified as unsigned.
All code coming from PRs in the commit history https://github.com/vixalien/decibels/commits/main/ are also unsigned, but nobody associated with the PR had this mode activated.
Using "rebase on merge" (I think this is what you meant, I couldn't find "revise on merge") is generally not compatible with signed commits:
— Reply to this email directly, view it on GitHub https://github.com/vixalien/decibels/pull/48#issuecomment-1865309231, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJB5FCKIYOILKRWCGI4TMM3YKN6QHAVCNFSM6AAAAABAXZLRN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVGMYDSMRTGE . You are receiving this because you commented.Message ID: @.***>
I believe this branch needs a rebase
No, there are no new commits that this branch doesn't have.
GitHub even says that there are no conflicts (it can do everything automatically).
Not sure what's wrong here for me. It shows this
Ah that's right it can't be rebased but it can be squashed as per your recommendation. Thanks!
This PR adds keyboard controls on the waveform element, which is focused by default. This means that one can now simply navigate the song with the keyboard without first tab-ing to the GtkScale.
New keyboard controls:
These controls have been added to the help page. Translations for these keys probably need to be added, but I have no idea how to do that.
More precise controls could be added in the future, but I wanted to keep this PR small.
The GtkScale and the three buttons in the lower middle (back 10s, pause, skip 10s) are now not focusable anymore because this should be way more intuitive.