You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!nativeCursorRect.intersects(windowGeometry)) {
if (nativeCursorRect.right() < windowGeometry.left()) {
nativeCursorRect.setLeft(windowGeometry.left());
nativeCursorRect.setWidth(1);
}
if (nativeCursorRect.left() > windowGeometry.right()) {
nativeCursorRect.setLeft(windowGeometry.right());
nativeCursorRect.setWidth(1);
}
if (nativeCursorRect.bottom() < windowGeometry.top()) {
nativeCursorRect.setTop(windowGeometry.top());
nativeCursorRect.setWidth(1);
}
if (nativeCursorRect.top() > windowGeometry.bottom()) {
nativeCursorRect.setTop(windowGeometry.bottom());
nativeCursorRect.setWidth(1);
}
}
I think the 3rd & 4th setWidth should be changed to setHeight. Otherwise, the height is possibly set to zero, causing the crash of LibreOffice bug 160275.
The text was updated successfully, but these errors were encountered:
fcitx5-qt/qt5/platforminputcontext/fcitxcandidatewindow.cpp
Lines 514 to 531 in 24c7dfc
I think the 3rd & 4th
setWidthshould be changed tosetHeight. Otherwise, the height is possibly set to zero, causing the crash of LibreOffice bug 160275.The text was updated successfully, but these errors were encountered: