Qt-Nice-Frameless-Window icon indicating copy to clipboard operation
Qt-Nice-Frameless-Window copied to clipboard

Black bar instead of title bar on Intel Graphics when you have a QOpenGLWidget

Open vtronko opened this issue 5 years ago • 6 comments

frameless-bug

Black rectangle is just 50x50 QOpenGLWidget.

vtronko avatar Sep 12 '19 08:09 vtronko

What's more interesting, hitboxes are correct (it means it receives clicks exactly where it should) while painting is done with offset.

It's related to https://bugreports.qt.io/browse/QTBUG-40485?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&showAll=true

Is there any adhoc solution to workaround this?

There's an answer in closed https://github.com/Bringer-of-Light/Qt-Nice-Frameless-Window/issues/19 thread but it's not clear.

vtronko avatar Sep 12 '19 08:09 vtronko

I've been suffering from this as well. Any luck on your end on finding a solution @vtronko?

I've noticed resizing the window after this issue occurs fixes the offset. So I've been trying to figure out if I can trigger a windows event that forces a repaint or something.

What is very odd is I only see this if I move my app across monitors with the same level of text scaling. If they don't have the same level of text scaling, the offset does not occur.

JosephCoppola-FW avatar Mar 24 '20 16:03 JosephCoppola-FW

@JosephCoppola-FW no, I just implemented a fallback version for unsupported chipsets -_- Wasted too much time on this one

vtronko avatar Mar 24 '20 17:03 vtronko

Yeah this one is killing us a bit.

JosephCoppola-FW avatar Mar 25 '20 19:03 JosephCoppola-FW

Hei, is there any solution to this bug? How do you manage it?

MisterPascal avatar Jan 27 '21 14:01 MisterPascal

If anyone comes here again - you can find the bug and a solution here: https://bugreports.qt.io/browse/QTBUG-90701

MisterPascal avatar Jan 27 '21 23:01 MisterPascal