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

BUG: Flow Launcher not invoking / opening Tab in QTTabBar in Windows 10 #2790

Closed
2 tasks done
gauthambhat025 opened this issue Jun 18, 2024 · 11 comments · Fixed by #2803
Closed
2 tasks done

BUG: Flow Launcher not invoking / opening Tab in QTTabBar in Windows 10 #2790

gauthambhat025 opened this issue Jun 18, 2024 · 11 comments · Fixed by #2803
Labels
bug Something isn't working

Comments

@gauthambhat025
Copy link

Checks

  • I have checked that this issue has not already been reported.

  • I am using the latest version of Flow Launcher.

Problem Description

I am using windows 10. I use QTTabbar to capture any new opening of windows explorer which very conveniently sets all my tabs in one single window. But when I invoke a folder from flow launcher, it opens in another window altogether. How to make it so that the invoked folder opens as a tab in the already opened window?

To Reproduce

  1. ...
  2. ...
  3. ...

Screenshots

No response

Flow Launcher Version

1.18.0

Windows Build Number

10.0.19045.3758

Error Log

Replace this line with the important log contents.
@gauthambhat025 gauthambhat025 added the bug Something isn't working label Jun 18, 2024
@taooceros
Copy link
Member

I think you can try to add a custom file manager for qttabbar? I don't know how exactly it needs to make it works.
image

@gauthambhat025
Copy link
Author

I think you can try to add a custom file manager for qttabbar? I don't know how exactly it needs to make it works. image

QTTabbar is not a separate file explorer, so not possible to set as default file explorer.
I have tried this with Wox launcher, it supports opening in same window as separate tab. But not able to get it working in flow launcher

@JoyHak
Copy link

JoyHak commented Jun 22, 2024

I'm currently trying to figure out how to open folders in the current explorer window in a new tab. As I understand it, I need to use some window call cmd command, which qttabbar will intercept

@gauthambhat025
Copy link
Author

I'm currently trying to figure out how to open folders in the current explorer window in a new tab. As I understand it, I need to use some window call cmd command, which qttabbar will intercept

Thanks for the reply, any tentative ETA?.
This bug is the only thing holding me back using flow launcher.

@onesounds
Copy link
Contributor

I've confirmed that it works in wox (if we open the path with process.start(path), we can open a tab). I didn't expect it to behave this way, so we're discussing a workaround.

@JoyHak
Copy link

JoyHak commented Jun 25, 2024

I've confirmed that it works in wox (if we open the path with process.start(path), we can open a tab). I didn't expect it to behave this way, so we're discussing a workaround.

If Flow Launcher opens a new tab in Files or another file manager, I'll just change file manager

@VictoriousRaptor
Copy link
Contributor

#Requires AutoHotkey v2.0
args := A_Args.Length == 1? A_Args[1] : A_Args[1] . " " . A_Args[2]

if (ErrorCode := ShellExecute(args)) <= 32
    MsgBox ErrorCode

ShellExecute(strArgs:="", nShowCmd:=1) {
    ; MsgBox strArgs
    ;http://msdn.microsoft.com/en-us/library/windows/desktop/bb762153%28v=vs.85%29.aspx
    Return DllCall("shell32\ShellExecuteW"
    , "uint", 0
    , "uint", 0
    , "str", "explorer.exe"
    , "str", strArgs  ; arguments
    , "str", "" ; lpfile
    , "int", nShowCmd    ; specifies how an application is to be displayed when it is opened
    , "uint" )
}

An ahk script as a workaround. Set it as default file manager in flow (args are the same as explorer) and it can work.

@onesounds
Copy link
Contributor

@gauthambhat025 @JoyHak

https://ci.appveyor.com/project/JohnTheGr8/flow-launcher/builds/50086900/artifacts
The information that it works with WOX was helpful. After you get the portable version from the link above, select the qttabbar item and let us know if it works as you want.

If you don't have an entry for "QTTABBAR"(case insensitive), add one and select. Only the name entry needs to be correct.

@onesounds onesounds mentioned this issue Jun 25, 2024
2 tasks
@gauthambhat025
Copy link
Author

@gauthambhat025 @JoyHak

https://ci.appveyor.com/project/JohnTheGr8/flow-launcher/builds/50086900/artifacts The information that it works with WOX was helpful. After you get the portable version from the link above, select the qttabbar item and let us know if it works as you want.

If you don't have an entry for "QTTABBAR"(case insensitive), add one and select. Only the name entry needs to be correct.

I can confirm this works

@onesounds
Copy link
Contributor

onesounds commented Jun 25, 2024

I can confirm this works

Good. It will be in the next release, but it will take a while to get there.

@JoyHak
Copy link

JoyHak commented Jun 25, 2024

I can confirm this works, thank you ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants