glide icon indicating copy to clipboard operation
glide copied to clipboard

Keyboard input broken

Open fbruetting opened this issue 4 years ago • 7 comments

v0.5.6-Flatpak (would be cool if you would provide an “info” screen in the program)

Here are some problems I encountered:

  • I cannot use the arrow keys to navigate through the video – at pressing those keys, I just hear that “limit reached sound” (which you also encounter in an empty terminal, when you try to scroll down when there is no newer prompt line in the history).
  • Pressing the space bar pauses the video, while the play button still shows the “pause” icon (i.e. it does not change). Pressing the space bar again does nothing.

fbruetting avatar Sep 01 '19 01:09 fbruetting

v0.5.6-Flatpak (would be cool if you would provide an “info” screen in the program)

The About menu is no longer accessible indeed since I migrated to the "sandwitch" menu. I'll keep it in mind for next release.

Here are some problems I encountered:

  • I cannot use the arrow keys to navigate through the video – at pressing those keys, I just hear that “limit reached sound” (which you also encounter in an empty terminal, when you try to scroll down when there is no newer prompt line in the history).

The shortcuts for seeking are Ctrl-Left and Ctrl-Right.

  • Pressing the space bar pauses the video, while the play button still shows the “pause” icon (i.e. it does not change). Pressing the space bar again does nothing.

I can't reproduce this issue here. Pressing space pauses the video and the pause button switches to the play icon, as expected.

philn avatar Sep 01 '19 08:09 philn

The current shortcuts: https://github.com/philn/glide/blob/master/src/ui_context.rs#L144 (Primary is an alias for Ctrl on Linux). It's true I should add an overlay help menu documenting those though.

philn avatar Sep 01 '19 09:09 philn

Why don’t you use the arrow keys directly (without Ctrl), like every other media player does? Normally these modifier keys change the timestep (normal: 10s, Shift: 1m, Alt: 5/10m, etc.). However, at least this sounds are superfluous and could be deleted, I think.

I can't reproduce this issue here. Pressing space pauses the video and the pause button switches to the play icon, as expected.

Ok, today I also can’t reproduce. This occurred after playing around with the arrow key navigation, yesterday.

fbruetting avatar Sep 01 '19 17:09 fbruetting

Why don’t you use the arrow keys directly (without Ctrl), like every other media player does? Normally these modifier keys change the timestep (normal: 10s, Shift: 1m, Alt: 5/10m, etc.). However, at least this sounds are superfluous and could be deleted, I think.

By "normally", which apps do you mean? I've based this behavior on VLC, where pressing Left/Right seeks in the playlist, not in the media itself.

philn avatar Sep 01 '19 17:09 philn

Totem, Celluloid/Gnome-MPV, and all media players I ever encountered on Windows, basically. Would be new to me if the arrow keys would not work in VLC for sifting. 🤔️

I guess sifting through videos is a way more often used operation than switching videos, which is why I personally would make that the easier reachable one. For music it’s the other way round, but Glide is primary a video player, or? And as far as I can tell, Glide has no playlist feature, has it?

fbruetting avatar Sep 01 '19 17:09 fbruetting

I made this primarily for video yeah, regarding playlists, see https://github.com/philn/glide/issues/21

philn avatar Sep 01 '19 18:09 philn

As this would me a more rare case of usage for most people, would you mind switching Arrow actions with Ctrl + Arrow actions? I.e. let Arrow navigate throughout a video and Ctrl + Arrow switch between files?

fbruetting avatar Sep 02 '19 21:09 fbruetting