Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open files in new tab on Windows #3

Open
DStalkerBR opened this issue Nov 19, 2023 · 6 comments
Open

Unable to open files in new tab on Windows #3

DStalkerBR opened this issue Nov 19, 2023 · 6 comments
Assignees

Comments

@DStalkerBR
Copy link

Hi,
I would like to know how to always open files in a new tab on Windows.
Currently, when I open files through Windows Explorer, they always open in a new window.

I attempted to use the --unique argument, but it had no effect.

@darealshinji
Copy link
Owner

Hmm. It looks looks like I have to compile it with DBus support or find another simple solution that works in Windows.

@darealshinji darealshinji self-assigned this Nov 19, 2023
@darealshinji
Copy link
Owner

It builds with DBus enabled but it still doesn't work. I will further investigate this but I probably have to make a bug report to the upstream devs. It works well on Linux however.

@DStalkerBR
Copy link
Author

I managed to make this configuration work by running the dbus-launch.exe binary available at the Qt Project mailing list and adding the --unique argument to the registry entry at HKCU\Software\Classes\Applications\qpdfview\shell\open\command\.

I'm only experiencing an issue with the window failing to auto-focus upon opening the second file, it works only when opening the first file. (A similar issue has been discussed in this thread ) But it may not be specific to the application itself.

Also for some reason no terminal command, including qpdfview.exe --help, is producing any text output for me in the Windows terminal

@darealshinji
Copy link
Owner

I managed to make this configuration work by running the dbus-launch.exe binary available at the Qt Project mailing list and adding the --unique argument to the registry entry at HKCU\Software\Classes\Applications\qpdfview\shell\open\command\.

Next time I will ship the DBus binaries too.

Also for some reason no terminal command, including qpdfview.exe --help, is producing any text output for me in the Windows terminal

Maybe it's better to show the commands in a window when calling it with qpdfview.exe --help, like many other applications do on Windows.

help

@DStalkerBR
Copy link
Author

Maybe it's better to show the commands in a window when calling it with qpdfview.exe --help, like many other applications do on Windows.

Indeed.
Currently, I only managed to get the command output is by redirecting it to a file qpdfview.exe --help > file.txt.

@darealshinji
Copy link
Owner

The changes were added to upstream: https://bazaar.launchpad.net/~adamreichold/qpdfview/trunk/revision/2154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants