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

Title might not really change when using cmd+arrow key #13

Open
link-ding opened this issue Aug 20, 2021 · 12 comments
Open

Title might not really change when using cmd+arrow key #13

link-ding opened this issue Aug 20, 2021 · 12 comments

Comments

@link-ding
Copy link

I am currently using Keyboard maestro. There is a trigger "when the window's title change". If I click the link or click the file from the side bar, the trigger will work. However, If I use command + arrow key to navigate the file, it will not triggering the macro. It might not be the issue of this plugin cos I download the old version of this plugin and it still have this problem. Hopefully you can give some suggestion to solve this problem.

Thanks in advance.

@link-ding
Copy link
Author

Screen.Recording.2021-08-22.at.18.25.57.mov

This video might be more clear to explain the issue.
I first at "algorithm design" file and get the current file window title is correct. Then I use cmd+left arrow key to back to "Computer Science" file page and get current file again. It still show the window title is the last page's title.

@luckman212
Copy link
Contributor

Sorry, but not quite sure what's going on in your video... maybe some voiceover would help, or just a written out step-by-step. When I try navigating using e.g. ⌘cmd ← the title is updating on my system.

@jplattel
Copy link
Owner

It seems like the title is updating correctly on the window, except that Keyboard Meastro is not picking it up correctly.

As a user of Keyboard Meastro myself I can test if this is something on Keyboard Meastro's side, are you using the %WindowName%1% variable?

@link-ding
Copy link
Author

It seems like the title is updating correctly on the window, except that Keyboard Meastro is not picking it up correctly.

As a user of Keyboard Meastro myself I can test if this is something on Keyboard Meastro's side, are you using the %WindowName%1% variable?

Yes, this is what I am talking about. The real trigger I use for the macro is "focused window's title changed". In the video, I just show the window title by using "%WindowName%1%".

@jplattel
Copy link
Owner

Alright, I'm trying to replicate the bug, but it seems to work properly for me, this is the macro I've been using:

Screenshot 2021-08-23 at 08 59 01

I'm using Keyboard Meastro 9.0.6. What version are you using?

@link-ding
Copy link
Author

link-ding commented Aug 23, 2021

Alright, I'm trying to replicate the bug, but it seems to work properly for me, this is the macro I've been using:

Screenshot 2021-08-23 at 08 59 01

I'm using Keyboard Meastro 9.0.6. What version are you using?

I am using keyboard maestro 9.2
image

And just to make sure, the trigger does not work will only happen when using cmd + arrow key or use go back and go forward button.

@jplattel
Copy link
Owner

Mmh, strange I just can't replicate it with my version of KM, since it's a paid upgrade I'm not yet updating to 9.2, thus I'm unable to test it with that version.

As for the back/forward triggers, I've tried it with both the shortcuts and that works for me. Are you using any other plugins like Sliding panes or anything that might modify the focus?

@link-ding
Copy link
Author

I try to create a new vault and only install this plugin to show the title but still have this issue.

Screen.Recording.2021-08-25.at.13.25.23.mov

@link-ding
Copy link
Author

I asked my friend whose keyboard maestro's version is 9.0.5 to replicate the issue and he has this issue as well. If it is possible can you please record a video to show me how you replicate it?

1629863001244125.mp4

@link-ding
Copy link
Author

Mmh, strange I just can't replicate it with my version of KM, since it's a paid upgrade I'm not yet updating to 9.2, thus I'm unable to test it with that version.

As for the back/forward triggers, I've tried it with both the shortcuts and that works for me. Are you using any other plugins like Sliding panes or anything that might modify the focus?

Could you please show me how to replicate the issue? I've been really struggling with this problem for a long time.

@jplattel
Copy link
Owner

jplattel commented Sep 7, 2021

I've just released 0.3.1. I think that's the reason it worked on my computer, since I was working with newly committed code.

Could you let me know if this new version works for you? Thanks!

@link-ding
Copy link
Author

Thanks for replying, I update to latest version plugin and reopen obsidian but it still does not work.

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

3 participants