| Summary: | command line call with --new-tab opens two tabs rather than one in already-running instance | ||
|---|---|---|---|
| Product: | [Applications] Falkon | Reporter: | bozonius |
| Component: | general | Assignee: | David Rosca <nowrep> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
bozonius
2018-04-12 17:50:53 UTC
Here is something I just discovered; perhaps it may enlighten the issue a bit. Only qupzilla is available on my other systems. But I was curious to see if qupzilla has this issue. I tried the "--new-tab" option and it behaves the same way as with falkon (described here in this bug, opening 2 tabs). But qupzilla does support "-new-tab" and that option does work as expected. IOW, qupzilla supports both "-new-tab" and "--new-tab" whereas the former is not supported by falkon. This may indicate that the code for only one of these was pulled along in the switch to falkon; maybe it would be preferable to pull the other code along and drop the code which did make it in? At any rate, maybe this will help illuminate the source of the current bug, or a solution to it. There were no changes in command line arguments parsing in Falkon, so it must behave exactly like QupZilla. One note, "--new-tab" should open just empty new tab (equivalent to Ctrl+T), it does not take URL parameter as you try to do. So calling "falkon --new-tab URL" will executes these two actions: "falkon --new-tab" + "falkon URL" = open new empty tab and then another tab with URL. Sorry, David, I am not sure I understood your post. The behavior IS as described, and others apparently have seen similar behavior. Falkon apparently has two similar options for new tab from the command line, differing by one or two leading dashes. However, the --help for falkon only shows the --new-tab variation, which is the one causing multiple tabs. The "hidden" option is the one that works correctly, the one with one leading dash, viz: -new-tab. So this is not truly resolved, really. Documentation issue, possibly? Never mind; I see the problem now. Falkon's options work the opposite as the other browsers. I guess I had to look at all of the options to ken that. Closing again. There is no "-new-tab" variant, this should show unknown switch error, but it does not as it needs to support arbitrary switches that are passed to Chromium.
> Never mind; I see the problem now. Falkon's options work the opposite as the other browsers. I guess I had to look at all of the options to ken that.
Yes, "--new-tab" is only for opening *new tab*, not for opening url in new tab. For that, just use "falkon URL".
|