John Preston
71deaa48af
Don't crash on voice recording error.
...
Fixes #16217 .
2021-05-13 15:36:24 +04:00
John Preston
e9196bbbb5
Fix closing PiP that was opened without media viewer.
...
Fixes #16193 .
2021-04-27 13:31:51 +04:00
John Preston
06292e7442
Fix crash and glitch in video-in-PiP preserve.
2021-04-26 16:51:32 +04:00
Alexander Bushnev
99501d844d
Remember that media view was switched to PIP and open it as PIP again.
...
Very useful, especially on large monitors.
Since the permanent opening of the video in full screen interferes and hide other applications.
This functionality allows remembering (in the current session) that the window has been switched to a PIP mode and will open a new video directly in the PIP mode.
2021-04-12 12:03:48 +03:00
John Preston
1342077dcb
Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId.
2021-04-09 15:05:00 +04:00
John Preston
5bc6e6533f
Fix jumping of Media Viewer in some DEs.
2021-04-06 18:41:15 +04:00
Ilya Fedin
75a782cced
Workaround force setting of WM_TRANSIENT_HINT in Qt's xcb backend
2021-04-05 10:19:24 +03:00
Ilya Fedin
073b5b106c
Get rid of modal parent hack
...
It was introduced to workaround the absence of size hints propagating in Qt 5.12 Wayland backend, there's no need in it anymore
2021-04-05 08:03:46 +03:00
John Preston
eeecc42c25
Version 2.7.
...
- Start limitless Voice Chats in Groups and Channels.
- Host discussions that can be listened to
by millions of people simultaneously.
- Record voice chats to share or publish in Channels later.
- See that a chat is being recorded
from the red dot next to its title.
- See user bio texts right from the list of participants.
- Raise your hand to show admins you want to speak.
- Create separate Voice Chat Invite Links for listeners or speakers.
- Change the title of your Voice Chat
to give people an idea of the current topic.
- Join Voice Chats as one of your Channels
to hide your personal account.
2021-03-19 14:15:26 +04:00
John Preston
ac397e6e19
Beta version 2.6.7.
...
- Improve voice chat participants list updating.
2021-03-18 18:05:43 +04:00
John Preston
a5d8d7a550
Add some validation for GroupThumbs.
2021-03-15 19:00:32 +04:00
Ilya Fedin
ae0b9141dd
Trying to get rid of unused variables...
2021-03-15 11:40:44 +03:00
Ilya Fedin
c0c10689a1
Get rid of deprecated ranges::view usage
2021-03-13 19:14:58 +03:00
Ilya Fedin
c4dcf064d5
Avoid multiple .arg usage as suggested by clazy
2021-03-13 19:08:33 +03:00
23rd
504f5ee5d7
Improved text resizing in playback speed item.
2021-03-11 12:29:17 +03:00
Ilya Fedin
1fc24398a0
React to moveEvent in media viewer
2021-03-06 12:08:20 +04:00
Ilya Fedin
23272430b4
Build with QT_NO_KEYWORDS
2021-03-04 12:07:54 +04:00
John Preston
4928066be7
Fix animated userpics playback in media viewer.
...
Regression was introduced in 0ecd4d3b40
.
I hope it fixes #10288 .
2021-02-23 12:48:28 +04:00
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