Commit edeb38b
video-area: Inhibit eager reveal of floating controls
This commit inhibits Celluloid from revealing floating controls upon
launching a video or fullscreen toggle. The floating controls should now
be revealed only upon cursor motion.
The old behaviour was rather annoying, especially when the user opened
or fullscreened a video using the keyboard (pressing Enter in Nautilus,
pressing 'f'); Once the Celluloid window opened or fullscreened in this
manner, not using the mouse (cursor) would not trigger the reveal
timeout, which would keep the floating controls revealed indefinitely,
forcing the user to wiggle the cursor to trigger the timeout to hide the
floating controls.
It was also not often the desired default behaviour to even see the
floating controls upon video launch at all. Rather, one might opine that
a keybinding for revealing the floating controls would be a better UX.
Perhaps something like Shift or Alt.1 parent 1bada68 commit edeb38b
1 file changed
Lines changed: 22 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| |||
177 | 180 | | |
178 | 181 | | |
179 | 182 | | |
180 | | - | |
| 183 | + | |
| 184 | + | |
181 | 185 | | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
186 | 196 | | |
187 | 197 | | |
188 | 198 | | |
| |||
643 | 653 | | |
644 | 654 | | |
645 | 655 | | |
646 | | - | |
| 656 | + | |
| 657 | + | |
647 | 658 | | |
648 | | - | |
| 659 | + | |
| 660 | + | |
649 | 661 | | |
650 | 662 | | |
651 | 663 | | |
| |||
693 | 705 | | |
694 | 706 | | |
695 | 707 | | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | 708 | | |
716 | 709 | | |
717 | 710 | | |
| |||
726 | 719 | | |
727 | 720 | | |
728 | 721 | | |
| 722 | + | |
729 | 723 | | |
730 | 724 | | |
731 | 725 | | |
| |||
737 | 731 | | |
738 | 732 | | |
739 | 733 | | |
| 734 | + | |
740 | 735 | | |
741 | 736 | | |
742 | 737 | | |
| |||
748 | 743 | | |
749 | 744 | | |
750 | 745 | | |
| 746 | + | |
751 | 747 | | |
752 | 748 | | |
753 | 749 | | |
| |||
0 commit comments