Jonas Jenwald
a911ce22e5
Stop event propagation, for the Enter key, in the passwordPrompt input
...
**Steps to reproduce:**
1. Open the viewer.
2. Show the sidebar, and switch to the "Pages" view if necessary.
3. Click on the "Add file" button.
4. Choose a password-protected PDF, e.g. the `issue6010_1.pdf` file, via the "File Upload" dialog opened by the browser.
5. Enter the password, i.e. `abc`, and press the <kbd>Enter</kbd> key.
**Expected result:**
That the new PDF document is merged into the existing one, without UI side-effects.
**Actual result:**
Merging works, *however* the "File Upload" dialog is re-opened.
---
It seems that when the passwordPrompt dialog closes, the <kbd>Enter</kbd> key press (from the input) is forwarded to the previously focused element which naturally is the "Add file" button.
*Note:* This doesn't seem (easily) possible to test, since the integration-tests directly populate the `viewsManagerAddFilePicker` and doesn't actually "click" on the `viewsManagerAddFileButton` first.
2026-06-21 15:30:05 +02:00
..
2025-12-15 17:43:52 +01:00
2026-05-25 14:31:55 +02:00
2025-01-18 09:35:11 +01:00
2026-05-29 22:11:58 +02:00
2026-05-19 21:10:12 +02:00
2026-05-16 12:31:40 +02:00
2026-05-29 22:11:58 +02:00
2026-06-12 20:10:56 +02:00
2026-06-16 21:35:44 +02:00
2026-06-18 14:51:32 +02:00
2026-06-18 14:51:32 +02:00
2026-05-25 14:31:55 +02:00
2026-02-17 09:42:27 +01:00
2026-05-19 21:10:12 +02:00
2026-03-01 13:01:21 +01:00
2026-04-25 12:13:12 +02:00
2015-08-14 18:59:55 +02:00
2026-05-25 14:31:55 +02:00
2026-02-26 14:35:13 +01:00
2026-03-29 14:52:06 +02:00
2011-07-05 10:53:57 -07:00
2025-08-22 18:26:59 +02:00
2026-06-12 23:21:16 +02:00
2025-09-24 17:04:27 +02:00
2026-02-01 17:56:03 +01:00
2026-05-19 21:10:12 +02:00
2026-06-06 23:41:31 +02:00
2026-05-29 22:11:58 +02:00
2026-05-29 22:11:58 +02:00
2026-02-01 17:53:45 +01:00
2026-06-09 22:08:08 +02:00
2026-05-29 22:11:58 +02:00
2026-04-23 22:34:48 +02:00
2025-04-09 12:06:40 +02:00
2026-05-20 17:26:50 +02:00
2026-02-01 17:53:45 +01:00
2026-06-06 17:27:19 +02:00
2026-05-29 22:11:58 +02:00
2026-02-01 17:53:45 +01:00
2026-03-20 10:01:45 +01:00
2026-02-18 10:17:39 +01:00
2025-04-23 15:31:39 +02:00
2026-05-29 22:11:58 +02:00
2025-02-14 15:43:00 +01:00
2026-06-21 15:30:05 +02:00
2026-06-18 14:51:32 +02:00
2026-05-29 22:11:58 +02:00
2026-05-29 22:11:58 +02:00
2026-02-14 12:33:34 +01:00
2026-05-29 22:11:58 +02:00
2026-02-26 16:46:34 +01:00
2026-05-29 22:11:58 +02:00
2026-05-29 22:11:58 +02:00
2026-06-03 16:44:57 +02:00
2026-06-18 14:51:32 +02:00
2026-06-12 20:10:56 +02:00
2026-06-12 20:10:56 +02:00
2026-05-29 22:11:58 +02:00
2026-06-09 22:08:08 +02:00
2026-02-14 12:33:34 +01:00
2026-04-23 22:34:48 +02:00
2026-05-29 22:11:58 +02:00
2022-09-08 12:38:17 +02:00
2026-05-29 22:11:58 +02:00
2026-05-16 12:31:40 +02:00
2026-05-31 12:12:41 +02:00
2026-02-01 17:56:06 +01:00
2026-05-14 14:28:41 +01:00
2026-06-08 15:30:05 +02:00
2026-06-03 16:44:57 +02:00
2026-01-30 13:26:19 +01:00
2026-05-16 12:31:53 +02:00
2026-02-13 22:34:04 +01:00
2026-05-29 22:11:58 +02:00
2026-02-26 14:35:13 +01:00
2026-03-10 15:51:10 +01:00
2025-07-15 17:14:44 +02:00
2026-05-29 22:11:58 +02:00
2026-04-12 16:16:21 +02:00
2025-12-15 17:43:52 +01:00
2025-10-09 17:43:49 +02:00
2026-05-29 22:11:58 +02:00
2026-06-08 15:14:21 +02:00
2026-05-29 22:11:58 +02:00
2025-12-08 09:44:33 +01:00
2024-03-04 19:32:12 +01:00
2026-05-29 22:11:58 +02:00
2026-02-09 12:16:46 +01:00
2026-05-25 18:22:21 +02:00
2020-03-21 13:55:06 +01:00
2025-12-08 09:44:33 +01:00
2026-06-09 22:08:08 +02:00
2026-02-01 17:56:06 +01:00
2025-11-18 17:22:50 +01:00
2026-05-14 12:50:07 +02:00
2023-10-07 09:31:08 +02:00
2025-11-18 17:22:50 +01:00
2026-05-14 12:50:07 +02:00
2026-06-09 22:08:08 +02:00
2026-04-13 19:38:56 +02:00
2026-05-20 18:06:55 +02:00
2026-05-29 22:11:58 +02:00
2025-04-26 20:44:07 +02:00
2026-05-23 16:33:23 +02:00