Commit graph

623 commits

Author SHA1 Message Date
John Preston
75a1db9900 Move media viewer menu when resizing the window. 2023-03-17 15:40:49 +04:00
Ilya Fedin
77f4256d8d Show speed control in media viewer only when supported 2023-03-16 06:59:12 +04:00
John Preston
152661dcea Use global Fn+F shortcut for toggle fullscreen on macOS. 2023-03-15 16:39:13 +04:00
John Preston
eae2788f73 Fix icons in audio player. 2023-03-15 16:39:13 +04:00
John Preston
832d426c1c Add media viewer title to lang pack keys. 2023-03-15 16:27:54 +04:00
John Preston
1eff68813d Reuse new speed change control for video. 2023-03-15 13:36:40 +04:00
John Preston
5ca7b95cdb Implement new voice speed change control design. 2023-03-14 17:30:50 +04:00
John Preston
42d999922f Fix media viewer on macOS multi-monitor setup. 2023-03-13 16:04:42 +04:00
Ilya Fedin
2eaa66e873 Show speed control in media viewer only when supported 2023-03-12 15:32:12 +04:00
23rd
9803342c93 Fixed closing media viewer in fullscreen mode with click on top area. 2023-03-09 17:20:22 +03:00
John Preston
3a0b912274 Fix bot about text selection. 2023-03-08 16:59:02 +04:00
John Preston
d18c6591e9 Fix media viewer window preliminary destroy. 2023-03-01 12:41:12 +04:00
23rd
6813d21285 Fixed dragging of zoomed photos in windowed media viewer. 2023-03-01 10:47:27 +04:00
23rd
30ae879fb3 Fixed changing volume and seeking video in windowed media viewer. 2023-03-01 09:12:03 +04:00
23rd
63c390c505 Added ability to close media viewer with click on same media. 2023-03-01 09:12:03 +04:00
John Preston
29224fea66 Improve design of mediaview controls over state. 2023-03-01 09:12:02 +04:00
John Preston
df9bd91d9a Implement semi-native macOS title buttons for the viewer. 2023-03-01 09:12:02 +04:00
John Preston
122234f55c Show shadow below controls in media viewer. 2023-03-01 09:12:02 +04:00
John Preston
d1230167bf Improve title controls in Windows media viewer. 2023-03-01 09:12:02 +04:00
John Preston
2a4c39b9d7 Implement some power saving options. 2023-03-01 09:12:02 +04:00
John Preston
4ca6834e03 Fix (somehow) snap-grid in media viewer on Windows 11. 2023-02-24 11:43:36 +04:00
John Preston
78467b18f7 Beta version 4.6.4: Fix initial windowed viewer. 2023-02-18 18:36:03 +04:00
John Preston
137c13c9c0 Don't steal window focus to viewer on another screen. 2023-02-18 15:16:06 +04:00
John Preston
18ebaeb726 Fix theme preview in a small OpenGL viewer. 2023-02-18 15:10:14 +04:00
John Preston
832d47121f Save media viewer position to Settings. 2023-02-18 15:10:13 +04:00
John Preston
783d1cd4c1 Improve initial video geometry in media viewer. 2023-02-18 15:10:13 +04:00
John Preston
27d446bdda Improve Ctrl+W / Ctrl+M handling by media viewer. 2023-02-18 15:10:13 +04:00
John Preston
24a1208b9a Manual rounding support in OpenGL media viewer. 2023-02-18 15:10:13 +04:00
John Preston
2a1e3c4453 Initial implementation of windowed media viewer on macOS. 2023-02-18 15:10:13 +04:00
John Preston
7a5c9a6fb8 First version of windowed media viewer on Windows. 2023-02-18 15:10:13 +04:00
John Preston
7557a20679 Close PiP when a passcode lock is enabled. 2023-02-15 10:47:10 +04:00
John Preston
bbd937115c Add "Open in new window" to context menu. 2023-02-03 20:47:59 +04:00
23rd
0033e364dd Removed unused keys from media_view.style. 2023-02-02 22:12:33 +04:00
John Preston
719466fcac Initial chat-translation feature implementation. 2023-02-02 22:12:32 +04:00
John Preston
7023b013ce Initial support of separate windows for accounts. 2023-01-19 09:45:28 +04:00
John Preston
b1d1d73541 Copy/Paste original JPEG bytes to clipboard. 2023-01-13 12:46:17 +04:00
John Preston
02f3985125 Inspect correct url() instead of dragText().
Fixes #25720.

Regression was introduced in 23387d6625.
2023-01-12 11:34:16 +04:00
John Preston
5f93725431 Relax controls hiding conditions in full screen.
Fixes #25499.
2023-01-09 14:03:27 +04:00
John Preston
876cdcf26a Show "Photo set by you" in profile photos list. 2023-01-09 09:56:36 +04:00
John Preston
2d9d373c7f Don't show "Report" for personal contact photos. 2023-01-09 09:20:36 +04:00
John Preston
cabed9587b Close PiP if message with video gets deleted. 2022-12-30 14:26:43 +04:00
John Preston
0ce01410a1 Fix crash in Pip-to-Viewer after message deletion.
Fixes #25262. Fixes #25522.
2022-12-30 14:18:04 +04:00
John Preston
df8176d671 Fix non-shown group thumb in media viewer. 2022-12-28 12:41:30 +04:00
Ilya Fedin
66093f0cb5 cTimeFormat/cDateFormat -> QLocale::ShortFormat
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
23rd
4c181b6d08 Added initial implementation of fallback photo management in settings. 2022-12-26 14:24:07 +04:00
John Preston
1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
John Preston
cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
23rd
f8a17bd9c9 Moved tmp string for temporary folder to single place. 2022-11-30 17:17:16 +03:00
23rd
4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston
57af221d39 Support General topic somehow. 2022-11-29 18:30:38 +04:00