[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

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

Nate Graham  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=445663

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2021-11-08 Thread Marco Martin
https://bugs.kde.org/show_bug.cgi?id=428859

Marco Martin  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 CC||notm...@gmail.com
 Resolution|--- |FIXED

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2021-11-08 Thread Marco Martin
https://bugs.kde.org/show_bug.cgi?id=428859

--- Comment #16 from Marco Martin  ---
Git commit 2ba1b0b642d540f74f0e21e7aaa272644ea4eda5 by Marco Martin.
Committed on 08/11/2021 at 16:12.
Pushed by mart into branch 'master'.

make the OSD an actual wayland OSD

when the OnScreenDisplay type is set, set it on the plasma shell surface
so KWin can actually treat it as such

M  +7-0src/plasmaquick/dialog.cpp

https://invent.kde.org/frameworks/plasma-framework/commit/2ba1b0b642d540f74f0e21e7aaa272644ea4eda5

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

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

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

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

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2021-11-05 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=428859

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

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2021-06-13 Thread Toadfield
https://bugs.kde.org/show_bug.cgi?id=428859

Toadfield  changed:

   What|Removed |Added

 CC||toadfi...@tutanota.com

--- Comment #13 from Toadfield  ---
This also happens when I edit the task bar,I assume that this is the same
problem.
I also use custom window behavior.

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2021-04-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=428859

Nate Graham  changed:

   What|Removed |Added

   Keywords||wayland

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2021-04-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=428859

Nate Graham  changed:

   What|Removed |Added

 CC||kel...@yahoo.com

--- Comment #12 from Nate Graham  ---
*** Bug 428147 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2020-11-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=428859

Nate Graham  changed:

   What|Removed |Added

 CC||colinetnatha...@gmail.com

--- Comment #10 from Nate Graham  ---
*** Bug 428875 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2020-11-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=428859

Nate Graham  changed:

   What|Removed |Added

  Component|wayland-generic |general

--- Comment #11 from Nate Graham  ---
Apparently this happens on X11 too. See Bug 428875.

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2020-11-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=428859

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2020-11-09 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=428859

--- Comment #9 from David Edmundson  ---
As a slightly horrible lazy hack, you can call destroy and create on QWindow
after we hide

This will give you a surface, so we can set the role earlier

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2020-11-09 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=428859

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

--- Comment #8 from David Edmundson  ---
>plasma sets the surface role too late

Yeah, we only set it on expose event as we need a wl_surface to attach to.

wl_surface in QWaylandWindow is a bit inconsistent.

It exists when a platform window is created
It is removed when a window is hidden
It then only comes back when a window is shown again.

So as a hook we often use expose to cover that third case, but unfortunately it
is after mapping

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2020-11-09 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=428859

--- Comment #7 from Vlad Zahorodnii  ---
```
[2460820.694]  -> wl_compositor@4.create_surface(new id wl_surface@119)
[2460820.870]  -> xdg_wm_base@37.get_xdg_surface(new id xdg_surface@112,
wl_surface@119)
[2460820.981]  -> xdg_surface@112.get_toplevel(new id xdg_toplevel@109)
[2460821.067]  -> xdg_toplevel@109.set_title("Plasma")
[2460821.132]  -> xdg_toplevel@109.set_app_id("org.kde.plasmashell")
[2460821.195]  -> wl_surface@119.set_buffer_scale(2)
[2460821.267]  -> wl_surface@119.set_buffer_transform(0)
[2460821.319]  -> wl_surface@119.commit()
[2460821.511]  -> xdg_surface@112.set_window_geometry(0, 0, 282, 44)
[2460827.167] xdg_toplevel@109.configure(360, 666, array)
[2460827.423] xdg_surface@112.configure(165)
...
[2460850.322]  -> org_kde_plasma_surface@115.set_role(3)
```

plasma sets the surface role too late

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2020-11-09 Thread Andrey
https://bugs.kde.org/show_bug.cgi?id=428859

Andrey  changed:

   What|Removed |Added

 CC||butir...@gmail.com

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2020-11-09 Thread Bhushan Shah
https://bugs.kde.org/show_bug.cgi?id=428859

--- Comment #6 from Bhushan Shah  ---
Created attachment 133163
  --> https://bugs.kde.org/attachment.cgi?id=133163&action=edit
plasmashell wl debug

WAYLAND_DEBUG of plasma-shell,

I show OSD, it is displayed correctly, it auto hides, and then is shown again
which is not showed correctly.

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2020-11-09 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=428859

--- Comment #5 from Vlad Zahorodnii  ---
Do the OSDs have correct window type? Would it be possible to have some
WAYLAN_DEBUG output?

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2020-11-08 Thread Justin Zobel
https://bugs.kde.org/show_bug.cgi?id=428859

Justin Zobel  changed:

   What|Removed |Added

  Component|general |wayland-generic

--- Comment #4 from Justin Zobel  ---
Thanks Bhushan, after second test can confirm.

Affects wayland only.

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2020-11-08 Thread Bhushan Shah
https://bugs.kde.org/show_bug.cgi?id=428859

Bhushan Shah  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||bhus...@gmail.com
 Status|REPORTED|CONFIRMED

--- Comment #3 from Bhushan Shah  ---
Mind you this bug happens on second invocation of the OSD and not the initial
one.

I can confirm this bug.

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2020-11-08 Thread Justin Zobel
https://bugs.kde.org/show_bug.cgi?id=428859

Justin Zobel  changed:

   What|Removed |Added

 CC||justin.zo...@gmail.com

--- Comment #2 from Justin Zobel  ---
Tested on:
Neon Unstable x11 - Not Affected
Neon User Edition Wayland - Not Affected

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

[kwin] [Bug 428859] OSDs are maximized when using Maximized window placement policy

2020-11-08 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=428859

--- Comment #1 from Nicolas Fella  ---
Created attachment 133156
  --> https://bugs.kde.org/attachment.cgi?id=133156&action=edit
Screenshot

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