Commit Graph

20648 Commits

Author SHA1 Message Date
Denys Melnyk 24ccd1c92e Fix crash when finishing the appearing text animation
textAppearCheckLine() runs synchronously from inside the width and
height animation tick callbacks (textAppearWidthCallback /
textAppearHeightCallback). Calling RemoveComponents(TextAppearing::Bit())
there destroys those very animations (and their Ui::Animations::Simple
data) while the animations manager is still iterating them, leading to a
use-after-free / null _data dereference in Simple::value().

Defer the component removal to the next main loop iteration so the
running tick can unwind first.
2026-06-30 12:09:52 +04:00
gearonixx 5e1a05f12c Fix crash when removing pinned chats during folder changes. 2026-06-30 11:20:05 +04:00
Ilya Fedin d6f2e4cafe Simplify the use of new ffmpeg thread option 2026-06-30 10:57:38 +04:00
Ilya Fedin 734d709522 Allow to override ffmpeg thread count for debugging purposes 2026-06-30 09:10:02 +04:00
Ilya Fedin 4943c41f77 Get rid of new Q_OS_LINUX 2026-06-30 09:08:05 +04:00
John Preston 1c1a5386ee Fix accessible focus on filters refresh. 2026-06-26 17:11:25 +04:00
23rd 84a4eeec29 Added blur to poll attached media while loading. 2026-06-26 15:22:29 +03:00
23rd cb1d81fd76 Added group emoji badge to emoji list widget. 2026-06-26 15:22:28 +03:00
23rd c255a97f9b Added a shadow to the action buttons in the profile top bar. 2026-06-26 15:22:28 +03:00
23rd cfc99e4678 Added support of zoom in shared media for photos. 2026-06-26 15:22:28 +03:00
23rd ff3eb41541 Added file preview to shared media drag. 2026-06-26 15:22:28 +03:00
23rd 8fa4ccb9f9 Added support for dragging files out of shared media. 2026-06-26 15:22:28 +03:00
23rd 5ed4e438ec Added animated icons to sticker set install and copy toasts. 2026-06-26 15:22:28 +03:00
23rd 6ecdee2345 Added animated icon to premium purchased toast. 2026-06-26 15:22:28 +03:00
23rd 8901dba7fd Added animated icon to chat archiving toast. 2026-06-26 15:22:28 +03:00
23rd 39cfbeaffa Added animated icons to shared media and group call pin toasts. 2026-06-26 15:22:28 +03:00
23rd bbcc5fc68f Added animated icons to mute and pin quick action toasts. 2026-06-26 15:22:28 +03:00
23rd 145e580b52 Added animated icons to copy-to-clipboard toasts. 2026-06-26 15:22:28 +03:00
23rd e4fa0727b4 Added animated icons to media saving toasts. 2026-06-26 15:22:28 +03:00
Reza Bakhshi Laktasaraei 54b9a6b41e Restore Home/End navigation in the chat list
Home/End jumped to the first/last chat until InnerWidget's key handling
was rewritten from a switch into an if/else chain (in 'Extract chats list
accessibility, fix build'), which carried over only Up/Down and Page
Up/Down and dropped the Home/End cases.

Re-add them, skipping by the actual total row count (which selectSkip()
clamps) instead of the previous 1<<20 constant, so it lands on the first
or last row in both the default list and the filtered/search results.
2026-06-26 15:39:43 +04:00
Ilya Fedin f43a2caba8 Add QScroller experimental option 2026-06-26 14:32:58 +04:00
Reza Bakhshi Laktasaraei 949f2a6b34 Expose the chat-folders strip as a list, not a tab control
Report the folders container with the List role (was PageTabList) and
each folder as a ListItem, which matches NVDA's native single-selection
list behaviour better than a tab control. TabListLayout opts in to
RpWidget::accessibilitySelectionList(), so the selection interface and
selected-item focus forwarding apply only to this strip, not to every
List-role widget.

- Locked (premium) folders are ordinary list items now: a ListItem is
  clickable, so they can open the Premium box, and they are reachable
  with the arrow keys like any other folder (they keep their locked
  accessible name/description, and report selectable = false).
- Arrow keys move focus only and scroll the focused folder into view;
  activation - switching the chat list, or opening the Premium box for a
  locked folder - happens on Enter.
- The list has one roving Tab-stop driven by focus (setListTabStop): a
  FocusIn on any folder - arrow, mouse or UIA SetFocus - makes it the
  single Tab-stop, wired main menu -> folder -> edit, always demoting the
  previous one; the active folder seeds it when nothing is focused. A
  refresh re-establishes the Tab-stop on the folder that was focused (or
  the active one), so rebuilding the list never leaves it without one. So
  Tab/Shift+Tab leave the list the same way regardless of which folder is
  focused, with no stray extra tab-stops.
2026-06-26 14:30:31 +04:00
Ilya Fedin ab8d1ffa67 Check GNotification option via base::options::lookup 2026-06-26 11:08:00 +04:00
John Preston e4cde250df Fix build with Qt 5. 2026-06-24 15:09:52 +04:00
John Preston ff2dfbf6af Improve accessibility changes for left filters. 2026-06-24 15:09:52 +04:00
23rd 9895e5bb89 Added adapting existing sticker into custom emoji. 2026-06-24 13:30:27 +03:00
23rd 103c256d10 Added new-emoji button with menu to emoji set boxes. 2026-06-24 13:30:27 +03:00
23rd 6241d23fc6 Added custom emoji creation flow to sticker creator box. 2026-06-24 13:30:27 +03:00
23rd e99928b301 Added custom emoji size support to sticker uploading. 2026-06-24 13:30:27 +03:00
23rd 6477fdd1ed Added playback controls to Windows taskbar thumbnail.
Fixed #30402.
2026-06-24 13:25:43 +04:00
23rd 91fb16815d Moved out IsDarkTaskbar() from the Windows tray module. 2026-06-24 13:25:43 +04:00
23rd 8b4ccb7649 Added display of hovered waveform time to voice message status line. 2026-06-24 13:25:43 +04:00
23rd 9a5ec8b232 Fixed stuck voice waveform highlight after leaving hovered message. 2026-06-24 13:25:43 +04:00
Reza Bakhshi Laktasaraei c48860da4d Expose locked folders as plain buttons, not selectable tabs
A locked (premium) folder can never become the current tab - pressing it
opens the Premium box. Mark it not a page tab once locked, so it reports
as a plain button instead of a selectable PageTab and the tab container's
select() correctly rejects it.
2026-06-24 13:25:11 +04:00
Reza Bakhshi Laktasaraei 7ffb2c54b7 Report the chat-folders tab strip as a vertical tab control
Override TabListLayout::accessibilityOrientation() to return
Qt::Vertical, so screen readers announce the folders strip as a vertical
tab control (UIA Orientation). Relies on desktop-app/lib_ui#304 and
desktop-app/patches#254.
2026-06-24 13:25:11 +04:00
Reza Bakhshi Laktasaraei 18df9414e6 Added screen reader tab-control accessibility for chat folders. 2026-06-24 13:25:11 +04:00
23rd 3adc0c1a8a Mapped macOS now playing skip buttons to relative seeking. 2026-06-24 10:20:21 +03:00
23rd 858a8fd9cb Reflected the playback speed in macOS now playing timeline. 2026-06-24 10:20:21 +03:00
23rd 57fdc4b7fe Fixed macOS now playing timeline drift after pausing playback. 2026-06-24 09:37:22 +03:00
23rd a2f2db30f6 Made discussion group open in same non-primary window as its channel. 2026-06-24 09:04:54 +03:00
23rd b023fd2587 Limited contacts alphabetical section headers to contacts box. 2026-06-24 08:38:33 +03:00
23rd 1a0b504591 Added billions suffix to shortened counters. 2026-06-24 08:35:06 +03:00
23rd 6ab3a8edc6 Added swipe left-right navigation gesture to media viewer. 2026-06-24 08:35:05 +03:00
23rd e37fc1d599 Added pinch zoom gesture support to media viewer. 2026-06-24 08:34:37 +03:00
23rd c02a35880e Fixed wrong caption being selected in file albums. 2026-06-23 22:59:58 +03:00
23rd c9c02ad916 [poll-view] Fixed description being selected instead of question. 2026-06-23 22:59:58 +03:00
23rd 5ba77ac708 [img-editor] Added pinch zoom gesture support. 2026-06-23 22:59:58 +03:00
John Preston 9f61a9fd28 Work around freeze on Windows on ARM.
Fixes #30867.
2026-06-23 22:51:12 +04:00
John Preston 2622f02a98 Improve context of messages copied to clipboard. 2026-06-23 18:10:59 +04:00
John Preston ef76b58ef1 Fix reaction preview crash in stories. 2026-06-23 14:27:50 +04:00