John Preston
d28afffcb9
Workaround menu click-through on macOS 14.1.
2023-11-07 12:39:17 +04:00
Ilya Fedin
ea4c67408e
Revert "Workaround Wayland popup menu bug."
...
This reverts commit 8db6dcf125 .
2023-09-26 12:11:33 +04:00
Ilya Fedin
19d044a212
Move TitleControlsLayout from ui_platform_utility to ui_platform_window_title
2023-07-19 14:42:06 +04:00
John Preston
8db6dcf125
Workaround Wayland popup menu bug.
...
When hiding a child popup first the app receives ApplicationDeactivate
event and in a short time (a couple of ms) ApplicationActivate.
But the first event hides all popups, so the parent popup gets closed too.
Delay handling of ApplicationDeactivate event in this specific case.
2023-07-12 22:05:12 +04:00
Ilya Fedin
6abad69ca6
Cache title controls layout value
...
So it's not requested on every window width change and etc...
2023-07-04 15:44:46 +04:00
John Preston
c4838f5899
Fix native pointers staleness in macOS RpWindow.
2023-02-14 19:39:24 +04:00
Ilya Fedin
a56831e8d0
Fix deprecated declarations warnings on macOS
2023-02-13 16:57:35 +04:00
Ilya Fedin
549edbe5c7
Make DisableSystemWindowResize consistent with getting winId on macOS
2022-06-02 14:30:18 +04:00
Ilya Fedin
a812ae65a4
Get rid of private QHighDpi usage
2022-06-02 14:30:18 +04:00
John Preston
f17320171a
Allow disabling system resize for a window on macOS.
2022-03-08 18:17:39 +04:00
Ilya Fedin
64e40913df
Use new Qt 6 adapters
2021-10-19 19:28:45 +04:00
John Preston
e9fcbfcbac
Remove 'StartTranslucentPaint'.
2021-05-18 17:04:45 +04:00
John Preston
eb768c8c4b
Add IsOverlapped implementation for macOS.
2021-04-20 16:47:09 +04:00
Ilya Fedin
50a0e7da64
Add IsOverlapped method
2021-04-20 15:35:31 +03:00
Ilya Fedin
6500dc9610
Qt-based title widget ported from tdesktop
2021-02-04 18:12:14 +04:00
John Preston
d4c99701b5
Fix deprecation warnings on Qt 5.15.1.
2020-11-04 18:44:45 +03:00
John Preston
83fada4675
Fix separate panels transparent background.
...
Regression was introduced with migration to Qt 5.12.8.
2020-05-05 13:51:40 +04:00
John Preston
730816ef52
Move on-top panel one level below on macOS.
2020-03-25 13:23:31 +04:00
John Preston
33ea14969e
Use StartTranslucentPaint only on OpenGL widgets on macOS.
2020-01-29 18:54:25 +03:00
John Preston
bbd35238da
Don't force floating panel.
...
In case of StaysOnTop windows it looks like it is floating already.
But in case of manually setting floating here it has a strange bug
with non-activatable always on top tool window (picture-in-picture).
When first time shown it doesn't act as a stays-on-top window, if you
click on another app it is shown above the PiP. Only if you activate
the main window once more the PiP will become stays-on-top window.
This way it works from the first show.
2020-01-29 18:02:17 +03:00
John Preston
0f0fd6a94f
Use non-libdispatch queues in Mac App Store build.
2020-01-23 13:13:54 +03:00
John Preston
26e6a3050c
Allow non-activatable window on Windows.
2020-01-07 15:16:00 +03:00
John Preston
187df62e9d
Support nice Ui::Window under macOS.
2019-09-26 09:53:57 +03:00
John Preston
d5c9ad77a9
Support nice Ui::Window under Windows.
2019-09-26 09:53:57 +03:00