linuxdeepin / treeland

20 stars 15 forks source link

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

Open ZhongYic00 opened 5 months ago

ZhongYic00 commented 5 months ago

SUMMARY | 问题概要

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

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