Commit Graph

12913 Commits

Author SHA1 Message Date
23rd 51cead1445 Added initial implementation of api for usernames. 2022-11-01 19:25:38 +04:00
23rd 29663a410a Added decimal separators to count of participants in group call bar. 2022-11-01 19:25:38 +04:00
23rd 4824b26afd Added tooltip with forwards count to views info for channel messages. 2022-11-01 19:25:38 +04:00
23rd 5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
23rd 9b7329b378 Removed username from public data members of ChannelData. 2022-11-01 19:25:38 +04:00
23rd 38f5cda800 Added display of full filenames for documents in tooltips. 2022-11-01 19:25:38 +04:00
23rd c1b2d7ed4c Attempted to fix showing of tooltips on loading documents. 2022-11-01 19:25:38 +04:00
John Preston 89d0a71591 Update API scheme on layer 148: Drafts in topics. 2022-11-01 19:25:38 +04:00
John Preston 791addd0ee Start topic profile cover design. 2022-11-01 19:25:38 +04:00
John Preston d4255bbfe4 Fix build with Xcode. 2022-11-01 19:25:38 +04:00
John Preston ead427793b Handle forum / topic links. 2022-11-01 19:25:38 +04:00
John Preston 16e189a2ce Update API scheme on layer 148: Usernames. 2022-11-01 19:25:37 +04:00
John Preston 6997e165c6 Forum three-dot menu, except search. 2022-11-01 19:25:37 +04:00
John Preston 9b0cae9c97 Fix name width in accounts list. Fixes #25116. 2022-11-01 19:25:37 +04:00
John Preston b68ffcd75d Update topic mute state on history mute changes. 2022-11-01 19:25:37 +04:00
John Preston d92580b8fc Update API scheme on layer 148: Notifications.
Support editing / respect notification settings for topics.
2022-11-01 19:25:37 +04:00
John Preston b8bdca8921 Extract Data::Thread common for History / ForumTopic. 2022-11-01 19:25:37 +04:00
John Preston 9fccdf21cc Remove General meta-forum-topic. 2022-11-01 19:25:37 +04:00
John Preston 92a4b27e65 Support per-topic notification settings. 2022-11-01 19:25:37 +04:00
John Preston 24843e3acd Rounded square userpics for forums. 2022-11-01 19:25:37 +04:00
John Preston 8561893e2e Update API scheme on layer 148. 2022-11-01 19:25:37 +04:00
John Preston 6695eda1be Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
John Preston 04d06e5b12 Fix build with Xcode. 2022-11-01 19:25:37 +04:00
John Preston 58b8eb8e96 Implement per-topic shared media. 2022-11-01 19:25:37 +04:00
John Preston eec4b72d9a Implement correct jump to message / unread / bottom. 2022-11-01 19:25:37 +04:00
John Preston 3999bca823 Support unread mentions / reactions in topics. 2022-11-01 19:25:36 +04:00
John Preston 6a7f030ee7 Update API scheme on layer 148.
Extract message history corner buttons code.
2022-11-01 19:25:36 +04:00
John Preston 2c0b5b3210 Track unread mentions / reactions in topics. 2022-11-01 19:25:36 +04:00
John Preston 9348039313 Track unread posts in forums inside RepliesList-s. 2022-11-01 19:25:36 +04:00
John Preston 0d985b5745 Don't focus main button on progress show. 2022-11-01 19:25:36 +04:00
John Preston d4cdd67128 Fix RTL text in bot attach webview main button. 2022-11-01 19:25:36 +04:00
John Preston f258b054e8 Request last topic message if it becomes unknown. 2022-11-01 19:25:36 +04:00
John Preston 032e6c57e9 Request full album for last topic message. 2022-11-01 19:25:36 +04:00
John Preston 377b86372b Don't jump above pinned chats.
Fixes #6802.
2022-11-01 19:25:36 +04:00
John Preston 24d3bcb590 Use operator<=> for some simplest data types. 2022-11-01 19:25:36 +04:00
John Preston 2c50f7b18c Implement nice topic icon create / edit box. 2022-11-01 19:25:36 +04:00
John Preston 3aa7f4dd62 Test custom emoji timer-by-on_main optimization. 2022-11-01 19:25:36 +04:00
John Preston bacc30e296 Fix custom emoji interaction with other animations. 2022-11-01 19:25:36 +04:00
John Preston 3c739912ba Use non-allocating literals with MSVC in Release. 2022-11-01 19:25:36 +04:00
John Preston ae3496d6a4 Update API scheme on layer 148: Topic icons. 2022-11-01 19:25:36 +04:00
John Preston f3c664859d Don't show root pinned bar in topic messages list. 2022-11-01 19:25:36 +04:00
John Preston 57b752c232 Don't crash on topic icon reset. 2022-11-01 19:25:36 +04:00
John Preston 2781fe2c34 Show temporary placeholder topic icon. 2022-11-01 19:25:35 +04:00
John Preston 5d43073efa Support editing of not-fully-created topic. 2022-11-01 19:25:35 +04:00
John Preston 3722e55b67 Support topic on-the-fly creation. 2022-11-01 19:25:35 +04:00
John Preston 065d2e2ac9 Fix crash in toasts without spoilers. 2022-11-01 19:25:35 +04:00
John Preston b77756ce12 Highlight active topic in chats list. 2022-11-01 19:25:35 +04:00
John Preston 1e8dfb7315 Partially support correct rounding near unwrapped media. 2022-11-01 19:25:35 +04:00
John Preston 83008fa358 Support new rounding in theme preview generator. 2022-11-01 19:25:35 +04:00
John Preston f167cdad6f Fix crash in quiz explanation with spoilers. 2022-11-01 19:25:35 +04:00
John Preston d15173e09d Update API scheme on layer 148. 2022-11-01 19:25:35 +04:00
John Preston 001c46f68a Support new rounding in poll bottom button. 2022-11-01 19:25:35 +04:00
John Preston 09ab83836f Support new rounding for comments button. 2022-11-01 19:25:35 +04:00
John Preston e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +04:00
John Preston 9cab06e17d Support new rounding for albums. 2022-11-01 19:25:35 +04:00
John Preston 8268e9f872 Support new rounding for GIFs / videos. 2022-11-01 19:25:35 +04:00
John Preston b2302d35fe Implement correct rounding of shared locations. 2022-11-01 19:25:35 +04:00
John Preston 5e82433693 Fix build with Xcode. 2022-11-01 19:25:35 +04:00
John Preston abdd126dcf Round correctly distinct photos and extended media. 2022-11-01 19:25:35 +04:00
John Preston f3662f4873 Support correct rounding of file thumbnails. 2022-11-01 19:25:34 +04:00
John Preston dd52c53ec0 Allow more file attach layout customization. 2022-11-01 19:25:34 +04:00
John Preston b13471672d Move some chat styles from basic.style to chat.style. 2022-11-01 19:25:34 +04:00
John Preston ba2f92906b Implement new bubble rounding. 2022-11-01 19:25:34 +04:00
John Preston 405d8c327d Support different row styles in chats list. 2022-11-01 19:25:34 +04:00
John Preston 1401b19994 Add PaintContext for Dialogs::Ui::RowPainter. 2022-11-01 19:25:34 +04:00
John Preston 4724ef91f6 Improve topic by message resolving. 2022-11-01 19:25:34 +04:00
John Preston d7fdd80f55 Fix jumping in topics list on message send. 2022-11-01 19:25:34 +04:00
John Preston 9f652b0d3f Unify message sending, track forum topic icons. 2022-11-01 19:25:34 +04:00
John Preston 3b3792ef75 Allow editing topic title and icon. 2022-11-01 19:25:33 +04:00
John Preston c90f879c96 Update API scheme on layer 148. 2022-11-01 19:25:33 +04:00
John Preston 73e56b0340 Support default General topic in forums. 2022-11-01 19:25:32 +04:00
John Preston 2201159da5 Simplify app name in Install-nd-Remove. 2022-11-01 19:25:32 +04:00
John Preston eaf679916a Create / move forum topics on new messages. 2022-11-01 19:25:32 +04:00
John Preston 388fe6adfb Allow enabling forum, creating topics. 2022-11-01 19:25:32 +04:00
John Preston c88140e256 Update API scheme to layer 148, start forums. 2022-11-01 19:25:32 +04:00
GitHub Action 87b228b256 Update User-Agent for DNS to Chrome 106.0.5249.119. 2022-11-01 19:24:47 +04:00
Ilya Fedin 4832e3b3ab Fix the comment about surface size in media_view_pip
Surface size is buffer size, in fact...
2022-10-30 07:35:33 +04:00
Ilya Fedin 7b5781b845 Use default-constructed QLocale for date/time/whatever else formatting
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide

Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
Ilya Fedin 2c1933bdb8 Use application-wide time format in remaining td_ui places 2022-10-17 08:33:22 +04:00
Ilya Fedin f9bf68461d Provide the same sizes for tray icon as for main window icon 2022-10-16 18:04:07 +04:00
Ilya Fedin 8f1a8f909d Ask download path first time in Linux sandbox
This allows to have less sandbox holes in flatpak and allows snap users to specify a normal folder to download to (as opposed to $HOME/snap/$SNAP_NAME/current/Downloads)
2022-10-06 19:13:38 +04:00
Ilya Fedin 2d69329dc9 Set linux webview debug mode via D-Bus IPC 2022-10-03 09:29:25 +04:00
Anton Samokhvalov 3fe403117a fix clang15/libc++15 build 2022-10-02 07:39:54 +04:00
GitHub Action 6147994713 Update User-Agent for DNS to Chrome 105.0.5195.125. 2022-10-01 09:10:55 +04:00
John Preston 0fbb2e77fe Fix rare crash in message list context menu. 2022-09-30 18:50:43 +04:00
John Preston 1350fa64f3 Version 4.2.4.
- Fix crash in emoji statuses clearing.
2022-09-30 16:30:58 +04:00
John Preston 70ba28bbd5 Fix crash in emoji statuses clearing. 2022-09-30 16:30:58 +04:00
Ilya Fedin 8eb6d2e36b Update Qt and libjxl to release versions on Linux 2022-09-30 00:24:32 +04:00
23rd 5b1a9fb3e1 Migrated gyp for breakpad to upstream in prepare script on macOS. 2022-09-29 21:22:06 +04:00
Ilya Fedin 2a6e2fa353 Bundle kcoreaddons 2022-09-28 23:59:59 +04:00
Ilya Fedin 16669402cf Decrease the amount of clipboard data retrievation 2022-09-28 23:59:59 +04:00
John Preston 073c1a4d0f Version 4.2.3: Fix possible crash in premium section. 2022-09-28 15:58:25 +04:00
John Preston 4c276e2357 Version 4.2.3: Fix clearing of user emoji status. 2022-09-28 15:49:34 +04:00
John Preston 889529718f Fix possible stack overflow crash on Windows.
Fixes #25129.
2022-09-28 15:49:34 +04:00
23rd acb092f9f2 Fixed stuck of history-down button after sending message. 2022-09-28 12:31:16 +03:00
23rd 9cd194e60e Removed ability to copy links in channels with restricted content. 2022-09-28 12:31:16 +03:00
23rd 9c3173e4bb Fixed updating of emoji status from TopBar in Premium Settings for user.
Regression was introduced in 47b32898f5.
2022-09-28 08:46:35 +03:00
John Preston 62b624c390 Version 4.2.3.
- Improve scaling / cropping for photos / video files.
- Improve touch support in channel comments.
- Nice animation for spoilers.
2022-09-28 09:34:31 +04:00
John Preston 1ee9122660 Fix text selection in recent actions. 2022-09-25 18:22:01 +04:00
John Preston 6cb01998cc Fix crash in recent actions with spoilers. 2022-09-25 18:21:59 +04:00
John Preston 0e6c899cee Fix crash after spoiler reveal in comments. 2022-09-25 18:21:58 +04:00
John Preston 09a6df1fdc Set some layers crash annotations. 2022-09-25 18:21:56 +04:00
John Preston 43bdfbf170 Beta version 4.2.2.
- Fix crash in spoiler revealing in media captions.
- Fix spoiler revealing in media viewer captions.
- Fix crash in folder editing on Linux.
2022-09-23 23:50:37 +04:00
John Preston bcfe4ac4a3 Allow revealing spoilers in media viewer captions. 2022-09-23 23:50:21 +04:00
John Preston 330c6a31a2 Fix crash in empty text state resolving. 2022-09-23 23:32:22 +04:00
John Preston aa674a0ea5 Fix UB in closing chat across all windows. 2022-09-23 23:32:21 +04:00
John Preston e01910ac68 Fix a crash in folders editing, happens in Qt 6.4.
Fixes #25074.
2022-09-23 23:32:19 +04:00
John Preston eac13b31f1 Fix crash in subscribe button. 2022-09-23 23:32:18 +04:00
John Preston d4a2c4a151 Fix crash in caption spoiler opening. 2022-09-23 23:22:08 +04:00
John Preston 8fc35e45e4 Beta version 4.2.1: Fix build with GCC. 2022-09-22 22:44:28 +04:00
John Preston 2931e754c3 Beta version 4.2.1.
- Improve scaling / cropping for photos / video files.
- Improve touch support in channel comments.
- Nice animation for spoilers.
2022-09-22 20:15:55 +04:00
John Preston 4e7a5eeffb Use Python 3.10 and GYP supporting it. 2022-09-22 15:31:46 +04:00
John Preston 6fcafeff5b Don't repeat premium stickers in fake-pack. 2022-09-22 14:58:40 +04:00
John Preston ec992ae552 Fix reactions menu on Retina screens. 2022-09-22 12:33:48 +04:00
John Preston f0a36d6460 Show only first row of colored default statuses. 2022-09-22 12:27:46 +04:00
John Preston ffb024a5f7 Move Ui::Text::String to HistoryView::Element. 2022-09-22 11:07:48 +04:00
John Preston a7c29991db Hide toggle silent send in channels on msg edit. 2022-09-19 18:49:46 +04:00
John Preston e3d79d46f7 Fix new format of direct post links in channels. 2022-09-19 18:28:53 +04:00
John Preston 476a864be2 Improve cropping for videos a bit.
Partially fixes #25061 for videos as well.
2022-09-19 18:05:03 +04:00
John Preston fc3810fd7f Improve scaling / expanding for photos.
Fixes #25061.
2022-09-19 17:44:59 +04:00
John Preston f5bff22bb8 Improve touch support in popup menus. 2022-09-19 17:29:28 +04:00
Ilya Fedin 157b4c43ee Update lib_ui 2022-09-19 14:23:27 +04:00
Ilya Fedin f2d2826fc7 Make InstallLauncher accessible on any platform 2022-09-19 14:23:27 +04:00
Ilya Fedin cfa12fb0cc Move AppRuntimeDirectory to private namespace 2022-09-19 14:23:27 +04:00
Ilya Fedin d9318c9935 Move icon name getter to cross-platform header 2022-09-19 14:23:27 +04:00
Ilya Fedin 5132fd5010 Use KSandbox to check flatpak/snap environment 2022-09-19 14:23:27 +04:00
Ilya Fedin 89879e355d Replace EscapeShell with KShell::joinArgs 2022-09-19 14:20:02 +04:00
Ilya Fedin 278ab5ebaf Add support for AVIF, HEIF and JPEG XL (only on Linux yet) 2022-09-19 11:20:50 +04:00
John Preston 39294a7fe1 Use touch handling from HistoryInner in ListWidget.
Fixes #24880.
2022-09-19 11:16:09 +04:00
John Preston 7727cdff92 Fix build with Xcode. 2022-09-18 17:12:16 +04:00
John Preston 8bd0ff7925 Opimize spoiler revealing. 2022-09-18 16:52:31 +04:00
John Preston 4f948699c0 Correct spoiler selections. 2022-09-18 16:52:31 +04:00
John Preston cd00d41cca Correct spoiler colors in fully selected messages. 2022-09-18 16:52:31 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
Ilya Fedin 4975254cc1 Avoid building qttools
Removing po folder from kcoreaddons allows that
2022-09-18 15:55:56 +04:00
Ilya Fedin b36063e086 Update kcoreaddons to 5.98.0
And patch to cache portal result
2022-09-17 06:23:05 +04:00
John Preston 645ae69220 Version 4.2.
- A new expandable reaction menu was added in private chats and groups.
- All users get access to dozens of new reactions,
including reactions previously reserved for Premium users.
- The reactions you use most frequently
will always be displayed at the top.
- Premium users can react to messages with thousands of custom emoji
and add up to 3 reactions to each message.
- Group admins can control whether
custom reactions are allowed in their groups.
- Premium users can add an animated emoji status next to their name
to display their current activity.
- To set a status, tap your Premium badge in the main menu or Settings.
- Popular suggestions for working, sleeping,
traveling and more will be shown at the top.
- To set a status for a specific duration like 1 hour or 2 days,
right click the emoji.
- A new format was supported for username links,
in addition to "t.me/username." You can now open Telegram accounts,
groups or channels using links like "username.t.me"
or "https://username.t.me."
- Improved support for long media captions.
2022-09-17 00:47:22 +04:00
John Preston 782c5c28a8 Support custom quick reaction in settings. 2022-09-16 11:16:59 +04:00
John Preston fba683be8e Fix custom status remove on chat reopen. 2022-09-16 10:42:25 +04:00
Ilya Fedin 552d96df71 Update Qt to 6.4.0 rc1 2022-09-16 09:46:36 +04:00
John Preston 1043467eec Fix lib_ui build. 2022-09-15 22:00:20 +04:00
John Preston 9923cc9b31 Beta version 4.1.2: Fix build with Xcode. 2022-09-14 23:15:00 +04:00
23rd 47b32898f5 Fixed padding of TopBar in Premium Settings for user. 2022-09-14 23:10:31 +04:00
23rd 557a2e400e Fixed muting of peer forever. 2022-09-14 23:10:30 +04:00
23rd 84400f5912 Added strictly typed field to export JSON for text entities. 2022-09-14 23:10:28 +04:00
John Preston b28140c4b0 Beta version 4.1.2.
- New reaction selector above the right click menu.
- Premium: Set any custom emoji reactions in private chats.
- Premium: Set any custom emoji as your profile status.
- Insert or copy custom emoji from pack preview.
2022-09-14 23:06:00 +04:00
John Preston 08321b8d8b Fix sending custom emoji based on Dice-type game emoji. 2022-09-14 20:41:24 +04:00
John Preston bc340d75c4 Insert / Copy emoji from pack preview. 2022-09-14 14:45:23 +04:00
John Preston cae18b3320 Use "Change Emoji Status" phrase. 2022-09-14 12:27:06 +04:00
John Preston d81b2fbb69 Activate the chosen default folder on Escape. 2022-09-14 09:13:28 +04:00
John Preston 02daa2a04b Add new reaction menu to channel comments. 2022-09-13 07:53:20 +04:00
John Preston 1363faddbf Add "Reaction button in messages" setting. 2022-09-13 07:44:22 +04:00
John Preston 20a5950f99 Fix premium star / status in accounts list. 2022-09-12 18:56:03 +04:00
John Preston 40bdcd7ebc Short poll extended media. 2022-09-12 18:18:31 +04:00
John Preston 379736a7d1 Show extended preview inline keyboard button. 2022-09-12 16:40:19 +04:00
John Preston d2234d88b6 Update extended media, hide inline keyboard. 2022-09-12 16:10:56 +04:00
John Preston c2fd4ccd59 Skip custom reactions if premium isn't possible. 2022-09-12 10:07:07 +04:00
John Preston 26c79939e0 Fix custom status duration edit from Settings. 2022-09-12 09:51:55 +04:00
John Preston ffaeb239f0 Don't show emoji tooltip in reactions / statuses. 2022-09-12 09:46:23 +04:00
John Preston 7c8d3452b5 Fix reaction icons in Who Reacted. 2022-09-12 09:38:18 +04:00
John Preston e2bca0a7ff Fix media with caption in a narrow window. 2022-09-12 09:35:28 +04:00
John Preston 2e8a03dfd1 Correctly round spoiler animation in ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston a919978a37 Use spoiler animation for ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston 20b5138e00 Initial implementation of ExtendedMedia. 2022-09-12 09:06:26 +04:00
John Preston 2523d6e8d8 Update API scheme to layer 146. 2022-09-12 09:06:26 +04:00
John Preston 03e90840de Closed alpha version 4.1.1.1: Fix build with GCC. 2022-09-10 11:07:08 +04:00
John Preston 4ab34e3727 Suggest only like and dislike reactions in groups by default. 2022-09-10 09:36:08 +04:00
John Preston 3129d9f0df Add a distinct "N seconds" key for the slowmode phrase. 2022-09-10 08:19:37 +04:00
John Preston 2b6b1d7611 Closed alpha version 4.1.1.1. 2022-09-10 08:12:35 +04:00
John Preston 6e9493c725 Ignore premium gradient keys when colorizing theme. 2022-09-10 08:11:58 +04:00
John Preston 746141a363 Update lib_ui to fix a crash on Linux. 2022-09-10 08:08:46 +04:00
John Preston 4942154a9c Make loading emoji set icons look nicer. 2022-09-10 07:23:20 +04:00
John Preston d511f2bb90 Fix via @bot after name for premium users. 2022-09-09 09:35:36 +04:00
John Preston 460b4b2de5 Move around some sources in CMakeLists. 2022-09-08 13:16:39 +04:00
John Preston ab25cf214c Fix FFmpeg frame generator ending. 2022-09-08 09:50:11 +04:00
John Preston b0203af398 Fix no-bubble comments button resize. 2022-09-08 09:38:52 +04:00
John Preston c00f2f96ec Replace phone number with "Set Emoji Status". 2022-09-07 20:39:57 +04:00
John Preston 2215500c9a Add emoji status icon to premium promo. 2022-09-07 20:36:06 +04:00
John Preston 5cc6275fc3 Fly + effects when choosing an emoji status. 2022-09-07 12:52:34 +04:00
John Preston d4810713cb Fly-animate reactions from the new context menu. 2022-09-06 17:08:20 +04:00
John Preston 1877786707 Special phrase for a colored emoji status. 2022-09-06 12:32:33 +04:00
John Preston 06ec574543 Fix single-frame 60 fps lotties. 2022-09-06 12:07:09 +04:00
John Preston f0955f2021 Add emoji-status disclaimer for unknown peers. 2022-09-06 11:20:55 +04:00
John Preston 400d4b793a Fix initial visibility of Who can send messages.
Fixes #25030.
2022-09-06 08:09:29 +04:00
John Preston d6ba092697 Make GIFs and videos with captions larger. 2022-09-05 19:03:52 +04:00
John Preston 9ef2f370ac Handle only username subdomains for t.me domain. 2022-09-05 12:22:43 +04:00
Ilya Fedin 234c74a439 Update patches commit in Dockerfile 2022-09-05 11:57:46 +04:00
Ilya Fedin 88f1f8ff22 Move QGuiApplication::setDesktopFileName call to Platform::start
It depends on Core::UpdaterDisabled that is not initialized in Launcher::initHook yet
2022-09-05 08:24:48 +04:00
John Preston 00ee31ce2d Make photos with captions wider. 2022-09-04 08:18:50 +04:00
Alexander Kernozhitsky a5bd4ef6f7 Fix code style 2022-09-04 08:04:02 +04:00
Alexander Kernozhitsky c6c2a44e9d Patch the remaining uses or FFmpeg APIs 2022-09-04 08:04:02 +04:00
Alexander Kernozhitsky 21b0454461 Remove duplicate line
Co-authored-by: darkkeks <darkkeks@rambler.ru>
2022-09-04 08:04:02 +04:00
Alexander Kernozhitsky ca4b5edf21 Correct FFmpeg API usage
FFmpeg docs say that you must return AVERROR_EOF from the read callback, not zero. Still, Telegram just propagates the return value from IODevice::read() call, which returns zero in case of EOF.

I don't know whether this commit has any effect on the upstream build, but it fixes a bug in Debian build of Telegram, which is using FFmpeg 5.1 instead of 4.4. Still, it's also useful in the upstream, as it makes work with FFmpeg more correct.
2022-09-04 08:04:02 +04:00
John Preston a736ddb24e One more fix for GCC build. 2022-09-03 09:08:13 +04:00
Ilya Fedin b48674d302 Avoid unneccesary QPA, again 2022-09-03 08:47:02 +04:00
GitHub Action a6a9b16358 Update User-Agent for DNS to Chrome 104.0.5112.101. 2022-09-03 08:42:51 +04:00
Ilya Fedin dfb40dd216 Handle PiP aspect ratio on Wayland synchronously
During testing with Qt 6.4 I now remember why I made a way complicated logic (yes, because the trivial one bugs with Qt 6.4)
This restores it, but uses event filters rather than hardware integration override
2022-09-03 08:41:49 +04:00
John Preston 85acf051c1 Try to fix build with GCC. 2022-09-03 06:51:02 +04:00
Ilya Fedin 86059f2b5e Update Qt to 6.4.0 beta4 on Linux 2022-09-02 21:27:41 +04:00
Ilya Fedin 4f261ced8e Ceil device pixel ratio
Qt 6.4 provides QT_WIDGETS_HIGHDPI_DOWNSCALE that allows widgets to draw at integer device pixel ratio by using the next integer. Ceiling this value makes tdesktop in sync with technique and provides sharp content.

Without QT_WIDGETS_HIGHDPI_DOWNSCALE, this doesn't makes the content sharp, but the quality is still better as Qt attempts to downscale those graphic rather than upscale.
2022-09-02 21:27:41 +04:00