ricochet-im / ricochet

Anonymous peer-to-peer instant messaging
https://ricochet.im/
Other
3.72k stars 401 forks source link

UI: [Bug] Window doesn't rerender (linux) #524

Open Zwelf opened 7 years ago

Zwelf commented 7 years ago

When I minimize ricochet and maximize it again, only the borders of the window get rendered. So I only see the windows behind riochet, instead of the white background with my contact list. When I resize the window everything gets rerendered and I can see my contact list again.

Platform: linux x86_64 (arch) Desktop: i3 and kde5 Version: 1.1.4 Didn't test on other platforms.

tylernewnoise commented 7 years ago

I can confirm this. I use i3 as well. This is what happens in i3: I open ricochet in a workspace, everything looks fine. I switch to another workspace, I come back and in the ricochet window I only see the content of the last workspace. After resizing or switching the position of ricochet in it's workspace, the contact list and chat window is up again.

OS: archlinux x86.64 desktop: i3 (4.13) ricochet: 1.1.4 qt5-declarative 5.8.0 qt5-multimedia 5.8.0 qt5-quick1 5.7.1 qt5-quickcontrols 5.8.0

hasufell commented 7 years ago

same here, exherbo, i3, qt-5.8.0

rburchell commented 7 years ago

A patch that could be related to this: https://codereview.qt-project.org/#/c/186859/1

If anyone is capable of testing, that would be great.

special commented 7 years ago

If anyone can test that Qt patch, please do. Otherwise, as a workaround, you can do:

QMLSCENE_DEVICE=workaround ./ricochet

(where workaround is anything but empty).

I wonder if we need to come up with some smarter logic for deciding when to use the software renderer..

tylernewnoise commented 7 years ago

The workaround works for me. I'll try to have a look at the patch, but this may take some time...