Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0 Alpha
-
Ubuntu 13.04; gtk-window-decorator; qt-creator stealing focus through breakpoint
-
32341e8ef85f593358db47b3ea58875708f24cda (qtbase/5.5, 23.4.2015, 5.5)
Description
If application never receives mouse events, but widget is hovered when another application had stolen focus, application tries to convert uninitialized last cursor position from floating point coordinate to integer.
Reproducing with attached example:
1. set break point to lambda function
2. move cursor to position where window would open
3. start in debug mode and wait
4. breakpoint is hit -> continue (F5)
-> Application should crash with SIGFPE
Alternatively:
- Place app window over console
- Move mouse into area where console and window overlap
- Start app
- ALT-Tab to console
Attachments
For Gerrit Dashboard: QTBUG-45501 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
110149,1 | Make sure to not use uninitialized QPointF | 5.5 | qt/qtbase | Status: ABANDONED | -1 | 0 |
111017,6 | Fix FPE in QApplicationPrivate::dispatchEnterLeave() due to invalid cursor position. | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 |