Bug 495423 - Right-Clicking in Dolphin and selecting "Properties" causes the window to jump and be redrawn.
Summary: Right-Clicking in Dolphin and selecting "Properties" causes the window to jum...
Status: RESOLVED DUPLICATE of bug 494627
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.2.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-27 11:55 UTC by opensourcedonations
Modified: 2024-12-20 00:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Demonstration, blurred for privacy reasons. (149.95 KB, video/mp4)
2024-12-10 18:26 UTC, johnd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description opensourcedonations 2024-10-27 11:55:07 UTC
SUMMARY


STEPS TO REPRODUCE
1.  Right-click on a folder in Dolphin and clicking on Properties, causes the window to move to it's default position and be redrawn
2. This only happens with folders...files behave normally.
3. 

OBSERVED RESULT

Dolphin is moves to its initial default position. Plasma by default has it set to open in the center of the screen. However I have tried other modes and that result is replicated. If you go to Settings -> Window Management -> Advanced -> Window Placement, and select maximized: right-click and choosing properties causes the property window and Dolphin to be maximized.

EXPECTED RESULT

You expect Dolphin not to move and the Properties window to be drawn over/next to the folder whose properties you want to see.

Seeing properties of a file, produces the expected result for me.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Endeavour OS
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
Comment 1 johnd 2024-12-10 18:26:26 UTC
Created attachment 176497 [details]
Demonstration, blurred for privacy reasons.

I would like to confirm this issue. At first Wayland session was my prime suspect, but it turns out that X11 is affected as well.
Dolphin window snaps to center of screen when going to file properties from right click context menu, child window doesn't seem affected.
It appears to happen on first try only, doing it second time doesn't move Dolphin window. To trigger again reopen Dolphin.

Only directories trigger this bug, same as in OP.

Here are logs from starting dolphin via terminal and opening folder properties:

kf.kio.core: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields
kf.kio.core.connection: Socket not connected QLocalSocket::PeerClosedError
kf.kio.core: An error occurred during write. The worker terminates now.
kf.kio.core.connection: Socket not connected QLocalSocket::PeerClosedError
kf.kio.core: An error occurred during write. The worker terminates now.
qrc:/org.kde.filesharing.samba/qml/UserPage.qml:53:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/org.kde.filesharing.samba/qml/UserPage.qml:32:5: QML ChangePassword: Binding loop detected for property "implicitHeight":
file:///usr/lib/qt6/qml/org/kde/kirigami/templates/OverlaySheet.qml:132:5



My root is on ZFS if it matters in any way.

Operating System: Arch Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Kernel Version: 6.6.63-tkg-eevdf (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 62.4 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XT
Comment 2 johnd 2024-12-12 18:42:16 UTC
Tested on neon-testing-20241203-0033.iso and neon-unstable-20241209-2356.iso
Both are unaffected, furthermore there are errors in terminal when doing same test of launching through dolphin. I will see what I can do about those terminal errors.
Comment 3 S. Christian Collins 2024-12-20 00:21:54 UTC

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