Bug 456058 - Okular cannot load PDF file by dragging to the Dock icon or "open with"
Summary: Okular cannot load PDF file by dragging to the Dock icon or "open with"
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 22.04.2
Platform: Homebrew (macOS) macOS
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-28 00:03 UTC by Haoyu
Modified: 2022-06-28 00:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
okular interface after drag a PDF file to the Okular icon at Dock (733.35 KB, image/png)
2022-06-28 00:03 UTC, Haoyu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Haoyu 2022-06-28 00:03:49 UTC
Created attachment 150210 [details]
okular interface after drag a PDF file to the Okular icon at Dock

SUMMARY
Okular cannot load PDF file by dragging to the Dock icon or "open with".


STEPS TO REPRODUCE
1. Pin "Okular" at Dock.
2. Drag a PDF file to the Okular icon.
OR
1. Right click on a PDF file and "open with", then choose "okular" from "Applications"-"KDE"-"Okular".

OBSERVED RESULT
Okular is open but showing the "welcome to Okular" windows instead of opening the PDF file directly, as seen from the attatchment.


EXPECTED RESULT
The PDF file should be loaded.


SOFTWARE/OS VERSIONS
macOS: Monterey 12.4 running on Apple M1 chip (Macbook pro m1 13'')


ADDITIONAL INFORMATION
1. Open a PDF file from either the "file"-"open" of Okular interface or drag the file directly to an already opened "okular" interface (the "Welcome to Okular" window for example) could load the PDF file normally. 

2. I followed the instruction here (https://gist.github.com/7468696e6b/ec8fa5d6cdb4e80633b9df95869b70c0) to install Okular on my mac.