[kwin] [Bug 443723] "Display geometry when moving or resizing" does not work under wayland

2022-04-15 Thread Michael Tunnell
https://bugs.kde.org/show_bug.cgi?id=443723

Michael Tunnell  changed:

   What|Removed |Added

 CC||m...@michaeltunnell.com

--- Comment #12 from Michael Tunnell  ---
I am disappointed to see this removed intentionally. I used this feature all
the time to resize windows for different usecases. I'll provide one of the
critical examples I use it for. I'm a podcaster on Destination Linux and during
preparation we have individual windows for each camera. I resize the windows to
1080p so that I can capture them via OBS. This feature made it very easy and
simple to make sure I always had it at the right sizing and positioning for
capture. The first episode we recorded after I updated to 5.24 actually sent me
into a panic because I didnt have time to figure out what happened. Luckily I
already knew how to workaround this with wmctrl so I did that and have been
doing so ever since.

I decided to see if there was a bug report to add my need to today and see that
it was intentionally removed without warning. I don't know how I would be able
to be warned as I am not sure there is a change advisory thing but that would
be very helpful as a side note.

I now see that wmctrl does not work on Wayland so this feature being removed in
KWin and my workaround only works in X means this will eventually create a
bigger problem for me later.

Note: this is not the only reason I use this feature, this was also great for a
lot of other reasons and was a great way to show people why KWin was awesome
because everyone has different reasons to find this helpful.

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

[kwin] [Bug 443723] "Display geometry when moving or resizing" does not work under wayland

2022-02-21 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=443723

Patrick Silva  changed:

   What|Removed |Added

 CC||tyna...@gmail.com

--- Comment #11 from Patrick Silva  ---
*** Bug 450629 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 443723] "Display geometry when moving or resizing" does not work under wayland

2022-02-09 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=443723

--- Comment #10 from Vlad Zahorodnii  ---
https://invent.kde.org/plasma/kwin/-/tree/master/src/scripts/desktopchangeosd/contents/ui
the desktopchangeosd script is a good example how to write a kwin script that
creates a window

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

[kwin] [Bug 443723] "Display geometry when moving or resizing" does not work under wayland

2022-02-09 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=443723

--- Comment #9 from Vlad Zahorodnii  ---
(In reply to Sebastian E. from comment #8)
> Yet another feature dropped. :/
> 
> I skimmed through the scripting documentation
> (https://develop.kde.org/docs/extend/plasma/scripting/api/), and need some
> hints. How can I register a listener for window events like resize/move, and

workspace.clientAdded.connect((client) => {
client.clientStartUserMovedResized((client) => console.log("interactive
move resize started", client.caption);
client.clientStepUserMovedResized((client, rect) => console.log("geometry
changed", rect.x, rect.y, rect.width, rect.height));
client.clientFinishUserMovedResized(() => console.log("interactive move
resize finished");
});

> how can I create a tip, which would be a top level window without
> decoration, I guess?

you could create a plasma dialog dynamically (see
https://doc.qt.io/qt-5/qtqml-javascript-dynamicobjectcreation.html) when the
clientStartUserMovedResized signal is emitted and destroy it when the
clientFinishUserMovedResized signal is emitted

PlasmaCore.Dialog {
location: PlasmaCore.Types.Floating
flags: Qt.X11BypassWindowManagerHint | Qt.FramelessWindowHint
x: client.x + client.width / 2 - width / 2
y: client.y + client.height / 2 - height / 2

Label {} // a label with geometry text
}

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

[kwin] [Bug 443723] "Display geometry when moving or resizing" does not work under wayland

2022-02-09 Thread Sebastian E.
https://bugs.kde.org/show_bug.cgi?id=443723

--- Comment #8 from Sebastian E.  ---
Yet another feature dropped. :/

I skimmed through the scripting documentation
(https://develop.kde.org/docs/extend/plasma/scripting/api/), and need some
hints. How can I register a listener for window events like resize/move, and
how can I create a tip, which would be a top level window without decoration, I
guess?

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

[kwin] [Bug 443723] "Display geometry when moving or resizing" does not work under wayland

2022-02-09 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=443723

Vlad Zahorodnii  changed:

   What|Removed |Added

 CC||kde-b...@foobarlibre.net

--- Comment #7 from Vlad Zahorodnii  ---
*** Bug 449842 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 443723] "Display geometry when moving or resizing" does not work under wayland

2022-01-31 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=443723

--- Comment #6 from Vlad Zahorodnii  ---
#kde-kwin

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

[kwin] [Bug 443723] "Display geometry when moving or resizing" does not work under wayland

2022-01-31 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=443723

Vlad Zahorodnii  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |INTENTIONAL

--- Comment #5 from Vlad Zahorodnii  ---
Yeah, those sound like really niche usecases. The reason the geometry tip was
dropped so async geometry updates could be simplified on wayland, which turned
out to be a very difficult problem to get right..

That being said, the scripting api provides everything that's needed to
re-implement this feature and it would be a much nicer way to implement
geometry tip than the old way. I can look into it but I can't guarantee that it
will be done soon. If somebody wants to do that themselves and upload the
script to kde store, feel free to ask questions about scripting in #kde-devel
on libera.chat or kwin matrix channel.

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

[kwin] [Bug 443723] "Display geometry when moving or resizing" does not work under wayland

2022-01-28 Thread Chiitoo
https://bugs.kde.org/show_bug.cgi?id=443723

--- Comment #4 from Chiitoo  ---
(In reply to Vlad Zahorodnii from comment #3)
> > I for one used this surprisingly much, and I do consider my use-case rather 
> > regular in nature.
> What did you use it for?

Nothing /too/ specific really, that I can think of right now.

Mostly it's probably just that I've become very accustomed to having different
windows be of a particular size, which can actually be very useful when taking
screenshots or video off of them (no need to resize them later for example).

Somewhat similarly, it has been very useful in keeping aspect ratios and such
as they should be for games, especially older ones, which don't have built-in
options to set the resolution right (this also goes for the images and video in
some cases).

There might be more specific things I've used this for, but can't think of
right now.

I can't imagine being the only one making so much use of this, but I do also
understand removing it if there are only a handful of us.

Thanks!

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

[kwin] [Bug 443723] "Display geometry when moving or resizing" does not work under wayland

2022-01-28 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=443723

--- Comment #3 from Vlad Zahorodnii  ---
> I for one used this surprisingly much, and I do consider my use-case rather 
> regular in nature.
What did you use it for?

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

[kwin] [Bug 443723] "Display geometry when moving or resizing" does not work under wayland

2022-01-26 Thread Chiitoo
https://bugs.kde.org/show_bug.cgi?id=443723

Chiitoo  changed:

   What|Removed |Added

 CC||esco...@hotmail.com

--- Comment #2 from Chiitoo  ---
Since fcf0b4796f5 [1] this is gone for X11 as well.

Should there perhaps be a separate bug requesting a replacement feature?

I for one used this surprisingly much, and I do consider my use-case rather
regular in nature.  :]

Thanks!

1.
https://invent.kde.org/plasma/kwin/-/commit/fcf0b4796f55fc15aa60a339ea40cdbb4573f9b8

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

[kwin] [Bug 443723] "Display geometry when moving or resizing" does not work under wayland

2021-10-14 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=443723

--- Comment #1 from Vlad Zahorodnii  ---
Iirc it's implemented only for x11 windows

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

[kwin] [Bug 443723] "Display geometry when moving or resizing" does not work under wayland

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

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1
Summary|display geometry when   |"Display geometry when
   |moving or resizing has no   |moving or resizing" does
   |effect under wayland|not work under wayland
  Component|kcm_kwinoptions |wayland-generic
Product|systemsettings  |kwin

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