Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.5.0
-
None
-
Windows 7 64-bit. Output of qtdiag, minus irrelevant parts:
{noformat}
Qt 5.5.0 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2013) on "windows"
OS: Windows 7 [winnt version 6.1.7601]
Architecture: x86_64; features: SSE2 SSE3
Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable
Style hints:
mouseDoubleClickInterval: 500
mousePressAndHoldInterval: 800
startDragDistance: 10
startDragTime: 500
startDragVelocity: 0
keyboardInputInterval: 400
keyboardAutoRepeatRate: 32
cursorFlashTime: 1060
showIsFullScreen: 0
passwordMaskDelay: 0
passwordMaskCharacter: U+25CF
fontSmoothingGamma: 1.2
useRtlExtensions: 0
setFocusOnTouchRelease: 0
tabFocusBehavior: Qt::TabFocusBehavior(TabFocusAllControls)
Theme:
Styles: WindowsVista,WindowsXP,Windows System font: "MS Shell Dlg 2" 8
General font : "MS Shell Dlg 2" 8
Fixed font : "Courier New" 9
Title font : "MS Shell Dlg 2" 8
Smallest font: "MS Shell Dlg 2" 8
Native file dialog
Screens: 1
# 0 "\\.\DISPLAY1" Depth: 32 Primary: yes
Geometry: 1920x1080+0+0 Available: 1920x1050+0+0
Physical size: 677x381 mm Refresh: 60 Hz
Physical DPI: 72.0355,72 Logical DPI: 96,96
DevicePixelRatio: 1 Primary orientation: 2
Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
Dynamic GL LibGL Vendor: NVIDIA Corporation
Renderer: GeForce GTX 570/PCIe/SSE2
Version: 4.5.0 NVIDIA 353.30
Shading language: 4.50 NVIDIA
Format: Version: 4.5 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Depth buffer: 24 Stencil buffer: 8
GPU:
Card name: NVIDIA GeForce GTX 570
Driver Name: nvd3dum.dll
Driver Version: 10.18.13.5330
Vendor ID: 0x10DE
Device ID: 0x1086
SubSys ID: 0x-7C78EFBD
Revision ID: 0x00A1
{noformat}Windows 7 64-bit. Output of qtdiag, minus irrelevant parts: {noformat} Qt 5.5.0 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2013) on "windows" OS: Windows 7 [winnt version 6.1.7601] Architecture: x86_64; features: SSE2 SSE3 Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable Style hints: mouseDoubleClickInterval: 500 mousePressAndHoldInterval: 800 startDragDistance: 10 startDragTime: 500 startDragVelocity: 0 keyboardInputInterval: 400 keyboardAutoRepeatRate: 32 cursorFlashTime: 1060 showIsFullScreen: 0 passwordMaskDelay: 0 passwordMaskCharacter: U+25CF fontSmoothingGamma: 1.2 useRtlExtensions: 0 setFocusOnTouchRelease: 0 tabFocusBehavior: Qt::TabFocusBehavior(TabFocusAllControls) Theme: Styles: WindowsVista,WindowsXP,Windows System font: "MS Shell Dlg 2" 8 General font : "MS Shell Dlg 2" 8 Fixed font : "Courier New" 9 Title font : "MS Shell Dlg 2" 8 Smallest font: "MS Shell Dlg 2" 8 Native file dialog Screens: 1 # 0 "\\.\DISPLAY1" Depth: 32 Primary: yes Geometry: 1920x1080+0+0 Available: 1920x1050+0+0 Physical size: 677x381 mm Refresh: 60 Hz Physical DPI: 72.0355,72 Logical DPI: 96,96 DevicePixelRatio: 1 Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0 Dynamic GL LibGL Vendor: NVIDIA Corporation Renderer: GeForce GTX 570/PCIe/SSE2 Version: 4.5.0 NVIDIA 353.30 Shading language: 4.50 NVIDIA Format: Version: 4.5 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Depth buffer: 24 Stencil buffer: 8 GPU: Card name: NVIDIA GeForce GTX 570 Driver Name: nvd3dum.dll Driver Version: 10.18.13.5330 Vendor ID: 0x10DE Device ID: 0x1086 SubSys ID: 0x-7C78EFBD Revision ID: 0x00A1 {noformat}
Description
The popup of a QComboBox is not rendered when the window contains a QOpenGLWidget and is running in full screen mode. The QComboBox can be clicked, and goes to its "pressed" state on doing so, but the list of items is not drawn.
Minimal reproduction (see attachment for example project):
- Create a Qt Widgets application.
- Add both a QOpenGLWidget and a QComboBox to the central widget (layout doesn't matter).
- Add a couple of items to the combo box.
- Launch the main window in full screen mode.
- Click the combo box.
Expected result: The list of items of the combo box is shown.
Actual result: The list of items is not shown.
Additional notes:
- If the QOpenGLWidget is replaced with a regular QWidget, the problem does not occur.
- If the same application is executed in windowed mode, the problem does not occur.
- While the popup is not drawn, it is still possible to scroll through its elements using the keyboard. In addition, if you click on the location where the items would otherwise be, they are still selected. In short, it appears that everything is working save for the actual rendering.
- If I try to make a screenshot of the problem (using PrintScreen on Windows), the problem is not visible in the screenshot.
Attachments
Issue Links
- duplicates
-
QTBUG-41883 Windows: main menu no more active when in fullscreen with qopenglwidget
- Closed