Weng Xuetian
f0bf41c71e
Also try to use the new qt 6.6 hidden window property to set the anchor.
...
So we don't neeed our own size calculation if we still need to use the
show hide trick (e.g. sway).
2023-11-01 07:46:46 -07:00
Weng Xuetian
21a12b892f
valid the cursor rect.
...
anchor rect may not like 0-size and non-intersect rect at all, e.g.
mutter.
2023-10-31 17:54:03 -07:00
Weng Xuetian
31e3eb2048
Fix the xdg popup position when CSD is used.
...
Tested with built-in decoration and qgnomeplatform decoration.
2023-10-31 16:51:32 -07:00
Weng Xuetian
c2c2db6bf2
Implement our own xdg_popup_reposition
...
A recently found bug that makes Qt6 not happy with the show/hide trick.
https://bugreports.qt.io/browse/QTBUG-118650
While I don't have a workaround for it, with Qt6 exposed xdg_popup
object, we can actually implement xdg_popup_reposition with our own
code, this will also eliminate the blinking caused by show/hide.
Fix #47
2023-10-31 14:29:12 -07:00
Weng Xuetian
cc645075dd
Use QRasterWindow instead of our own QWindow.
2023-10-31 10:59:59 -07:00
Weng Xuetian
932ab764aa
Implement new page button alignment option.
2023-04-20 00:07:20 -07:00
Weng Xuetian
be7ab2f085
Do not pass Qt::BypassWindowManagerHint under wayland.
...
This prevent wp_viewport to be used for window and render with wrong size.
See: 904b9d33dc/src/client/qwaylandwindow.cpp (L179)
Fix #38
2023-02-01 11:59:32 -08:00
Weng Xuetian
fbc5f69b74
Try to workaround inconsistency if QWidget focus proxy is used.
2022-11-22 17:21:58 -08:00
Weng Xuetian
afa0702500
Don't show input window for only empty preedit.
...
This make it consistent with gtk/classicui.
2022-09-08 16:17:13 -07:00
Weng Xuetian
97c70fc2ad
bump version
2022-06-01 17:31:23 -07:00
Weng Xuetian
8b44e5586f
Size 0 window should be invisible.
...
This may cause wayland protocol error on qt6.
2022-05-28 18:57:57 -07:00
Weng Xuetian
c720d2d39e
clean up unused variable.
2022-05-14 01:47:02 -07:00
Weng Xuetian
b8de507a70
Fix build for qt under 5.14
2022-04-07 23:30:02 -07:00
Weng Xuetian
c4b9f72e71
Add shadow margin to fcitx5-qt client side input panel
2022-04-07 23:23:44 -07:00
Weng Xuetian
aa5f259e2a
Fix #29
...
Use highlight color from fcitx theme in client side input window,
instead of Qt.
2022-02-07 10:10:47 -08:00
Weng Xuetian
a0b69445cc
Ensure paging button is handled before candidate.
2022-01-20 11:58:50 -08:00
Weng Xuetian
62650f4534
Implement InvokeAction.
2021-11-23 17:44:02 -08:00
Weng Xuetian
4b05358dea
Use frameGeometry directly as screen geometry.
...
This fixes the border when CSD is being used.
2021-11-08 09:11:12 -08:00
Weng Xuetian
7e02796979
Fix vertical candidate list configured in theme.
2021-08-04 19:02:02 -07:00
Weng Xuetian
87197dad7f
Revert "Make it popup instead of tooltip."
...
This reverts commit d14a63d1fc
.
2021-06-25 08:39:59 -07:00
Weng Xuetian
d14a63d1fc
Make it popup instead of tooltip.
2021-06-01 22:59:27 -07:00
Weng Xuetian
bd2eebd4b7
Use fixed line height for candidate window.
...
fcitx/fcitx5#244
2021-03-15 16:47:16 -07:00
Weng Xuetian
de7648d57b
Try to fix #22
...
Decouple from ic data to candidate window.
candidate window is deleted via deleteLater, which means data may be
already deleted when availabilityChanged is emitted.
The signal should associate with icdata, instead of candidate window.
2021-03-05 08:03:04 -08:00
Weng Xuetian
58f60459d0
ensure we clear the ui upon fcitx exit and focus out.
2021-02-17 17:18:43 -08:00
Weng Xuetian
cee84a43d6
Fix typo in candidate highlight.
2021-02-16 17:42:57 -08:00
Weng Xuetian
eb4b3ed96b
Turn on QT_NO_KEYWORDS
2021-01-26 14:01:44 -08:00
Weng Xuetian
0cfe8f9bea
Make border color transparent as default.
2021-01-25 23:51:51 -08:00
Weng Xuetian
7f826b46ff
Add support for drawing cursor
2021-01-24 13:26:53 -08:00
Weng Xuetian
a1fb000621
Use the same logic from classicui for out of window positon.
2021-01-23 18:09:59 -08:00
Weng Xuetian
d22e9455d7
Add client side ui support for im module and dbusaddons
2021-01-21 20:52:06 -08:00