Recently while trying to install Ubuntu 20.04LTS on dual boot with Windows, I encountered some weird behavior regarding 'Gparted' and the built-in 'Disks' apps. Initially, the Ubuntu installer didn't pick up any of my drives during Live CD. I then rebooted into Live CD, however this time only my primary drive was detected. The installer detected Windows on it and I proceeded to have it install onto that drive. Installation done, I boot into Ubuntu, and to my surprise the system has actually installed on my secondary drive.
I didn't care too much about that, however I only had 13GB of space available to Ubuntu. After cleaning up files from Windows, it was time to shrink Window's partition to allow more space for Ubuntu. This is where the main issue is. GParted and Disks both freeze at one point without any message and display as "working" infinitely.
After trying multiple times to resize Window's partition, I received an error: https://imgur.com/a/pngPrxu. The Windows partition I am trying to resize is not the partition Windows is installed in, it's just there for more space.
Hardware Info:
Laptop: MEDION Erazer P6679 MD60933
BIOS-Mode: EFI (/boot/efi exists)
CPU: Intel Core i5-7200U
Memory: 16GiB DDR3
Motherboard: MEDION D15KHN
Graphics: HD Graphics 620 & GeForce GTX 950M