SUMMARY Okular installed through Homebrew worked perfectly fine on Mojave. After upgrading to Catalina, the behavior is weird. Opening first file from a command line works. Opening a second file focuses on okular window, but neither new tab nor new window appear, and the only opened file is still the first one. I have "open new file in a new tab" option chosen, but switching that to "open new tab in a new window" does not help. However, opening new files through okular's "Open" or "Open recent" menus works as expected. STEPS TO REPRODUCE 1. Install okular through kde-mac Homebrew 2. $ open -a /usr/local/opt/okular/bin/okular.app file1.pdf 3. $ open -a /usr/local/opt/okular/bin/okular.app file2.pdf OBSERVED RESULT Step 2 opens file1.pdf as expected. Step 3 moves focus to Okular, but file2.pdf is not opened. EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Catalina Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.76.0 KDE Frameworks Version: Qt Version: 5.15.2 ADDITIONAL INFORMATION
Don't know if it's related, but trying to open a file in okular through File->Open File brings up a Mac open file dialog with XPS file format chosen by default, so all PDF files are grayed. Only after switching the option to PDF they can be opened.