Rafał Dzięgiel
6400d251c2
Add a special style class for menu popover button
...
We want to have a non-osd popover in the button that is placed on OSD headerbar. This is something unusual that Adwaita does not have, so create a custom style that will use common values from user system theme.
2021-02-19 10:12:47 +01:00
Rafał Dzięgiel
e7b446ca9f
Extend Gtk.ToggleButton for Popover buttons
...
Instead of trying to force active state for a normal button that is not designed to be toggle-able, use GTK toggle buttons.
2021-02-19 10:10:09 +01:00
Rafał Dzięgiel
7680b85ea9
Reveal controls only with touch or pen
2021-02-18 19:02:34 +01:00
Rafał Dzięgiel
834a690903
Tweak overlay revealers show/hide logic
2021-02-18 17:13:38 +01:00
Rafał Dzięgiel
12591e106f
Move event controllers to widget and add them to top revealer
2021-02-17 16:31:37 +01:00
Rafał Dzięgiel
192ccb379f
Limit minimal video widget size to 336x189px
2021-02-17 12:56:02 +01:00
Rafał Dzięgiel
e53f35c1c9
Bind revealers visibility instead of using a timeout
2021-02-17 12:28:49 +01:00
Rafał Dzięgiel
b012ac4c8f
Fix typos
2021-02-17 12:28:49 +01:00
Rafał Dzięgiel
e79ce58b26
Rename "fullscreenMode" boolean to "isFullscreenMode"
2021-02-17 12:28:45 +01:00
Rafał Dzięgiel
887f189b60
Save window size only when windowed and not in floating mode
2021-02-17 12:20:44 +01:00
Rafał Dzięgiel
c908305be0
Update window title with video title
...
Clapper no longer has a title bar to show the media title during playback. Update window title so the video title is also shown on "Activities" view in addition to fullscreen top overlay.
2021-02-16 15:35:10 +01:00
Rafał Dzięgiel
435264cbec
Start DBus proxy asynchronously
2021-02-16 15:35:10 +01:00
Rafał Dzięgiel
2347ff52bf
Add option to show floating video on all workspaces
...
Option to stick the floating mode window to all workspaces. Disabled by default. Can be enabled in player preferences.
2021-02-16 15:33:57 +01:00
Rafał Dzięgiel
530f60bce9
Replace GTK headerbar with custom implementation
...
This avoids D&D controllers clash and allows to freely customize how maximize, minimize and close buttons work (differently for e.g. web application) and where are they placed
2021-02-16 15:23:58 +01:00
Rafał Dzięgiel
6448012edd
Auto set floating mode window to be always above
2021-02-14 21:35:16 +01:00
Rafał Dzięgiel
baa5053446
Reset hide controls timer when clicking corresponding button
2021-02-14 14:16:59 +01:00
Rafał Dzięgiel
91703cf7cf
Hide both cursor and overlays with a single timer
...
Simplify hide controls logic code by using single timer to hide both cursor and video overlays at once
2021-02-14 14:07:38 +01:00
Rafał Dzięgiel
8064bab6a2
Remove old floating mode leftovers
...
Clapper has now much simpler floating mode. This overcomplicated code is not needed anymore.
2021-02-13 20:19:08 +01:00
Rafał Dzięgiel
892e8b55f3
Change floating mode icon
...
Floating mode now works entirely different then before (only controls gets hidden/revealed with animation). Change the used icon to better match this new behaviour.
2021-02-13 18:57:30 +01:00
Rafał Dzięgiel
662517163b
Reduce amount of logic in controls unreveal tick
2021-02-13 18:20:17 +01:00
Rafał Dzięgiel
1d16d3e2ac
Add OSD headerbar and transition to floating mode
2021-02-13 17:19:03 +01:00
Rafał Dzięgiel
bb8ae47a66
Enforce rounded corners only on Adwaita theme
...
Adwaita does not have rounded corners yet, but will have soon. Enforce rounded corners in the app only for Adwaita to avoid bumping min required GTK version.
2021-02-12 12:19:43 +01:00
Rafał Dzięgiel
46e8bef7b8
Use separate CSS class for TV mode
2021-02-12 11:49:34 +01:00
Rafał Dzięgiel
a597de5481
Swipe when fullscreen to seek or adjust volume
2021-02-10 23:11:46 +01:00
Rafał Dzięgiel
68faeca918
API: Disallow pause on very short streams (< 1 sec)
...
Fixes crash when trying to pause on DVD navigation
2021-02-10 17:03:11 +01:00
Rafał Dzięgiel
821c7f6537
Make hitting "Enter" resume playback position when asked
2021-02-10 12:31:29 +01:00
Rafał Dzięgiel
57a480389f
Show GJS version in about dialog
2021-02-10 12:24:10 +01:00
Rafał Dzięgiel
3b7beac075
Major theme changes were done in GTK 4.0.2, not GTK 4.1
2021-02-09 20:49:07 +01:00
Rafał Dzięgiel
894384483b
Merge pull request #41 from Rafostar/pinephone
...
Fix mobile devices transitions and detection
2021-02-09 18:52:28 +01:00
Rafał Dzięgiel
1ee0db1cbc
Also do not save resume info for very long titles (random URIs)
2021-02-09 17:19:42 +01:00
Rafał Dzięgiel
1f0979d217
Update TODO.md
2021-02-09 13:52:52 +01:00
Rafał Dzięgiel
662a0ccd67
Flatpak: fix gst-plugins-good manifest
2021-02-09 13:21:11 +01:00
Rafał Dzięgiel
ddbf4d40e6
Merge pull request #40 from Rafostar/resume-playback
...
Resume playback
2021-02-09 12:49:32 +01:00
Rafał Dzięgiel
d5ab23d5c1
Reduce rounded corners radius
2021-02-09 12:45:22 +01:00
Rafał Dzięgiel
23ef3bb85f
Optimize sliders for GTK 4.1
2021-02-09 12:40:11 +01:00
Rafał Dzięgiel
b472c23bf5
Fix volume scale border not turning red when overamp
2021-02-08 22:29:00 +01:00
Rafał Dzięgiel
d1f32955b8
Do not save resume info under certain conditions
...
Do not save when video is short, just started or almost finished
2021-02-08 22:16:49 +01:00
Rafał Dzięgiel
17f73bb222
Add resume last unfinished video setting to prefs
2021-02-08 21:53:22 +01:00
Rafał Dzięgiel
d952f37b0e
Prevent saving unfinished video info when autoclosing
2021-02-08 21:30:52 +01:00
Rafał Dzięgiel
dfbb8b8d70
Ask to resume last unfinished video
2021-02-08 21:16:28 +01:00
Rafał Dzięgiel
15eeea2872
Save resume info of last unfinished video
2021-02-08 21:16:13 +01:00
Rafał Dzięgiel
84232f3c12
Prepare resume playback dialog
2021-02-08 19:22:27 +01:00
Rafał Dzięgiel
c2808e7d9a
Update position slider right after seek is done
2021-02-08 18:50:29 +01:00
Rafał Dzięgiel
5dbcb53385
Lower the priority of showing chapter popover
2021-02-08 17:42:02 +01:00
Rafostar
65f1e8e60e
Observe surface width instead of video widget
2021-02-07 21:47:25 +01:00
Rafostar
8a5702f296
Detect mobile monitor based on application-pixels
2021-02-07 21:20:14 +01:00
Rafostar
65b4df13a8
Install gstclapper libs to app named subdirectory
2021-02-07 12:35:41 +01:00
Rafał Dzięgiel
4debed92fe
Do not restore window size if it exceeds screen size #38
2021-02-06 23:13:29 +01:00
Rafał Dzięgiel
6b6777ffba
Remove info about Ubuntu package from README.md
...
We cannot build Ubuntu deb package currently due to missing gtk4-dev files in Ubuntu repos.
2021-02-06 16:25:28 +01:00
Rafostar
214e2f1d7f
Update debian build files
2021-02-06 15:33:00 +01:00