Commit Graph
1084 Commits
Author SHA1 Message Date
Classic298 8eb1af85a3 fix: PDF preview shows blank pages for scanned PDFs with JPEG2000 images (#33906)
Scanned PDFs often store their pages as JPEG2000 images, which many scanning and OCR tools do by default. Opening such a file showed those pages and their thumbnails as blank white pages. The app now ships the image decoder the PDF viewer needs for that format, so those pages show up as they should.

Fixes #33905
2026-11-08 10:39:57 +09:00
Timothy Jaeryang Baek 834c47ee02 refac 2026-11-08 01:28:41 +09:00
Timothy Jaeryang Baek 36e1748c9c refac 2026-11-07 21:35:36 +09:00
Timothy Jaeryang Baek c31cdb4e86 refac 2026-11-07 21:32:04 +09:00
Timothy Jaeryang Baek 6ac83ce14e refac 2026-11-07 20:43:49 +09:00
Timothy Jaeryang Baek d4e8493cc5 refac 2026-11-07 20:31:42 +09:00
G30 404a328a58 fix: PDF and Office preview zoom drifts, stalls, and loses track of its label (#33836)
Fixes several zoom problems in the Files pane preview (pdf, docx, and
pptx, which the backend converts to PDF):

- Switching tabs and back reset the page to 100% while the label kept the
  old percentage. Hidden tabs measure 0 px wide, so PdfPagesPreview
  collapsed its thumbnails; their return resized the viewer, which
  re-rendered every page. PdfPagesPreview now keeps its layout while hidden,
  so the chosen zoom stays.
- Changing slides in a pptx reset the zoom to 100% while the label kept
  the old value. A slide change now carries the zoom and position over to
  the new slide.
- A pane resize rebuilt the zoom at 100% but left the label at the old
  value. renderAllPages now resets the label with it.
- On pptx slides, zooming drifted off-center and stopped at about 244%.
  The element panzoom transforms was flex-centered inside its container,
  while panzoom measures bounds and zoom anchors from the container's
  top-left corner. That element now fills the container and centers the
  slide inside it, so the coordinates match the screen.
- Resetting from a low zoom left the page off to the side, and from a
  stalled high zoom it could leave the page enlarged under a 100% label.
  The reset moved and zoomed through panzoom's bounds check, which skips
  the scale change when it adjusts the position. The reset now rebuilds
  the panzoom instance, as every render already does.
2026-11-07 16:49:17 +09:00
G30 def1d048bc chore: remove the Show Files on Terminal Select setting (#33855) 2026-11-07 16:47:42 +09:00
Timothy Jaeryang Baek 80ddf8e3bb refac 2026-11-07 13:03:41 +09:00
Classic298 d8dcb82cde fix: file preview closes on any click when opened from the Controls menu (#33831)
Opening a file from Controls → Files and clicking anything in its window, such as the Preview tab, closed the window together with the menu. Clicks inside a window opened from a menu no longer count as clicks outside it, so the preview stays open.

Fixes #33828
2026-11-07 00:50:09 +09:00
Timothy Jaeryang Baek d83e1caab4 refac 2026-11-07 00:31:59 +09:00
Timothy Jaeryang Baek 0572cf7854 refac 2026-11-06 11:07:46 +09:00
Timothy Jaeryang Baek 9f897325a1 refac 2026-11-06 11:06:12 +09:00
Timothy Jaeryang Baek c81aca931d refac 2026-11-06 10:52:18 +09:00
Timothy Jaeryang Baek 75f8ae5584 refac 2026-11-05 22:25:44 +09:00
G30 a530893659 fix(a11y): reaching the first or last page keeps keyboard focus in the page buttons (#33748) 2026-11-05 06:38:05 +09:00
Timothy Jaeryang Baek b79a778c03 refac 2026-11-04 15:37:35 +09:00
G30 0fd01ff242 fix(a11y): the show password button is at least 24 pixels wide (#33685) 2026-11-04 05:04:14 +09:00
Timothy Jaeryang Baek 0c64e5d596 chore: format 2026-11-03 17:36:03 +09:00
G30 a671146b91 fix(a11y): windows opened from a menu return focus to the menu button when they close (#33601) 2026-11-03 16:10:22 +09:00
Timothy Jaeryang Baek 042ac65628 refac 2026-11-02 11:48:53 +09:00
Timothy Jaeryang Baek d99ec1c02c refac 2026-11-02 08:48:51 +09:00
Timothy Jaeryang Baek a06aa230f7 refac 2026-11-01 21:30:24 +09:00
Timothy Jaeryang Baek ee8b69e718 refac 2026-11-01 19:31:55 +09:00
Timothy Jaeryang Baek 28b005ac86 refac 2026-11-01 19:28:21 +09:00
Timothy Jaeryang Baek ab71357980 refac 2026-11-01 19:27:15 +09:00
G30 1dd3793d4e fix(a11y): drawers keep keyboard focus inside and are announced as dialogs (#33547) 2026-11-01 17:49:45 +09:00
Timothy Jaeryang Baek 3361943104 refac 2026-11-01 09:15:14 +09:00
G30 27eb2d2eff fix(a11y): the page buttons' Previous and Next have names, and the current page is marked (#33475) 2026-11-01 09:05:02 +09:00
G30 c4daef0c94 fix(a11y): icon buttons named only by a tooltip have names (#33454) 2026-10-31 17:37:16 +09:00
G30 a988369a8e fix(a11y): tag and voice suggestions can be chosen with the arrow keys and Enter (#33452) 2026-10-31 17:36:42 +09:00
Timothy Jaeryang Baek 3bb962f2bb refac 2026-10-31 17:16:19 +09:00
G30 3d0de7ed86 fix(a11y): the full-size image viewer is a dialog that keeps focus inside it and returns it on close (#33443) 2026-10-31 13:35:02 +09:00
Timothy Jaeryang Baek fe0d22cc24 refac 2026-10-31 13:10:12 +09:00
G30 e6a26a766b fix(a11y): multi-select lists in Valves can be reached and used from the keyboard, also inside windows (#33434) 2026-10-31 08:41:44 +09:00
G30 24c891fabe fix(a11y): fields in windows and the Settings window have names (#33424) 2026-10-31 05:06:06 +09:00
G30 476b6f49e4 fix(a11y): fields on Workspace, Notes, Playground and chat pages have names (#33422) 2026-10-31 05:05:51 +09:00
G30 11d07f1531 fix(a11y): Valves fields and the Chat Controls Valves selects have names (#33420) 2026-10-31 05:05:40 +09:00
G30 271b00d7ee fix(a11y): Enter and Space on a tool call's Allow and Deny buttons answer the request (#33404) 2026-10-31 04:57:44 +09:00
G30 f2a990f6da fix(a11y): every window has a name for screen readers (#33412) 2026-10-31 04:39:32 +09:00
Timothy Jaeryang Baek c378a5a56a refac 2026-10-30 18:00:47 +09:00
Timothy Jaeryang Baek b29f7781aa refac 2026-10-30 17:41:52 +09:00
Timothy Jaeryang Baek 9d1b4ef362 refac 2026-10-30 16:01:47 +09:00
Timothy Jaeryang Baek 0e0ba872a4 refac 2026-10-30 07:50:55 +09:00
Classic298 05e1153666 fix: arrow keys skip menu entries that appear after the menu opens (#33375)
Menus only let the arrow keys, Home and End reach the entries that were there the moment they opened. Entries that show up afterwards, such as the file, note, knowledge and chat lists in the message box's More menu or the tags in the chat actions menu, could only be reached with Tab or the mouse. These entries can now be reached with the arrow keys as soon as they appear, and screen readers announce them as menu items like the rest.

Fixes #33374
2026-10-29 18:03:08 +09:00
G30 55944a0e0e fix(a11y): a model picker opened in a window takes keyboard focus, and focus stays in the window after it closes (#33365) 2026-10-29 16:19:39 +09:00
G30 311be17579 fix(a11y): Escape then Tab leaves the Compare revision editors instead of closing the window (#33357) 2026-10-29 15:16:35 +09:00
G30 e56bd11957 fix(a11y): opening a filter list with the mouse also moves focus to its options (#33352) 2026-10-29 15:08:12 +09:00
G30 1de86d8d16 fix(a11y): menu items, submenu items included, move with the arrow keys, Home and End (#33359) 2026-10-29 14:50:06 +09:00
Timothy Jaeryang Baek 948432b432 refac 2026-10-29 07:17:12 +09:00