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

[Bug]: Xwayland not consider popup or toplevel #288

Open
ZhongYic00 opened this issue Jun 5, 2024 · 0 comments
Open

[Bug]: Xwayland not consider popup or toplevel #288

ZhongYic00 opened this issue Jun 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ZhongYic00
Copy link
Contributor

ZhongYic00 commented Jun 5, 2024

SUMMARY | 问题概要

  • xwayland popup also added to allSurfaces model (maybe should rename to allToplevels)
  • xwayland popup also grab focus / activatedSurface
    • Qt creator's popup exits soonly after show up

LAUNCH-WAY | 启动方式

unknown

BACKEND | 启动后端

X11

STEPS TO REPRODUCE | 复现步骤

  1. treeland
  2. run DISPLAY=:1 gtk-demo
  3. right click to open popup
  4. Meta+S open multitaskview
    1. treeland
    2. run DISPLAY=:1 qtcreator
    3. open popup from menubar etc.

OBSERVED RESULT | 观察到的结果

  1. gtk popup in window list
  2. qtcreator's popup show but soon destroys

EXPECTED RESULT | 期望的结果

No response

ADDITIONAL INFORMATION | 额外补充

modify in stacktoplevelhelper may solve qtcreator case

                if (surface.parent.isCurrentWorkspace && (waylandSurface.isToplevel === true || waylandSurface.isPopup === false))
                    Helper.activatedSurface = waylandSurface
@ZhongYic00 ZhongYic00 added the bug Something isn't working label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant