linuxdeepin / treeland

20 stars 15 forks source link

[Bug]: Wrong order involving surfaceItem's resizeMode in qml #294

Open ZhongYic00 opened 5 months ago

ZhongYic00 commented 5 months ago

SUMMARY | 问题概要

Assertion "The surface's resizeMode Shouldn't is ManualResize" failed after #284 in StackToplevelHelper.

When visible changed from false to true, onEffectiveVisibleChanged may be invoked before resizeMode binding is evaluated, so at the time it remains ManualResize

LAUNCH-WAY | 启动方式

unknown

BACKEND | 启动后端

X11

STEPS TO REPRODUCE | 复现步骤

  1. 运行treeland -r foot
  2. Meta+S 开启多任务视图
  3. Meta+S 关闭多任务视图

OBSERVED RESULT | 观察到的结果

控制台报错assertion failed

EXPECTED RESULT | 期望的结果

无报错

ADDITIONAL INFORMATION | 额外补充

No response

ZhongYic00 commented 5 months ago

May also consider exposing "real visible" in waylib frameDone to treeland?