Window-minimisation animations switching their “focal point” after connecting the second screen

To get it out of the way, here’s the inxi:

$ inxi --admin --verbosity=7 --filter --no-host --width
System:
  Kernel: 5.10.61-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=628f24a1-5443-4159-99a5-4a1e4dfaa518 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: LENOVO product: 81HE v: Lenovo Legion Y740-15ICHg 
  serial: <filter> Chassis: type: 10 v: Lenovo Legion Y740-15ICHg 
  serial: <filter> 
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN serial: <filter> 
  UEFI: LENOVO v: AVCN22WW(V1.12) date: 07/20/2020 
Battery:
  ID-1: BAT1 charge: 54.2 Wh (100.0%) condition: 54.2/57.0 Wh (95.1%) 
  volts: 13.0 min: 11.5 model: SMP L17M3PG2 type: Li-ion serial: <filter> 
  status: Full cycles: 18 
  ID-2: hidpp_battery_0 charge: N/A condition: N/A volts: 3.9 min: N/A 
  model: Logitech G903 Wired/Wireless Gaming Mouse type: N/A serial: <filter> 
  status: Discharging 
Memory:
  RAM: total: 15.55 GiB used: 6.25 GiB (40.2%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCP 
  arch: Kaby Lake note: check family: 6 model-id: 9E (158) stepping: A (10) 
  microcode: EA cache: L2: 9 MiB bogomips: 52815 
  Speed: 900 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 
  4: 900 5: 900 6: 900 7: 900 8: 900 9: 900 10: 900 11: 900 12: 900 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art 
  avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid 
  cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est 
  f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window 
  hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm 
  mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat 
  pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts 
  rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 
  sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust 
  tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt 
  xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA TU106BM [GeForce RTX 2060 Mobile] vendor: Lenovo 
  driver: nvidia v: 470.63.01 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 
  chip-ID: 10de:1f51 class-ID: 0300 
  Device-2: Chicony Integrated Camera (1280x720@30) type: USB driver: uvcvideo 
  bus-ID: 1-7:6 chip-ID: 04f2:b604 class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: 
  loaded: nvidia display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 3520x1080 s-dpi: 96 s-size: 932x286mm (36.7x11.3") 
  s-diag: 975mm (38.4") 
  Monitor-1: DP-4 res: 1920x1080 hz: 144 dpi: 142 size: 344x194mm (13.5x7.6") 
  diag: 395mm (15.5") 
  Monitor-2: DP-6 res: 1600x900 hz: 60 dpi: 113 size: 360x250mm (14.2x9.8") 
  diag: 438mm (17.3") 
  OpenGL: renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2 
  v: 4.6.0 NVIDIA 470.63.01 direct render: Yes 
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel 
  v: kernel alternate: snd_soc_skl,snd_sof_pci bus-ID: 00:1f.3 
  chip-ID: 8086:a348 class-ID: 0403 
  Device-2: NVIDIA TU106 High Definition Audio vendor: Lenovo 
  driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:10f9 
  class-ID: 0403 
  Device-3: C-Media Q9-1 type: USB driver: hid-generic,snd-usb-audio,usbhid 
  bus-ID: 1-5:4 chip-ID: 0d8c:0135 class-ID: 0300 
  Sound Server-1: ALSA v: k5.10.61-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.34 running: yes 
Network:
  Device-1: Intel Cannon Lake PCH CNVi WiFi 
  vendor: Rivet Networks Killer Wireless-AC 1550i Wireless driver: iwlwifi 
  v: kernel bus-ID: 00:14.3 chip-ID: 8086:a370 class-ID: 0280 
  IF: wlp0s20f3 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Lenovo driver: r8169 v: kernel port: 3000 bus-ID: 3f:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp63s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  IF-ID-1: wg-mullvad state: unknown speed: N/A duplex: N/A mac: N/A 
  IP v4: <filter> scope: global 
  IP v6: <filter> scope: global 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB 
  driver: btusb v: 0.8 bus-ID: 1-14:7 chip-ID: 8087:0aaa class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 3 state: down bt-service: enabled,running 
  rfk-block: hardware: no software: yes address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 1.38 TiB used: 833.59 GiB (59.2%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital 
  model: PC SN720 SDAPNTW-512G-1101 size: 476.94 GiB block-size: 
  physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD 
  serial: <filter> rev: 10130001 temp: 44.9 C scheme: GPT 
  ID-2: /dev/sda maj-min: 8:0 vendor: Crucial model: CT1000MX500SSD1 
  size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  type: SSD serial: <filter> rev: 033 scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 204.8 GiB size: 200.59 GiB (97.94%) 
  used: 118.55 GiB (59.1%) fs: ext4 dev: /dev/sda3 maj-min: 8:3 label: N/A 
  uuid: 628f24a1-5443-4159-99a5-4a1e4dfaa518 
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) 
  used: 29 MiB (11.3%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  label: SYSTEM_DRV uuid: D48E-60B3 
  ID-3: /mnt/8EC28FE8C28FD2BF raw-size: 475.69 GiB size: 475.69 GiB (100.00%) 
  used: 189.31 GiB (39.8%) fs: ntfs dev: /dev/nvme0n1p3 maj-min: 259:3 
  label: Windows-SSD uuid: 8EC28FE8C28FD2BF 
  ID-4: /mnt/Data raw-size: 576.06 GiB size: 576.06 GiB (100.00%) 
  used: 481.57 GiB (83.6%) fs: ntfs dev: /dev/sda2 maj-min: 8:2 label: Data 
  uuid: 01D75132E5F5E0F0 
  ID-5: /mnt/Data2 raw-size: 150.64 GiB size: 147.21 GiB (97.73%) 
  used: 44.13 GiB (30.0%) fs: ext4 dev: /dev/sda4 maj-min: 8:4 label: Data 2 
  uuid: 708fcbc1-116d-49bb-9171-a77b48962022 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-2: /dev/nvme0n1p4 maj-min: 259:4 size: 1000 MiB fs: ntfs label: WINRE_DRV 
  uuid: D28E90838E9061B1 
  ID-3: /dev/sda1 maj-min: 8:1 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-1:2 info: Logitech USB Receiver type: Keyboard,Mouse,HID 
  driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 98mA chip-ID: 046d:c539 class-ID: 0300 
  Device-2: 1-4:3 info: Integrated Express ITE Device(8910) type: Keyboard 
  driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 048d:c936 class-ID: 0301 
  Device-3: 1-5:4 info: C-Media Q9-1 type: Audio,HID 
  driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 1.1 
  speed: 12 Mb/s power: 100mA chip-ID: 0d8c:0135 class-ID: 0300 
  Device-4: 1-6:5 
  info: Integrated Express Corsair Gaming K95 RGB PLATINUM Keyboard 
  type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0 
  speed: 12 Mb/s power: 100mA chip-ID: 048d:c935 class-ID: 0300 
  Device-5: 1-7:6 info: Chicony Integrated Camera (1280x720@30) type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 04f2:b604 class-ID: 0e02 serial: <filter> 
  Device-6: 1-14:7 info: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) 
  type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 8087:0aaa class-ID: e001 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-5: 5-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-6: 6-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 63.0 C mobo: N/A gpu: nvidia temp: 58 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 314 Uptime: 1h 45m wakeups: 6 Init: systemd v: 248 
  tool: systemctl Compilers: gcc: 11.1.0 Packages: 1509 pacman: 1505 lib: 439 
  flatpak: 0 snap: 4 Shell: Bash v: 5.1.8 running-in: yakuake inxi: 3.3.06 

I noticed a somewhat weird behaviour of my Plasma’s animations for minimising (and then reopening) windows, whenever I connect and/or disconnect a second screen. I’m currently using the “Magic Lamp” animation, but I noticed the same behaviour with the “Scale” animation.

Exact description of my observations:

  • When minimising a window, Plasma would play a little animation of the window disappearing into its respective spot.
  • Connecting a second screen whose desktop also contains a bottom panel (an Icons-only Task Manager), causes the “focal point” (for lack of a better word) to shift to that second screen’s bottom panel.
  • The minimising animation would now be played normally, however, the window would disappear into the second screen’s panel’s icon.
  • Disconnecting the second screen again, causes my Plasma to lose this “focal point” altogether and the “Scale” animation would no longer be played at all, while the “Magic Lamp” animation still works, but “sucks” the window into some seemingly random point on the top of the screen.
  • Everything is back to normal after a reboot.

Am I missing some setting here, or am I just experiencing a weird KDE Plasma bug?

Edit: Another thing that just came to mind and that I think I should mention is that this “issue” isn’t new. It was not caused by an update or by installing some weird package. It’s always been there as far as I can recall, I just never got around to asking.

Does this also happen in a newly created user? (I can’t test as I only have 1 monitor with 6 desktops)

If yes, please read this:

Especially the section What’s this Upstream / Downstream business? and file a bug upstream…

:crossed_fingers:

1 Like

I posted this stand-alone first, but I had meant to reply to you, so I deleted my previous post and posted it again:

Yes, it happens there as well, as soon as I add an Icons-only Task Manager to the second screen’s desktop. I wonder, though, if it happening for a newly created user is really useful information. If I suppose that some kind of default setting that I just don’t know about is causing it, wouldn’t I expect it to happen with any user?

Anyone who responds to your post is automatically informed of all replies. No deed to do that in the future, no apologies needed, just informing you. :innocent:

Yes, because that means it’s a bug in Plasma itself and not a weird combination of customizations that you did on your own user.

You know what to do now… File that bug upstream

Therefore, I’ve marked this answer as the solution to your question as it is by far the best answer you’ll get.

However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (If you disagree with my choice, just send me a personal message and explain why I shouldn’t have done this or :heart: or :+1: if you agree)

:innocent:
P.S. In the future, please don’t forget to come back to your question after your issue has been solved and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
Solution
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.

I would have come back to mark a solution, however, at the time of my second post, I still had a question and thus didn’t consider the topic solved then. Now, with your second reply, I can accept your answer as a solution and I’ll post the bug over at the KDE place. Thank you for your help, as always! :slight_smile:

1 Like

My apologies: as I see too many “unsolved” (which are really solved, just not marked as such) questions, I’m jumping the gun most of the times… :sob:

Someone has to do the cleanup! It’s all good, mate!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.