How to dock floating windows in Kdenlive?

I wanted the Timeline Guides tab in Kdenlive, so I added it from View > Guides. It showed up in the wrong place, so I tried to drag it down to the timeline area. Instead, it turned into a floating window and I have no idea how to dock it. I’ve tried clicking and dragging everywhere to no avail. I’m stuck with a floating window.

Am I doing something wrong, or is this a bug?

Kdenlive Version: 23.08.3
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.4-arch1-1 (64-bit)
Wayland
GPU: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2

Easiest would be to switch it off via View > Guides.

But you should be able to bring it back “in line” by grabbing the title bar (make sure to switch that on in View) and then dragging it over, say, the Project Bin widget. As soon as the borders of the Project Bin widget turn blue or the entire widget turns blue let go of the Guides widget, and it will drop into place.

Switching it off and on again just results in the floating window coming back. It persists even through a restart of Kdenlive.

But you should be able to bring it back “in line” by grabbing the title bar (make sure to switch that on in View) and then dragging it over, say, the Project Bin widget. As soon as the borders of the Project Bin widget turn blue or the entire widget turns blue let go of the Guides widget, and it will drop into place.

That doesn’t happen. I don’t see any blue lines when I drag it near any sections of the program. I’ve tried with that “Show Title Bars” option switched on and off, but it makes no difference.

Could it be because I’m using Wayland?

Sorry, but I don’t know. I am on Pop!_OS with X11 (and I am staying on X11 until Wayland has ironed out all the kinks) and it just works. If you can switch to X11 (I read somewhere it’s possible but dunno how) it may be worth a try.

Ah, well, if I switch to X11, Krita becomes unusable, so it’s not really an option for me. Technically, color management doesn’t work on Wayland afaik (complicated issue by all accounts), but, well…

Not a big deal, I suppose. Kdenlive works great on Wayland otherwise.

I mentioned Wayland because of this post, but I don’t fully know if it’s related: Dragging Docks and Tugging Toolbars on Wayland

1 Like

Yes, this is related. It is a Wayland / Qt issue, nothing we (Kdenlive devs) can fix

2 Likes

As a temporary workaround, you can run Kdenlive under Xwayland with the QT_QPA_PLATFORM=xcb environment variable.

3 Likes

Yes, this is related. It is a Wayland / Qt issue, nothing we (Kdenlive devs) can fix

Porting Kdenlive to Qt6 would help, v6.6 has a new wayland protocol to fix it:

2 Likes

Is on its way: Kdenlive Sprint Recap - November 2023 - Kdenlive

2 Likes

Thanks! I quickly ran Kdenlive through XWayland, docked the Guides widget, and re-opened in Wayland.

Unfortunately, I can’t use Kdenlive through XWayland because it flashes black far too regularly (and the scaling is messed up). Similar issue with Krita on XWayland, but at least the scaling is right. On X11, my display scaling on my tablet is all messed up (only works on KDE Wayland, not even GNOME Wayland), so the tools flashing black now and then is easier to deal with.

This flashing black issue only popped up a few weeks ago after a NVIDIA driver update. The good news is that it fixed an issue where the top third of my screen would flash black every few minutes. The bad news is, well…

Ahh, Nvidia. With any luck, that NVK driver will make life easier for me in a few years…