[okular] [Bug 479777] Altium Designer PDF popup doesn't show up

Sune Vuorela bugzilla_noreply at kde.org
Wed Jan 17 19:18:17 GMT 2024


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

Sune Vuorela <sune at vuorela.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/okular/-/commit/2609f4
                   |                            |001add186e34f4e649f6c1096e3
                   |                            |b499f2f

--- Comment #2 from Sune Vuorela <sune at vuorela.dk> ---
Git commit 2609f4001add186e34f4e649f6c1096e3b499f2f by Sune Vuorela, on behalf
of Alexis Murzeau.
Committed on 17/01/2024 at 20:01.
Pushed by sune into branch 'master'.

Add support for app.popUpMenu and submenus in popUpMenuEx

These functions from `app` are JS functions that can be used by PDF
files.

Based on popUpMenuEx, the implementation of popUpMenu converts arguments
to app.popUpMenuEx format and then call it.

The popMenuEx function is improved to handle submenus as well using
`oSubMenu`.

app.popUpMenu is used in Altium Designer and EasyEDA exported PDFs.
See an example here:
https://www.st.com/en/evaluation-tools/32f723ediscovery.html#cad-resources
https://www.st.com/resource/en/schematic_pack/mb1260-f723e-d03_schematic.pdf

M  +146  -0    autotests/jsfunctionstest.cpp
M  +42   -0    core/script/builtin.js
M  +34   -10   core/script/js_app.cpp
M  +2    -0    core/script/js_app_p.h

https://invent.kde.org/graphics/okular/-/commit/2609f4001add186e34f4e649f6c1096e3b499f2f

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


More information about the Okular-devel mailing list