John Preston
8a1140c09f
Extract Media::Player::Dropdown widget.
2021-11-18 21:51:10 +04:00
John Preston
a2bf1544df
Remove Q_OBJECT from VolumeWidget.
2021-11-18 21:51:10 +04:00
John Preston
f4a6be2ed9
Move audio player icons to "player" folder.
2021-11-18 21:51:10 +04:00
John Preston
f2e4a5a35a
Highlight YouTube video timestamps as external links.
2021-11-18 16:03:12 +04:00
John Preston
c534f3f22e
Some internal HistoryItem refactoring.
...
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +04:00
Ilya Fedin
847c01d605
Add Qt 6 support
...
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
159beb138a
Moved api peer photo processing to separated file.
...
Removed MainWidget::deletePhotoLayer.
2021-10-20 22:56:19 +03:00
23rd
9117b3cdfa
Extracted DeleteMessagesBox to separated file.
2021-10-19 06:34:27 +03:00
CoderTimZ
c9e24c2283
Display dates with the system date format
2021-10-11 21:56:29 +04:00
John Preston
19ce1edc16
Use base::SafeRound instead of std::round.
...
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b
, 8f5830d520
.
Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
Hermesis
cfcc1b1ce7
Control video in fullscreen mode using arrows and numbers
2021-09-26 14:07:02 +04:00
John Preston
c336d725ea
Fix media controls hiding workaround.
2021-09-19 16:55:55 +03:00
John Preston
8069fdd873
Use base/random.h instead of openssl::RandomValue.
2021-09-15 13:42:22 +03:00
23rd
900a7d0b2b
Appended references to const auto types in loop to prevent copying.
...
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston
7797099a49
Fix media viewer loading animation first show.
2021-09-07 23:41:08 +03:00
John Preston
8f9e394dd0
Fix build with GCC.
2021-09-07 23:41:08 +03:00
23rd
150dbef19f
Added ability to save icon of last voice playback speed.
2021-09-07 23:41:07 +03:00
23rd
81a72caf07
Added context menu to voice playback speed button.
...
Fixed #16868 .
Fixed #16138 .
2021-09-07 23:41:07 +03:00
John Preston
434a7c5293
Remember volume from SMC.
...
Co-authored-by: 23rd <23rd@vivaldi.net>
2021-09-06 15:40:51 +03:00
udf
fb1c253992
Set mixer volume on media control change
2021-09-06 15:40:51 +03:00
udf
d53932382c
Set mixer volume before changing setting
2021-09-06 15:40:51 +03:00
John Preston
463da7e410
Allow Ui::GL::Renderer::deinit on lost context.
2021-09-06 13:13:26 +03:00
23rd
4550b2a315
Decreased record bitrate of voice messages.
...
Fixed #6708 .
2021-09-01 01:23:20 +03:00
23rd
bcbab7ad8e
Added ability to change playback speed for long audio files.
2021-09-01 01:23:20 +03:00
23rd
b635a9d4a5
Changed voice playback speed setting to storage value of speed.
2021-09-01 01:23:20 +03:00
23rd
e6f0c176f7
Moved AudioMsgId to separated file.
2021-09-01 01:23:20 +03:00
John Preston
beff635e45
Colorize bubbles according to a custom chat theme.
2021-08-30 20:32:57 +03:00
John Preston
2694cb76a7
Remove crash debug information from streaming.
2021-08-25 11:24:32 +03:00
John Preston
401529e7d1
Fix possible crash in media viewer hide workaround.
2021-08-24 19:25:31 +03:00
John Preston
7948fc509e
Remove (incorrect) checks for double casts.
2021-08-24 18:11:47 +03:00
John Preston
2d6155fc85
Throw fp exceptions in Windows 32 bit build.
2021-08-24 17:43:31 +03:00
John Preston
8f5830d520
Workaround both std::round-s in video streaming.
2021-08-24 12:42:27 +03:00
John Preston
e8f1373edc
Add some checks for NAN in video playback.
2021-08-23 20:29:40 +03:00
John Preston
7e6f24552a
Add basic OpenGL info to crash annotations.
2021-08-23 18:29:20 +03:00
John Preston
27d58ba07b
Try to do a non-failed double->crl::time cast.
...
A crash on some old CPUs show, that in video frame processing
sometimes a cast from double to crl::time fails, writing to
the resulting crl::time value INT64_MIN (0x8000000000000000).
This is shown in crash logs, with lines like:
...,rounded:104,casted:-9223372036854775808,...
where logs are written like:
...
).arg(std::round(adjust * _options.speed)
).arg(crl::time(std::round(adjust * _options.speed))
...
I don't know what to do and how to workaround this. Trying other casts.
2021-08-23 17:58:59 +03:00
John Preston
868015da25
Add extensive video playback crash logs.
2021-08-23 12:17:40 +03:00
John Preston
3136c0586e
Add some more assertions to debug a crash.
2021-08-21 09:33:20 +03:00
John Preston
0d449c037b
Beta version 2.9.5: Fix hide workaround for media viewer.
2021-08-20 19:56:40 +03:00
John Preston
3d36e501a1
Add some assertions to debug a crash in video playback.
2021-08-20 18:42:13 +03:00
John Preston
c79cd0b692
Use Images::Read instead of App::readImage.
2021-08-11 18:55:08 +03:00
Ilya Fedin
97262a99c7
Get rid of osx and linux32 special targets
2021-08-11 16:59:27 +03:00
23rd
479611f6df
Removed ui_getPeerForMouseAction.
2021-07-27 02:50:08 +03:00
23rd
93bcd90fd4
Provided more context for click handlers.
2021-07-27 02:18:49 +03:00
23rd
7c8b1cd5b1
Disabled forced session switching when closing PiP.
...
Regression was introduced in 7decf68122
.
2021-07-26 18:54:58 +03:00
23rd
a14f2144e1
Removed layout.cpp/h.
2021-07-26 17:38:51 +03:00
23rd
c6071d1148
Moved generic document preview info to separated file.
2021-07-26 17:38:51 +03:00
John Preston
c0f8e68f5d
Don't use CurrentSingleComponentFormat.
...
Fix noise in voice chat blur in OpenGL ES (ANGLE).
2021-07-23 15:42:16 +03:00
Ilya Fedin
ba9b72e038
Fix -Wunused-variable warnings with gcc
2021-07-19 22:31:27 +03:00
John Preston
10e1feb40b
Use GL_BGRA_EXT format with ANGLE.
2021-07-15 16:42:38 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +03:00
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
Ilya Fedin
b6881022ce
Allow to build with -Werror and clang
...
Fixes -Wdeprecated-enum-enum-conversion, -Wdeprecated-declarations, -Wrange-loop-construct, -Winconsistent-missing-override
2021-07-13 21:32:06 +03:00
Ilya Fedin
89765340c3
Fix -Wunused-function warnings
2021-07-13 21:31:22 +03:00
Ilya Fedin
c53564cfdc
Set service name for MPRIS
2021-07-10 14:28:04 +03:00
23rd
a631a28092
Removed App::pixmapFromImageInPlace.
2021-07-06 12:13:06 +03:00
23rd
af7ea90246
Added floating panel of playing playlist for scheduled audio files.
2021-07-01 23:53:45 +03:00
23rd
348cf4829c
Added ability to scroll media in section of scheduled messages.
...
Fixed #8388 .
2021-07-01 23:53:45 +03:00
23rd
4753a57091
Added ability to validate playlists in section of scheduled messages.
2021-07-01 23:53:45 +03:00
John Preston
6cea7d4a52
Fix YUV->RGB on D3D9 ANGLE backend.
2021-07-01 23:46:52 +03:00
John Preston
348666de6d
Use media viewer size hack only when required.
2021-07-01 23:46:52 +03:00
23rd
7decf68122
Fixed possible crash in OverlayWidget when video continues from PiP.
2021-06-24 17:44:28 +04:00
John Preston
4ff9e90153
Add some assertions and logging for a crash debugging.
2021-06-24 10:49:01 +04:00
John Preston
28fe98af80
Add some assertions for a strange crash debugging.
2021-06-24 10:24:52 +04:00
23rd
460baa54d8
Fixed switching between PiP and OverlayWidget.
2021-06-18 07:30:54 +03:00
23rd
6c56fad180
Fixed updating of parent id for file click handlers.
...
Fixed #16447 .
2021-06-18 07:30:54 +03:00
23rd
3fd772ce17
Moved file click handlers to separated file.
2021-06-18 07:30:54 +03:00
23rd
7924979dfb
Removed Ui::showPeerHistoryAtItem from facades.
2021-06-17 10:57:46 +04:00
23rd
c25779b844
Removed showDocument and showPhoto from Media::View::OverlayWidget.
2021-06-17 10:57:45 +04:00
23rd
1f816c249b
Replaced DocumentOpenClickHandler.
2021-06-17 10:57:45 +04:00
23rd
9290cd3a16
Added SessionController pointer to Media::View::OverlayWidget.
2021-06-17 10:57:45 +04:00
23rd
7885be4a94
Added ability to show content from Controller for inline results.
2021-06-17 10:57:45 +04:00
23rd
6d0d399250
Added initial ability to show documents in OverlayWidget from Controller.
2021-06-17 10:57:45 +04:00
23rd
0e89c93993
Added initial ability to show content in OverlayWidget from Controller.
2021-06-17 10:57:45 +04:00
John Preston
e2a97e2ae9
Fix possible crash in media viewer.
2021-06-17 10:09:22 +04:00
23rd
c22d200c17
Removed unused observable trackFinished from Media::Audio::Instance.
2021-06-16 09:31:32 +03:00
John Preston
df28da4d97
Show "Video is paused" in wide panel mode.
2021-06-15 16:49:53 +04:00
John Preston
f18e157e46
Add video placeholder if can't receive it.
2021-06-15 14:30:51 +04:00
John Preston
4e0355d09f
Fix semi-transparent .webp in media viewer.
2021-06-14 15:28:39 +04:00
John Preston
68be54288c
Fix working using OpenGLES / ANGLE.
2021-06-14 12:16:00 +04:00
John Preston
10636d931f
Validate video speed before applying.
2021-06-14 11:22:57 +04:00
John Preston
5ab8a7d9c5
Fix controls in PiP video player.
2021-06-11 20:29:34 +04:00
John Preston
4f0f815201
Fix crash in saving document from media viewer.
2021-06-11 19:36:27 +04:00
23rd
8d72026cbd
Fixed build for Linux.
2021-06-10 23:00:56 +03:00
23rd
69eaecc218
Moved SystemMediaControlsManagerto Media namespace.
2021-06-10 23:00:56 +03:00
23rd
8356bac6d7
Added new event of seeking to media player.
2021-06-10 23:00:55 +03:00
John Preston
2f986660ff
Optimize background painting in OpenGL renderers.
2021-06-10 23:37:09 +04:00
John Preston
f9f98975a1
Implement OpenGL renderer for one-on-one calls.
2021-06-10 17:16:17 +04:00
John Preston
e0e2b973f1
Remove shadow debugging image saving.
2021-06-10 15:38:19 +04:00
John Preston
aeb994dd40
Fix radial loading and seek frame in PiP.
2021-06-10 14:05:15 +04:00
John Preston
112c597556
Fix video rotation apply in PiP player.
2021-06-10 11:44:31 +04:00
John Preston
fc94045f41
Fix PiP cursor after drag/resize finished.
2021-06-10 10:39:09 +04:00
John Preston
2a8055c513
Fix action invocation after dragging PiP window.
...
Regression was introduced in d752aa3481
.
2021-06-10 10:31:47 +04:00
John Preston
fba116f0d5
Implement custom OpenGL renderer for PiP.
2021-06-10 10:12:37 +04:00
John Preston
c5a46d9d1b
For surface with parent backend should be fixed.
2021-06-09 09:19:29 +04:00
John Preston
b3648d0147
Use QOpenGLShaderProgram::bind.
2021-06-09 09:19:28 +04:00
John Preston
9a21d55de7
Show last blurred frame or userpic for paused videos.
2021-06-09 09:19:28 +04:00
John Preston
303ad02c61
Always call raise() before activateWindow().
2021-06-09 09:19:28 +04:00
John Preston
1886a5c4ed
Fix build on macOS.
2021-06-09 09:19:28 +04:00
John Preston
71ddfacfaa
Fix showing static content in OpenGL media viewer.
2021-06-09 09:19:28 +04:00
John Preston
23c2bce1bb
Animated zoom+rotate in OpenGL media viewer.
2021-06-09 09:19:28 +04:00
John Preston
5324a626be
Animated zoom in OpenGL media viewer.
2021-06-09 09:19:28 +04:00
John Preston
2801bd99b8
Render media viewer icons in RendererGL.
2021-06-09 09:19:28 +04:00
John Preston
607263b8be
Fix seek / cancel of video playback in media viewer.
2021-06-09 09:19:28 +04:00
John Preston
f6f0b02333
Render YUV420 video in media viewer.
2021-06-09 09:19:28 +04:00
John Preston
68ae40ee56
Draw all except controls in OpenGL media viewer.
2021-06-09 09:19:27 +04:00
John Preston
24f8a88625
Start OpenGL media viewer renderer.
2021-06-09 09:19:27 +04:00
Alexander Bushnev
3af0c37c6b
Fix video player volume level changing
...
Bug:
Sometimes changing of the volume level or mute/unmute has no effect.
It happens because Fader::onTimer get a current volume level from the Mixer,
but it gets an event about the volume modification from the settings.
Bug appear when the method onTimer calling between updating
of the settings and the Mixer volume.
Solution:
Updating the Mixer volume before the settings.
(maybe will be better to get the volume level
from the settings in place of the Mixer,
but I am not sure about other side effects of this)
2021-06-09 08:18:49 +03:00
Alexander Bushnev
d752aa3481
Add volume controls to the PiP window
...
Add volume toggle and volume level controls to the PiP window.
2021-06-09 08:17:32 +03:00
John Preston
24c435bb5f
Improve hide media viewer workaround on Windows.
2021-06-01 16:56:38 +04:00
John Preston
464b0a0f30
Use old media viewer hide workaround on macOS.
2021-05-31 17:39:15 +04:00
John Preston
ce091b0b63
Fix second click in media viewer double-click.
2021-05-31 14:54:56 +04:00
23rd
690fbe83fd
Unified and moved to single place generating of song name from SongData.
2021-05-31 08:54:22 +04:00
John Preston
deecf80f20
Add OpenGL media viewer glitches workaround.
2021-05-27 08:39:01 +04:00
John Preston
513c8d1a65
Fix PiP drag pausing the video.
2021-05-26 23:49:33 +04:00
John Preston
49f71f4e1e
Use av_packet_alloc instead of av_init_packet.
2021-05-26 22:53:54 +04:00
John Preston
e39f9bef1f
Fix voice message recording with FFmpeg 4.2.
2021-05-26 09:59:25 +04:00
John Preston
ca4b1e6ae0
Fix build for macOS.
2021-05-24 22:45:16 +04:00
John Preston
c64e953174
Choose OpenGL / Raster in media viewer.
2021-05-24 22:45:15 +04:00
John Preston
ccc599c83e
Fix PiP window first show.
2021-05-24 22:45:15 +04:00
John Preston
a45064257a
Choose OpenGL / Raster surface at runtime.
2021-05-24 22:45:15 +04:00
John Preston
c48c4d4283
Use QOpenGLWidget on all systems.
2021-05-24 22:45:15 +04:00
John Preston
9144f4ea7b
Fix streaming frames prepare.
2021-05-24 22:45:15 +04:00
John Preston
a8807bc915
Fix voice recoding with FFmpeg 4.4.
...
Fixes #16217 .
2021-05-13 15:36:27 +04:00
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
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
John Preston
e4d2a66f45
Revert "Re-check the screen media viewer appears on before adjusting geometry"
...
This reverts commit c3b638449a
.
It doesn't work as it was supposed to :(
2020-11-16 19:31:34 +03:00
Ilya Fedin
c3b638449a
Re-check the screen media viewer appears on before adjusting geometry
2020-11-16 12:39:16 +03:00
John Preston
8a9317f9e1
Download video avatars as .mp4 in media viewer.
...
Fixes #9017 .
2020-11-09 15:05:36 +03:00
John Preston
547251f67c
Fix deprecation warnings when building with FFmpeg 4.2.
2020-11-06 11:21:34 +03:00
John Preston
74d2313784
Build Linux version with Qt 5.15.1 in CentOS 7 docker.
2020-11-06 11:21:34 +03:00
John Preston
117de5a1f9
Build macOS version with Qt 5.15.1.
2020-11-06 11:21:34 +03:00
Ilya Fedin
b8018f5a7f
Split system drag to a separate method in PiP
2020-11-02 10:23:06 +03:00
Ilya Fedin
0881e5b20d
Use new AL_SOFT_direct_channels_remix extension
2020-11-02 10:16:34 +03:00
John Preston
6ab31219ed
Workaround crash in OpenAL library.
...
Fixes #8887 .
See https://github.com/kcat/openal-soft/issues/486
2020-11-01 18:26:04 +03:00