Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5
-
None
Description
A QDateTimeEdit or QDateEdit with calender pop-up enabled retains an invisible increment button.
Clicking anywhere in the 2px high area between frame and text behaves as the same as clicking the increment button.
Tested with windows-vista and fusion style.
How to reproduce:
- Create a new widget in Qt Designer.
- Add a QDateTimeEdit to the widget and enable calendar pop-up.
- Preview the form in windows-vista or fusion style.
- Click anywhere in the area highlighted in the screenshot. (roughly 2px high space between text and border)
No code required, but you can use this form:
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Form</class> <widget class="QWidget" name="Form"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>400</width> <height>300</height> </rect> </property> <property name="windowTitle"> <string>Form</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QDateTimeEdit" name="dateTimeEdit"> <property name="calendarPopup"> <bool>true</bool> </property> </widget> </item> </layout> </widget> <resources/> <connections/> </ui>
Attachments
Issue Links
- relates to
-
QTBUG-123387 Day and year unexpectedly changing while clicking on border of QDateEdit with selected text
- Reported
Gerrit Reviews
For Gerrit Dashboard: QTBUG-115464 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
492490,8 | Deactivate QSpinBox behavior in QDateTimeEdit when using calendar popup | dev | qt/qtbase | Status: NEW | 0 | 0 |