I am also seeing the same behavior (parts won’t drop) and messages identical to these (I can run wires but not drop components)
I am running Fedora 31 (with qt5-qtbase-5.13.2-2.fc31.x86_64 installed). I used the OS Software library tool to install Fritzing 0.9.2b-19.fc31. I know how to install from source, but I just wanted to a quick scribble-up of a breadboard and a couple of CMOS ICs and didn’t want to go through the entire from-scratch process.
Since I see numerous messages about Wayland and I see at least one other poster here is running Fedora 31, I have to wonder about Qt and Wayland compatibility issues here.
Here’s a stdout capture from my session where I started Fritzing, opened a new project, then tried to place a resistor and one IC (Atmel processor).
QSocketNotifier: Can only be used with threads started with QThread
libpng warning: iCCP: known incorrect sRGB profile
[ message repeats 27 times ]
QWaylandShmBuffer: mmap failed (Invalid argument)
[ message repeats 274 times ]
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
QWaylandShmBuffer: mmap failed (Invalid argument)
[ message repeats 19 times ]
libpng warning: iCCP: known incorrect sRGB profile
Hundreds of mmap failures in less than 30 seconds.
The error message is likely coming from here…
https://code.qt.io/cgit/qt/qtwayland.git/tree/src/client/qwaylandshmbackingstore.cpp
// map ourselves: QFile::map() will unmap when the object is destroyed,
// but we want this mapping to persist (unmapping in destructor)
uchar *data = (uchar *)
mmap(nullptr, alloc, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
if (data == (uchar *) MAP_FAILED) {
qErrnoWarning("QWaylandShmBuffer: mmap failed");
return;
}
It works if I run Fritzing as root:
$ sudo Fritzing
libpng warning: iCCP: known incorrect sRGB profile
[ and only the libpng warning, none of the Wayland messages ]