[kwin] [Bug 481852] qt QScreen::availiableSize will return fullscreen size

2024-02-28 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=481852

Nate Graham  changed:

   What|Removed |Added

 Resolution|NOT A BUG   |UPSTREAM

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

[kwin] [Bug 481852] qt QScreen::availiableSize will return fullscreen size

2024-02-28 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=481852

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk
 Resolution|--- |NOT A BUG
 Status|REPORTED|RESOLVED

--- Comment #7 from David Edmundson  ---
To rephrase Vlad's comment, it means the window will be resized automatically,
but you don't get this ahead of time in a useful way.

It's a broken design, but we're limited within the scope of Wayland. Anything
else needs to be taken up on the wayland-protocols repository.

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

[kwin] [Bug 481852] qt QScreen::availiableSize will return fullscreen size

2024-02-28 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=481852

--- Comment #6 from Vlad Zahorodnii  ---
note that qt will take care of honoring xdg_toplevel.configure_bounds

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

[kwin] [Bug 481852] qt QScreen::availiableSize will return fullscreen size

2024-02-28 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=481852

--- Comment #5 from Vlad Zahorodnii  ---
(In reply to uniqueding from comment #3)
> (In reply to Vlad Zahorodnii from comment #1)
> > Can you explain why you need that information?
> 
> I want my window to not extend onto the dock, so I want get availiableSize
> to limit my window geometry like x11

It works slightly different on wayland. There's xdg_toplevel.configure_bounds
https://wayland.app/protocols/xdg-shell#xdg_toplevel:event:configure_bounds

kwin and qt support it. although I believe they are available only in plasma 6.

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

[kwin] [Bug 481852] qt QScreen::availiableSize will return fullscreen size

2024-02-27 Thread uniqueding
https://bugs.kde.org/show_bug.cgi?id=481852

--- Comment #4 from uniqueding <1224472...@qq.com> ---
(In reply to Nate Graham from comment #2)
> Regardless, since this is Qt API, isn't this a Qt bug?

Although this is a Qt API, there is no related protocol on Wayland to pass this
geometry.

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

[kwin] [Bug 481852] qt QScreen::availiableSize will return fullscreen size

2024-02-27 Thread uniqueding
https://bugs.kde.org/show_bug.cgi?id=481852

--- Comment #3 from uniqueding <1224472...@qq.com> ---
(In reply to Vlad Zahorodnii from comment #1)
> Can you explain why you need that information?

I want my window to not extend onto the dock, so I want get availiableSize to
limit my window geometry like x11

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

[kwin] [Bug 481852] qt QScreen::availiableSize will return fullscreen size

2024-02-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=481852

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

--- Comment #2 from Nate Graham  ---
Regardless, since this is Qt API, isn't this a Qt bug?

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

[kwin] [Bug 481852] qt QScreen::availiableSize will return fullscreen size

2024-02-27 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=481852

--- Comment #1 from Vlad Zahorodnii  ---
Can you explain why you need that information?

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