[okular] [Bug 472756] Infinite modal dialog in PDF form

2023-08-01 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=472756

Albert Astals Cid  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
   |hics/okular/-/commit/f940ca |hics/okular/-/commit/2e3163
   |1e2eda350b6e556f21adbd330fc |e621e84afd6d13429a6582ccdd9
   |99f8bb2 |ea79c99

--- Comment #5 from Albert Astals Cid  ---
Git commit 2e3163e621e84afd6d13429a6582ccdd9ea79c99 by Albert Astals Cid.
Committed on 02/08/2023 at 00:16.
Pushed by aacid into branch 'release/23.08'.

Forms: Don't run focusin action when gaining focus because of window management

Adobe Reader doesn't do it, and with reason, because otherwise we end up
with:
 * Run focus in script
 * script shows alert()
 * form loses focus and gains it again once the alert() is closed
 * infinite loop

The same fix we did in e457ceb73146790c5d4a9914182433ab4002815e but for
the rest of the widgets
(cherry picked from commit f940ca1e2eda350b6e556f21adbd330fc99f8bb2)

M  +1-1part/formwidgets.cpp

https://invent.kde.org/graphics/okular/-/commit/2e3163e621e84afd6d13429a6582ccdd9ea79c99

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 472756] Infinite modal dialog in PDF form

2023-08-01 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=472756

Albert Astals Cid  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/grap
   ||hics/okular/-/commit/f940ca
   ||1e2eda350b6e556f21adbd330fc
   ||99f8bb2
 Status|ASSIGNED|RESOLVED

--- Comment #4 from Albert Astals Cid  ---
Git commit f940ca1e2eda350b6e556f21adbd330fc99f8bb2 by Albert Astals Cid.
Committed on 02/08/2023 at 00:07.
Pushed by aacid into branch 'master'.

Forms: Don't run focusin action when gaining focus because of window management

Adobe Reader doesn't do it, and with reason, because otherwise we end up
with:
 * Run focus in script
 * script shows alert()
 * form loses focus and gains it again once the alert() is closed
 * infinite loop

The same fix we did in e457ceb73146790c5d4a9914182433ab4002815e but for
the rest of the widgets

M  +1-1part/formwidgets.cpp

https://invent.kde.org/graphics/okular/-/commit/f940ca1e2eda350b6e556f21adbd330fc99f8bb2

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 472756] Infinite modal dialog in PDF form

2023-07-31 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=472756

Bug Janitor Service  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

--- Comment #3 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/graphics/okular/-/merge_requests/785

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 472756] Infinite modal dialog in PDF form

2023-07-28 Thread Juan Navarro
https://bugs.kde.org/show_bug.cgi?id=472756

--- Comment #2 from Juan Navarro  ---
Created attachment 160597
  --> https://bugs.kde.org/attachment.cgi?id=160597=edit
Video showing the expected behavior (using Acrobat Reader)

Attaching a screen capture video where the expected behavior is shown.
This was captured using Acrobat Reader on Windows.
The "DNI", "Pasaporte" and "NIE" boxes can be marked as selected right away.
The "T", "P", and "C" boxes should show the modal dialog once, and afterwards
they get marked as selected.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 472756] Infinite modal dialog in PDF form

2023-07-28 Thread Juan Navarro
https://bugs.kde.org/show_bug.cgi?id=472756

--- Comment #1 from Juan Navarro  ---
Further info:

This dialog doesn't show up at all in other PDF viewers I've tested:
* Xreader v3.2.2
* Firefox v115
* Chromium v114

While these are indeed missing to show part of the PDF form to the user, the
lucky consequence of that is that it becomes possible to actually fill the form
successfully.

-- 
You are receiving this mail because:
You are the assignee for the bug.