QOwnNotes icon indicating copy to clipboard operation
QOwnNotes copied to clipboard

[BUG] Floating panels can't be re-attach to main window (KDE Plasma, wayland, nvidia)

Open joomlafun opened this issue 1 year ago • 13 comments

####System 24.9.6 KDE 5.27.8(kubuntu) wayland qt 5.15 !!Issue not present with the snap installation, only with the flatpak installation!!

Expected behaviour

Pannels to drop and attach to the main window when drag and drop is used

Actual behaviour

Pannels not dropping, they remain independent windows

Steps to reproduce

Unlock pannels Pick a floating pannel, and drop it on the main structure

I saw the logs have a bit of personal content, please let me know if you need them for this situation Screenshot_20240915_1243

joomlafun avatar Sep 15 '24 10:09 joomlafun

Hm, I cannot reproduce this. When I pull them out as a separate window, I'm able to drag them into the QOwnNotes main window again.

Hard to tell what's going on in your system. Did you try switching to another Layout in the layout system to bring them back?

pbek avatar Sep 15 '24 11:09 pbek

Hi,

Yes I tried to switch to another layout and did a reinstall. It seems like the second window(the one with the panel to drop) is not aware of the main window of qownote.

Update : I've just installed the snap version and it WORKS fine...

However to have it solved : should I/you file a bug report be opened at flatpak and its compatibility with wayland? I cannot say at which update this issue started to happen I must say, I will stick with the snap.

joomlafun avatar Sep 15 '24 12:09 joomlafun

Ah, you didn't share your settings... So you installed the (community maintained) flatpak. Best open an issue on https://github.com/flathub/org.qownnotes.QOwnNotes/issues then.

pbek avatar Sep 15 '24 12:09 pbek

I proposed to share the logs in my first post, it was a bit long to be honest and did not know that the copy paste removes the sensitive data https://github.com/flathub/org.qownnotes.QOwnNotes/issues/295

joomlafun avatar Sep 15 '24 12:09 joomlafun

Yes, that seems to be the same issue as mine #3135. My install on Debian Testing (with GNOME) was via apt...

Version: 24.10.2-1
Download-Size: 4’476 kB
APT-Manual-Installed: yes
APT-Sources: http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_12  Packages

Could it be related to Wayland? I think I saw a warning related to it in the log... BTW: I am actually not able to get the navigation panel back to where the others are. I can only switch it on/off.

digisus avatar Oct 24 '24 13:10 digisus

I just tested again on NixOS with KDE Plasma and Wayland, and snapping the panel back still worked fine. 🤔

pbek avatar Oct 24 '24 13:10 pbek

It would help as a dirty hack, if I would know in which config file the panel positions are stored, so I can hack around to get the navi panel docked again - then, I would just leave it there for the time being. Thanks.

digisus avatar Oct 29 '24 11:10 digisus

The file path is shown in the Debug settings.

pbek avatar Oct 29 '24 12:10 pbek

Today I was able to reproduce it on one machine (NixOS, Plasma6, Qt6, Wayland). But I don't know why I could reproduce it here only (I have nvidia here) and I don't know what I should do about it. Looks like a Qt issue. 🤔

pbek avatar Feb 22 '25 13:02 pbek

25.2.9

  • There now is a new action in the Window menu to reattach all floating panels in case they can't be reattached manually anymore (for #3109)

There now is a new release, could you please test it and report if it works for you?

pbek avatar Feb 23 '25 13:02 pbek

@pbek Hi, thank you for this feature, I wonder what exact of QT you are on for your test but on my side since update to KDE 6.2.5 QT 6.8.1 on Fedora 41 I do not have the issue anymore.

The provided feature works well and should help other users experiencing this situation.

@digisus ; are you still experiencing the situation after updating QT?

joomlafun avatar Feb 27 '25 19:02 joomlafun

Qt 6.8.2, but I only had the issue with the Nvidia GPU, not on the system with the AMD GPU. ️🤷🏻

pbek avatar Feb 27 '25 19:02 pbek

Thanks for looking into this again...

I am on QON v25.2.9 now (with Qt 5.15.5 on a Debian GNU/Linux trixie/sid).

I still can not re-attached dettached panels, but I can see the new menu item under "Window" and it works to re-attach the panels!

So, thanks for that. 👍

digisus avatar Feb 28 '25 13:02 digisus