Bug 502526

Summary: Add an option when dragged, drag title bar
Product: [Plasma] plasmashell Reporter: szucsilikes00
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: luisbocanegra17b, nate, niccolo.venerandi
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description szucsilikes00 2025-04-07 14:26:10 UTC
I use a layout where there isn't a title bar once a window is maximized and I need to press the maximize button so I can move the window without touching the keyboard. There is a widget that has a similar functionality but it snaps the cursor to the middle of the window which makes it harder to drag to the other screen to be maximized there.
Comment 1 Nate Graham 2025-04-07 19:52:01 UTC
Have you reported the issue with the widget to its developer?

If that issue were fixed, would you happy using the widget itself?
Comment 2 szucsilikes00 2025-04-07 20:27:18 UTC
(In reply to Nate Graham from comment #1)
> Have you reported the issue with the widget to its developer?
> 
> If that issue were fixed, would you happy using the widget itself?

If we talk about the built-in panel spacer, then I don't know how/where to report for it.
If we talk about the other widget, I tried to ask the dev if he can fix it seems that it's an issue with plasma. https://github.com/luisbocanegra/plasma-panel-spacer-extended/issues/59
Comment 3 Nate Graham 2025-04-08 16:44:29 UTC
I would say let's focus on the 3rd-party widget since it aspires to make this use case work, and is simply affected by an issue in KWin. Let's focus on that.

Luis (CC'd), is this reported to KWin?
Comment 4 szucsilikes00 2025-04-09 10:55:21 UTC
(In reply to Nate Graham from comment #3)
> I would say let's focus on the 3rd-party widget since it aspires to make
> this use case work, and is simply affected by an issue in KWin. Let's focus
> on that.
> 
> Luis (CC'd), is this reported to KWin?

I don't know if it's reported, I know that I didn't reported it. Should I make a report and link this to it?
Comment 5 Luis Bocanegra 2025-04-09 13:26:38 UTC
There is already a bug report for this made for Latte Dock

https://bugs.kde.org/show_bug.cgi?id=464173

It is also important to note that my widget just calls KWin shortcuts via D-Bus under the hood, while Latte IIRC calls underlying windowing stuff with C++.

Maybe this could be solved by a method that snaps the cursor to the nearest edge? Given that the gesture could be initiated from any edge depending on where the user has the panel, that assumes panels on other screens being also on the same edge but maybe that's fine.

There is also a feature request to make this a panel built-in feature

https://bugs.kde.org/show_bug.cgi?id=433072
Comment 6 Nate Graham 2025-04-09 16:18:39 UTC
(In reply to Luis Bocanegra from comment #5)
> There is also a feature request to make this a panel built-in feature
> 
> https://bugs.kde.org/show_bug.cgi?id=433072

Aha, that's what I was looking for, thanks!

*** This bug has been marked as a duplicate of bug 433072 ***