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

2021-05-24 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=435833

Albert Astals Cid  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #8 from Albert Astals Cid  ---
I made a mistake and push it to the wrong branch, fix has still not landed

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

[okular] [Bug 436990] Interactive PDF Forms with field validation cannot be filled due to repeating error window

2021-05-24 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=436990

Albert Astals Cid  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #4 from Albert Astals Cid  ---
I made a mistake and push it to the wrong branch, fix has still not landed

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

[okular] [Bug 436990] Interactive PDF Forms with field validation cannot be filled due to repeating error window

2021-05-24 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=436990

Albert Astals Cid  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/grap
   ||hics/okular/commit/37aacc7f
   ||8bba67e0ec6b4854d901fe9dab4
   ||a8efd
 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #3 from Albert Astals Cid  ---
Git commit 37aacc7f8bba67e0ec6b4854d901fe9dab4a8efd by Albert Astals Cid.
Committed on 24/05/2021 at 22:26.
Pushed by aacid into branch 'okular_focus_actions'.

FormLineEdit: 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()
 * field loses focus and gains it again once the alert() is closed
 * infinite loop

M  +6-2part/formwidgets.cpp

https://invent.kde.org/graphics/okular/commit/37aacc7f8bba67e0ec6b4854d901fe9dab4a8efd

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

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

2021-05-24 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=435833

Albert Astals Cid  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  ---
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-1part/formwidgets.cpp

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

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

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

2021-05-24 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=435833

--- Comment #6 from Albert Astals Cid  ---
Git commit 81344f8aa8244197f4292210c4f0b31d871a3d28 by Albert Astals Cid.
Committed on 24/05/2021 at 17:53.
Pushed by aacid into branch 'okular_focus_actions'.

Unbox alert() parameters when they are in an object

API let's you use both arguments or objects with named properties, so
support both.

This fixes the contents of the warning in 435833, the crash is still
there though, working on that next

M  +54   -44   core/script/kjs_app.cpp

https://invent.kde.org/graphics/okular/commit/81344f8aa8244197f4292210c4f0b31d871a3d28

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

[okular] [Bug 437613] Wrong display of " and -

2021-05-24 Thread Yuri Chornoivan
https://bugs.kde.org/show_bug.cgi?id=437613

Yuri Chornoivan  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 CC||yurc...@ukr.net
 Resolution|--- |WAITINGFORINFO

--- Comment #3 from Yuri Chornoivan  ---
Cannot be reproduced here.

What substitution is shown in the font list on the
"Fonts" tab the window that can be invoked by the "File -> Properties" menu
item?

Can you install some neo-grotesque fonts (Arial and DejaVu)?

Thanks in advance for your answer.

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

[okular] [Bug 437613] Wrong display of " and -

2021-05-24 Thread Henrik
https://bugs.kde.org/show_bug.cgi?id=437613

--- Comment #2 from Henrik  ---
In Firefox 88.0.1 the document is displayed correct.

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

[okular] [Bug 437613] Wrong display of " and -

2021-05-24 Thread Henrik
https://bugs.kde.org/show_bug.cgi?id=437613

--- Comment #1 from Henrik  ---
Created attachment 138745
  --> https://bugs.kde.org/attachment.cgi?id=138745=edit
Screenshot of Okular's display

Screenshot of Okular.

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

[okular] [Bug 437613] New: Wrong display of " and -

2021-05-24 Thread Henrik
https://bugs.kde.org/show_bug.cgi?id=437613

Bug ID: 437613
   Summary: Wrong display of " and -
   Product: okular
   Version: 21.04.0
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-devel@kde.org
  Reporter: henrik.hein...@online.de
  Target Milestone: ---

Created attachment 138744
  --> https://bugs.kde.org/attachment.cgi?id=138744=edit
Wrong display of characters

SUMMARY

In attached PDF document characters " (lower) and - are replaced by weird -
"non German" charcters - see attachment and Screenshots

STEPS TO REPRODUCE
1. Use attached document
2. Open it
3. Check content of second test box.

OBSERVED RESULT

Characters " (lower) and - are not shown as intended

EXPECTED RESULT

Characters are shown properly

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Manjaro KDE (rolling, up-to-date)
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

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