[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
Mon May 24 23:29:53 BST 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/okular/commit/e23d398d
                   |                            |78c1747616e13f72e99887ef63c
                   |                            |bc357
         Resolution|---                         |FIXED

--- Comment #7 from Albert Astals Cid <aacid at kde.org> ---
Git commit e23d398d78c1747616e13f72e99887ef63cbc357 by Albert Astals Cid.
Committed on 24/05/2021 at 22:24.
Pushed by aacid into branch 'okular_focus_actions'.

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/e23d398d78c1747616e13f72e99887ef63cbc357

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


More information about the Okular-devel mailing list