#tooltip, selector menu esque floating window in linux

17 messages · Page 1 of 1 (latest)

ocean sky
#

how do i make a bevy window that floats over the window that works in linux-hyprland like the appended image?

hoary bear
# ocean sky how do i make a bevy window that floats over the window that works in linux-hypr...

can you change the part you want on top of the rest of the ui as having position_type of PositionType::Absolute ? https://docs.rs/bevy_ui/latest/bevy_ui/struct.Node.html
https://docs.rs/bevy_ui/latest/bevy_ui/enum.PositionType.html#variant.Absolute

ocean sky
#

Unfortunately, the main window is supposed to be smaller. so that won't work 😦

hoary bear
#

oh sorry i misread

hoary bear
ocean sky
#

Yea, that's kind of the problem. Whatever I do, hyprland treats the popup window as a regular window

hoary bear
#

what is the problem with the current popup window?

ocean sky
#

I'll try that

#

It didn't work

#

I'll try windowPosition

hoary bear
#

was the window redrawn after you changed window level?

#

have you enabled bevy's native wayland by including the "wayland" feature?

ocean sky
#

yup

#

but it didnt redraw

hoary bear
#

sorry but i don't know how to help here

#

my only idea is to maybe see if you can interact with the hyprland api to make it do what is needed