[okular] [Bug 435833] Okular shows the [object Object] popup and crashes when the user enters something into a form field and hits TAB

Albert Astals Cid bugzilla_noreply at kde.org
Fri Jun 4 22:44:01 BST 2021


https://bugs.kde.org/show_bug.cgi?id=435833

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/okular/commit/e23d398d |hics/okular/commit/b518c01f
                   |78c1747616e13f72e99887ef63c |1c66a30ab2c32758c5267acecc9
                   |bc357                       |6294a

--- Comment #10 from Albert Astals Cid <aacid at kde.org> ---
Git commit b518c01f1c66a30ab2c32758c5267acecc96294a by Albert Astals Cid.
Committed on 04/06/2021 at 21:17.
Pushed by aacid into branch 'release/21.04'.

FormLineEdit: Don't run focusout/formatfield actions when losing focus because
of window management

Adobe Reader doesn't do it and if we do it can end up crashing because
we end up running two focusout actions in parallel and our script system
is not prepared for that:

Scenario:
 * Tab out of a field
 * Script for that focusout runs
 * focus goes to next field
 * script for that focusout shows an alert()
 * second focusout script for that field runs while the first is running
 * bad stuff

M  +1    -1    part/formwidgets.cpp

https://invent.kde.org/graphics/okular/commit/b518c01f1c66a30ab2c32758c5267acecc96294a

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


More information about the Okular-devel mailing list