Conversation
|
Tested while working on 2 different MenuBar app
No regression to report. {
"nativephp/electron": "dev-feature/menubars-continued",
"nativephp/laravel": "dev-feature/menubars-continued"
} |
I'm not sure I understand this. I didn't see any changes. I tried several combinations of right-clicking and left-clicking, and all seem fine both before and after. |
I was getting the popover remaining open and the context menu appearing on top of it... not sure how. But I explicitly added a line to hide the popover window on right-click and it fixed it for me |
|
Okay, I see it now. I understand. I didn't think it was a bug. I tried to test other apps, but I don't have many apps that have both. The only one that I use is Jetbrains Toolbox, and their context menu appears on top of the popover. To be fair, not many apps will use both the context menu and the popover. I gave it a thought for a bit and I clicked a thousand times on every icons of my navbar:
So. After an hour clicking around my final take is:
I found someone having the same issue there: max-mapper/menubar#155 And as why I wasn't seeing any changes, the dist/ version of the js file is not committed so I wasn't really testing the new javascript part. For future me: after changing branch with composer.json, don't forget to build the plugin: composer update -W
cd vendor/nativephp/electron/resources/js
npm install && npm run plugin:buildAn artisan command would be nice 😊 |
|
Yeah sorry for the long comment 😄
So go for it! I believe it's better to move quickly at this stage. Being opinionated isn't a bad thing. I don't think people will miss that "feature." Personally, I will update my app to place the refresh button on the popover instead of the context menu.
That's what I mentioned in my second part regarding the issues I linked. I believe we need to use the workaround I linked to make it function like JetBrains. Just remember to first check if |
I'm going to do this in a future PR |

Uh oh!
There was an error while loading. Please reload this page.