diff options
author | Sami Merila <sami.merila@nokia.com> | 2011-04-14 09:01:01 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2011-04-14 09:01:01 (GMT) |
commit | c156280a637abd6acb3894723a9e21ba2abc8fb8 (patch) | |
tree | 00df7cde7269a69a8dd57749046370f02ca742d0 /src/gui/painting/qwindowsurface_x11_p.h | |
parent | a5898f33f215ff2ac333be61306a47ca162b2104 (diff) | |
download | Qt-c156280a637abd6acb3894723a9e21ba2abc8fb8.zip Qt-c156280a637abd6acb3894723a9e21ba2abc8fb8.tar.gz Qt-c156280a637abd6acb3894723a9e21ba2abc8fb8.tar.bz2 |
Splitview: opening a context menu should not re-position of focusItem
When splitview is open and user long taps an text input item,
a context menu is opened. This leads to some drawing operations on
splitview implementation, even though these should be skipped.
The focusItem might even be re-positioned into incorrect position
due to the failure.
As a fix, check if the focusItem is already positioned correctly
and avoid doing anything when it already is.
Task-number: QTBUG-18738
Reviewed-by: Guoqing Zhang
Diffstat (limited to 'src/gui/painting/qwindowsurface_x11_p.h')
0 files changed, 0 insertions, 0 deletions