Closed anthonybench closed 7 months ago
Yeah, having it popup on top sounds better. I'm not sure how that can be achieved though. I never use the fullscreen mode on Mac because of the extremely irritating "screen sliding" behaviour that seems to occur a lot.
@heyman do you mean when you have 1 or more fullscreen-app windows, and it jerks back to one with an open desktop when you run certain applications? Happens to me when i open zoom meetings, hate that.
Relevant to hear, looking through the feature request, I did see something effectively identical to this request, and the maintainer's response was to use a window manager, as this is only an issue on macos.
Even if it is only an issue on macos, it would still be amazing to implement out-of-the-box support for "float over everything" behavior. I implore anyone to fetch "Scrap Paper" from the app store and try it out and see what i mean, I'd go so far as to say that a key advantage/reason for having a note app is the ability to pull it up and hide it where ever you are, since the scenario of wanting to write something while you're reading from a fullscreen application is highly plausible.
I love this app, I saw it mentioned in Console news letter and loved it immediately, if they added this for mac users, I'd be thrilled.
I found this and managed to get Heynote to stay floating on top of a fullscreen window using the following code:
win.setVisibleOnAllWorkspaces(true, {visibleOnFullScreen: true})
However, when entering fullscreen, the Heynote window will automatically appear on top. And the only way to hide it is to either minimize or close the window (removing focus from the Heynote window by clicking on the fullscreen app would not hide Heynote).
I believe the visibleOnFullScreen
feature was implemented for the use case of having a program that would always float on top of all other programs, which doesn't really match our use-case.
One option could be to add an "Always on top" option, which - when enabled - would make Heynote always stay floating on top of other windows. It would solve #38, but it would do more than just allow Heynote to appear on top of fullscreen workspaces.
I've implemented an "Always on top" setting in #179. Seems to work on Mac, but needs to be tested on Windows and Linux as well.
@heyman That's awesome, I see your ci/cd steps pass on it, will that make into an upcoming release?
It needs to be tested on Windows and Linux to see that it works and doesn't mess up showing/hiding Heynote using the global hotkey. Once that's done, I'll merge it, and it'll make it into a new version.
@heyman I just realized from your comment, is the global hotkey suppose to hide heynote on mac? It doesn't hide for me (Sonoma).
@anthonybench Interesting. If Heynote is focused, it's supposed to hide the app. It does for me on Ventura (13.5.1). Maybe I need to upgrade and test it out. Just to make sure, if you press the global hotkey multiple times, Heynote just opens the first time and then stays open?
@heyman For me: Hitting the global hotkey (made sure no other application is also mapped to that hotkey) brings focus to heynote. └▶ Hitting it again will bring focus back to the application that last had it.
Would be awesome if it hid/minimized heynote.
Love it though, already use it a ton!
Ah, that's the intended behaviour. With the "Always on top" setting turned on, it should hide though.
@heyman Hey I'm currently on 1.7.0
of heynote on MacOS Sonoma 14.3.1
, and it still does not have the "on top / hide" behavior for full screen apps. Perhaps I read the release notes wrong for 1.7.0
, and it's not suppose to be there yet?
For what it's worth, I power-cycled my mac too.
Have you searched existing Github issues to see if someone has already requested this feature? Yes
*TLDR When I open heynote (macos) in a virtual desktop hosting a fullscreen application window, it jumps back to an open desktop. There are other note apps that pop up the editor above anything/everything else, and that behavior allows for swift use, would be awesome here
Additional context Macos Sanoma