Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.1
-
None
-
OS X Yosemite 10.10.2, Qt 5.4.1, Qt 5.3.2
Description
On Mac OS X when ComboBox is located at the bottom of screen and it's dropdown doesn't fit on the screen, it's moved to the top of the window.
If the window is maximized, it's shrunk to zero size.
Not reproduced consistently. If the behavior is not observed, try stretching the window by hand to occupy the entire screen without using Maximize button, or moving the window a few pixels up or down.
Works correctly on Windows.
Attached is the test project.
import QtQuick 2.3 import QtQuick.Controls 1.2 ApplicationWindow { visible: true visibility: "Maximized" width: 640 height: 480 title: qsTr("Hello World") ComboBox { anchors.bottom: parent.bottom model: ListModel { ListElement { name: "Line one" } ListElement { name: "Line two" } ListElement { name: "Line three" } ListElement { name: "Line four" } ListElement { name: "Line five" } } textRole: "name" } Text { text: qsTr("Hello World") anchors.centerIn: parent } }