Opened 9 years ago

Closed 9 years ago

#47054 closed defect (fixed)

Okular can not open more than one document

Reported by: tryingkaspersky@… Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: mkae (Marko Käning)
Port: okular

Description

This machine is running OS X 10.9 Mavericks.

Okular 4.14.3_0, 20.3 as reported by the application itself, will crash If I attempt to open more than one document, either with "open new document in tabs" option on or not. Only one document works fine.

Okular 19.3 seems to open multiple documents normally under Ubuntu.

Attachments (1)

patch-class-visibility-for-dynamic_cast.diff (938 bytes) - added by RJVB (René Bertin) 9 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: nicos@… removed
Keywords: okular tabs removed
Owner: changed from macports-tickets@… to nicos@…

comment:2 Changed 9 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:3 Changed 9 years ago by NicosPavlov

I could confirm the issue, but it does not seem to be linked to the version, to be an issue on Mac OS, as also the 19.3 version has the same problem. I could not find the cause as of now.

comment:4 Changed 9 years ago by RJVB (René Bertin)

This is because a dynamic_cast fails and the code isn't prepared to handle that situation. I'm working on a patch.

Last edited 9 years ago by RJVB (René Bertin) (previous) (diff)

Changed 9 years ago by RJVB (René Bertin)

comment:5 Changed 9 years ago by RJVB (René Bertin)

Can you please try with the attached patch?

comment:6 Changed 9 years ago by RJVB (René Bertin)

Or, try the latest Okular version with the portdir at https://github.com/RJVB/mp-port-repository/tree/master/kde/okular

comment:7 Changed 9 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

Thanks for the patch, which seems to do the trick. Committed in r135174.

Note: See TracTickets for help on using tickets.