John Preston
|
15e03687f8
|
Add auto-delete period edit box.
|
2021-02-22 23:42:41 +04:00 |
|
Ilya Fedin
|
53869ed994
|
Use base::QScreenNearestTo in PipPanel
|
2021-02-19 14:15:09 +04:00 |
|
Ilya Fedin
|
15d18077b8
|
Use new methods from lib_ui
|
2021-02-19 14:15:09 +04:00 |
|
John Preston
|
093d89db83
|
Fix display of stickers in media viewer.
|
2021-02-17 19:13:37 +04:00 |
|
Ilya Fedin
|
7e4dff25e9
|
Log media viewer geometry
|
2021-02-17 11:15:16 +04:00 |
|
Ilya Fedin
|
da74fe4248
|
Call moveToScreen right before showFullScreen for Wayland
|
2021-02-17 11:15:16 +04:00 |
|
23rd
|
f2b434d82b
|
Fixed text color in playback speed item.
|
2021-02-09 19:26:56 +04:00 |
|
23rd
|
683d78c64a
|
Added missed passing of resize event to parent of OverlayWidget.
|
2021-02-04 18:13:03 +04:00 |
|
23rd
|
4695ccfdb8
|
Fixed mouse hiding in OverlayWidget when menu of controls is displayed.
|
2021-02-04 18:13:03 +04:00 |
|
23rd
|
813470ff25
|
Replaced submenu for playback speed with slider.
|
2021-02-04 18:13:03 +04:00 |
|
Ilya Fedin
|
57ca6e23b9
|
Port Qt-based title widget to lib_ui
|
2021-02-04 18:11:44 +04:00 |
|
John Preston
|
5feb381cb2
|
Allow showing images from cache in media viewer.
Fixes #10237.
|
2021-02-01 15:44:24 +04:00 |
|
Ilya Fedin
|
3251b8bf6e
|
Don't set geometry for media viewer only on Wayland
|
2021-01-31 12:39:13 +04:00 |
|
John Preston
|
1eacaec66b
|
Fix build.
|
2021-01-29 21:07:09 +04:00 |
|
Ilya Fedin
|
10f58c2ac7
|
Add debug logging about media viewer screen
|
2021-01-29 20:58:35 +04:00 |
|
23rd
|
d4bbbdb65c
|
Replaced rand_value util function with openssl::RandomValue.
|
2021-01-24 10:41:10 +03:00 |
|
23rd
|
dd01ece14a
|
Replaced snap util function with std::clamp.
|
2021-01-24 10:41:10 +03:00 |
|
Ilya Fedin
|
57f9ae4b2a
|
Fix speed control support check
|
2021-01-22 17:10:22 +04:00 |
|
Ilya Fedin
|
cbdd86d398
|
Fix deadlock on OpenAL errors
|
2021-01-22 17:10:22 +04:00 |
|
Ilya Fedin
|
a986d7a3d6
|
Fix checking cover stream on seeking
|
2021-01-22 17:05:43 +04:00 |
|
23rd
|
03a7131a1a
|
Replaced slots with lambdas to fill context menu in OverlayWidget.
|
2021-01-22 16:53:59 +04:00 |
|
23rd
|
2d906bddb2
|
Replaced raw PopupMenu pointer with unique_qptr in OverlayWidget.
|
2021-01-22 16:53:59 +04:00 |
|
23rd
|
dd7598a701
|
Replaced singleShot with InvokeQueued in OverlayWidget.
|
2021-01-22 16:53:59 +04:00 |
|
23rd
|
b6f17e1cea
|
Replaced QTimer with base::Timer in OverlayWidget.
|
2021-01-22 16:53:59 +04:00 |
|
John Preston
|
8ae1b10b91
|
Fix media viewer regression.
|
2021-01-09 13:55:55 +04:00 |
|
John Preston
|
613bf98283
|
Fix media viewer controls geometry updating.
|
2021-01-05 21:15:19 +04:00 |
|
John Preston
|
d557e0f2b7
|
Don't set geometry to OverlayWidget (except macOS).
|
2021-01-05 21:14:59 +04:00 |
|
Ilya Fedin
|
e81f4e8545
|
Add updateControls to resizeEvent in media viewer
|
2021-01-05 18:45:41 +04:00 |
|
Ilya Fedin
|
daa3a2f62f
|
React to resizeEvent in media viewer
|
2021-01-04 17:33:37 +04:00 |
|
John Preston
|
0ecd4d3b40
|
Close PiP when opening a loading video.
Fixes #9926.
|
2020-12-30 17:12:40 +04:00 |
|
23rd
|
91e97b3d65
|
Fixed paint of group with wide thumbs in media viewer.
Fixed #8392.
|
2020-12-22 12:57:22 +03:00 |
|
23rd
|
348712059b
|
Moved date and progress text formatting to tg_ui:ui/text/format_values.
|
2020-12-22 09:11:04 +03:00 |
|
Ilya Fedin
|
9493a3e8d2
|
Fix freeze on screen disconnect
|
2020-12-15 18:54:16 +04:00 |
|
John Preston
|
7ab919e249
|
Allow skipping more bad packets after a good one.
|
2020-12-14 19:56:24 +04:00 |
|
Ilya Fedin
|
dcd1e62c36
|
Move media viewer back to the right screen if it was moved by window manager
|
2020-12-14 14:02:15 +04:00 |
|
Ilya Fedin
|
c9d2ef278f
|
Call moveToScreen from handleVisibleChanged in OverlayWidget
|
2020-12-14 14:02:15 +04:00 |
|
Ilya Fedin
|
78a666a19d
|
Make updateGeometry don't need the argument
|
2020-12-14 14:02:15 +04:00 |
|
John Preston
|
df420e4ccf
|
Revert "Use gtk not only to get image from clipboard, but also to set"
This reverts commit f88c132c96 .
Fixes #9885.
|
2020-12-11 12:00:52 +04:00 |
|
Ilya Fedin
|
86be105c25
|
Media Play key is expected to behave like Toggle Media Play/Pause
Looks like Qt maps "Media Play" to the common play/pause button on keyboards:
https://github.com/qt/qtbase/blob/5.15/src/platformsupport/input/xkbcommon/qxkbcommon.cpp#L293
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/windows/qwindowskeymapper.cpp#L392
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/android/androidjniinput.cpp#L519
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/android/androidjniinput.cpp#L607
While "Toggle Media Play/Pause" is some special case:
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/windows/qwindowskeymapper.cpp#L488
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/ios/quiview.mm#L584
It is worth to behave on "Media Play" like on "Toggle Media Play/Pause".
|
2020-12-08 21:20:26 +03:00 |
|
Ilya Fedin
|
8819938bf2
|
Remove unneeded moveToScreen calls
|
2020-12-08 21:19:59 +03:00 |
|
Ilya Fedin
|
f88c132c96
|
Use gtk not only to get image from clipboard, but also to set
|
2020-12-08 21:18:49 +03:00 |
|
John Preston
|
dde94d486b
|
Change button round radius.
|
2020-12-08 11:19:23 +04:00 |
|
John Preston
|
41591ff2e9
|
Add group calls top bar.
|
2020-12-01 09:45:21 +03:00 |
|
John Preston
|
e29ee439cf
|
Improve media viewer hiding workaround on macOS.
|
2020-11-19 17:59:43 +03:00 |
|
John Preston
|
639e6d8e28
|
Fix sending albums in slowmode groups.
Fixes #9106.
|
2020-11-19 16:47:17 +03:00 |
|
Ilya Fedin
|
76a7cc9229
|
Don't set screen for media viewer on Wayland
|
2020-11-18 14:29:00 +03:00 |
|
John Preston
|
b2047c9558
|
Fix first media viewer open zoom.
|
2020-11-18 14:11:23 +03:00 |
|
John Preston
|
cf6ca3b1ac
|
Handle bot command clicks in Replies / Scheduled.
|
2020-11-17 12:56:51 +03:00 |
|
23rd
|
b3925a3bec
|
Added touchbar hiding while recording voice message.
|
2020-11-17 12:56:51 +03:00 |
|
Ilya Fedin
|
cd67cb1c62
|
Update media viewer geometry on showing and screen change
|
2020-11-17 12:49:05 +03:00 |
|