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

support popup: a basic idea #33

Open
Decodetalkers opened this issue Aug 5, 2024 · 2 comments
Open

support popup: a basic idea #33

Decodetalkers opened this issue Aug 5, 2024 · 2 comments
Milestone

Comments

@Decodetalkers
Copy link
Collaborator

Support popup in multiwindow

  • give popup an unique id in layershellev, every time request a popup , finally pass this request to layershelllev, and generate a popup
  • draw window in iced_layershell, and save a hashmap about the relation between uniqueid and iced::window::id, (lazy static)
  • users can get if the id in view request is a popup, and who request it , draw the view of the popup
  • handle the event of keyboard leave. when keyboard leave the surface, destroy the popup
@Decodetalkers Decodetalkers changed the title support popup support popup a basic idea Aug 5, 2024
@Decodetalkers
Copy link
Collaborator Author

add a new action in iced_layeshell, to request a popup window..

related logic is like
https://github.com/jjsullivan5196/wvkbd/blob/master/main.c#L622-L647

@Decodetalkers Decodetalkers changed the title support popup a basic idea support popup: a basic idea Aug 5, 2024
@Decodetalkers Decodetalkers pinned this issue Aug 5, 2024
@Decodetalkers
Copy link
Collaborator Author

support xdg_base , popup both. layershell can conexist with other shell, maybe someone will have the request to open a normal setting window

@Decodetalkers Decodetalkers added this to the 0.4.0 milestone Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant