[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2023-06-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=445259

Nate Graham  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #17 from Nate Graham  ---
This is a fairly old bug report and the code has changed a lot since it was
reported. There's a very good chance the issue you're experiencing is caused by
something else, even if the outward symptoms look and feel the same. Can you
please submit a new bug report? Thank you!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2023-06-14 Thread Shawn
https://bugs.kde.org/show_bug.cgi?id=445259

Shawn  changed:

   What|Removed |Added

Version|5.23.2  |5.27.5
   Platform|openSUSE|Archlinux

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2023-06-10 Thread Shawn
https://bugs.kde.org/show_bug.cgi?id=445259

Shawn  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED
 CC||sh...@n4hab.com

--- Comment #16 from Shawn  ---
Seeing this again, spontaneously just started using Arch, Plasma 5.27.5,
Frameworks 5.106.0, QT 5.15.9 .  Tested it with Brave, Chromium, Evolution
email and Dolphin.  Icon goes orange but won't open the window from the
taskbar, unless the browser isn't open or launched.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=445259

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.24

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-15 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=445259

--- Comment #15 from Vlad Zahorodnii  ---
(In reply to Samuel Reddy from comment #13)
> This also happens when you maximize when using csd.

Caused by the same issue.

KWin would still temporarily create a decoration even when using csd because of
the way chromium-based browsers initialize.
https://bugs.chromium.org/p/chromium/issues/detail?id=1268308

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-15 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=445259

Vlad Zahorodnii  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kwin/commit/acb0683e0da5
   ||32e62cb7942408f9c5edc692091
   ||a

--- Comment #14 from Vlad Zahorodnii  ---
Git commit acb0683e0da532e62cb7942408f9c5edc692091a by Vlad Zahorodnii.
Committed on 15/12/2021 at 12:47.
Pushed by vladz into branch 'master'.

wayland: Properly handle async xdg-decoration updates

Currently, if a window switches between SSD and CSD, it is possible to
encounter a "corrupted" state where the server-side decoration is wrapped
around the window while it still has the client-side decoration.

The xdg-decoration protocol fixes this problem by saying that decoration
updates are bound to xdg_surface configure events.

At the moment, kwin sort of applies decoration updates immediately. With
this change, decoration updates will be done according to the spec.

If the compositor wants to create a decoration, it will send a configure
event and apply the decoration when the configure event is acked by the
client. In order to send the configure event with a good window geometry
size, kwin will create the decoration to query the border size but not
assign it to the client yet. As is, KDecoration api doesn't make
querying the border size ahead of time easy. The decoration plugin can
assign arbitrary border sizes to windows as it pleases it. We could change
that, but it effectively means starting KDecoration3 and setting existing
window deco ecosystem around kwin on fire the second time, that's off the
table.

If the compositor wants to remove the decoration, it will send a
configure event. When the configure event is acked and the surface is
committed, the window decoration will be destroyed.

Sync'ing decoration updates to configure events ensures that we cannot
end up with having both client-side and server-side decoration. It also
helps us to fix a bunch of geometry related issues caused by creating
and destroying the decoration without any surface buffer attached yet.

M  +14   -10   autotests/integration/decoration_input_test.cpp
M  +13   -14   autotests/integration/dont_crash_no_border.cpp
M  +7-1   
autotests/integration/effects/popup_open_close_animation_test.cpp
M  +12   -10   autotests/integration/maximize_test.cpp
M  +7-10   autotests/integration/touch_input_test.cpp
M  +55   -83   autotests/integration/xdgshellclient_test.cpp
M  +8-8src/abstract_client.cpp
M  +2-2src/abstract_client.h
M  +3-3src/x11client.cpp
M  +138  -79   src/xdgshellclient.cpp
M  +15   -1src/xdgshellclient.h

https://invent.kde.org/plasma/kwin/commit/acb0683e0da532e62cb7942408f9c5edc692091a

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-15 Thread Samuel Reddy
https://bugs.kde.org/show_bug.cgi?id=445259

--- Comment #13 from Samuel Reddy  ---
This also happens when you maximize when using csd.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-08 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=445259

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #12 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwin/-/merge_requests/1765

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-08 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=445259

--- Comment #11 from Vlad Zahorodnii  ---
Git commit 53e3e87681ddfb92a6676f575bc1dd2ccf2530c2 by Vlad Zahorodnii.
Committed on 08/12/2021 at 13:05.
Pushed by vladz into branch 'master'.

autotests: Make decoration mode change tests more robust

Currently, kwin expects that the xdg-decoration is installed before the
initial commit. However, decoration tests do that after the initial
commit, which makes testMaximizeAndChangeDecorationModeAfterInitialCommit()
silently pass.

On a second look, it seems that the xdg-decoration spec is okay with the
xdg-decoration being created after the first commit (as long as it's
done before the surface is mapped). This needs to be fixed separately.

M  +12   -2autotests/integration/xdgshellclient_test.cpp

https://invent.kde.org/plasma/kwin/commit/53e3e87681ddfb92a6676f575bc1dd2ccf2530c2

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-08 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=445259

--- Comment #10 from Vlad Zahorodnii  ---
The issue is caused by kwin's incorrect handling of xdg-decoration (google
chrome initializes its xdg-toplevel surface differently from Qt apps, which
triggers some bugs). Not a trivial problem but will try to get it fixed in 5.24

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-08 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=445259

--- Comment #9 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwin/-/merge_requests/1764

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-07 Thread Samuel Reddy
https://bugs.kde.org/show_bug.cgi?id=445259

Samuel Reddy  changed:

   What|Removed |Added

 CC||samuelsumukhre...@gmail.com

--- Comment #8 from Samuel Reddy  ---
I think this happens when you enable use system borders and maximize chromium.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-07 Thread Philipp Reichmuth
https://bugs.kde.org/show_bug.cgi?id=445259

--- Comment #7 from Philipp Reichmuth  ---
In my case, after updating to Plasma 5.23.4 I now get the same behaviour as in
comment 4.

When starting Chromium from the command line with `chromium
--enable-features=UseOzonePlatform --ozone-platform=wayland`, the browser
window opens normally (same with Brave and Edge)

After maximizing Chromium, closing the maximized window and starting it again
with the same command line command, the window no longer comes up, while the
command is running. 

It this state is not visible in the KWin debug console.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-07 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=445259

--- Comment #6 from Patrick Silva  ---
(In reply to Zamundaaa from comment #5)
> If you type "KWin" into krunner and open the debug console, is the window
> shown in there?

in my case with chromium-based Opera browser on neon unstable, no.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-07 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=445259

Zamundaaa  changed:

   What|Removed |Added

 CC||xaver.h...@gmail.com

--- Comment #5 from Zamundaaa  ---
If you type "KWin" into krunner and open the debug console, is the window shown
in there?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-06 Thread Saikrishna
https://bugs.kde.org/show_bug.cgi?id=445259

Saikrishna  changed:

   What|Removed |Added

 CC||saiarcot...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-06 Thread Sam James
https://bugs.kde.org/show_bug.cgi?id=445259

Sam James  changed:

   What|Removed |Added

 CC||s...@gentoo.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-06 Thread Andreas Sturmlechner
https://bugs.kde.org/show_bug.cgi?id=445259

Andreas Sturmlechner  changed:

   What|Removed |Added

 CC||ast...@gentoo.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-06 Thread Kristoffer Gahlin
https://bugs.kde.org/show_bug.cgi?id=445259

Kristoffer Gahlin  changed:

   What|Removed |Added

 CC||stoffepoj...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-12-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=445259

tagwer...@innerjoin.org changed:

   What|Removed |Added

 CC||tagwer...@innerjoin.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-11-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=445259

indecisiveautoma...@gmail.com changed:

   What|Removed |Added

 CC||indecisiveautomator@gmail.c
   ||om

--- Comment #4 from indecisiveautoma...@gmail.com ---
Started affecting me in Plasma 5.23.4 with Arch Linux. Worked fine before the
update. Chromium/Brave will only open on XWayland with `--gtk-version=4`. It
will not work with the Ozone Wayland platform. Electron apps seem to be working
fine.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-11-30 Thread Viktor Jägersküpper
https://bugs.kde.org/show_bug.cgi?id=445259

Viktor Jägersküpper  changed:

   What|Removed |Added

 CC||viktor_jaegerskuepper@freen
   ||et.de

--- Comment #3 from Viktor Jägersküpper  ---
For me this happens when I start Chromium if I closed it in the maximized
state. The browser window is displayed normally if it was closed when it was
not maximized.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-11-11 Thread Sok Ann Yap
https://bugs.kde.org/show_bug.cgi?id=445259

Sok Ann Yap  changed:

   What|Removed |Added

 CC||sok...@gmail.com

--- Comment #2 from Sok Ann Yap  ---
This started happening to me after upgrading to kwin-5.23.3.

Chromium works fine on ozone/wayland again, after backing out these 2 commits:
- e2f9f35c (wayland: Check workspace position when preferred deco mode changes)
- ceec4e50 (wayland: Fix wayland windows growing after toggling decorations)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-11-10 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=445259

Nate Graham  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-11-10 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=445259

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 445259] Several Chromium-based browsers suddenly fail to bring up their browser windows on Wayland

2021-11-10 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=445259

Patrick Silva  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

--- Comment #1 from Patrick Silva  ---
Can reproduce with Opera browser on neon unstable.

-- 
You are receiving this mail because:
You are watching all bug changes.