|
69 | 69 | - [Dock Widget Size / Minimum Size Handling](#dock-widget-size--minimum-size-handling)
|
70 | 70 | - [Styling](#styling)
|
71 | 71 | - [Disabling the Internal Style Sheet](#disabling-the-internal-style-sheet)
|
| 72 | +- [Using ADS on Linux](#using-ads-on-linux) |
| 73 | + - [Supported Distributions](#supported-distributions) |
| 74 | + - [Requirements](#requirements) |
| 75 | + - [Manjaro xfce 25.0.1 and Xubuntu 24.04.2 issues](#manjaro-xfce-2501-and-xubuntu-24042-issues) |
72 | 76 |
|
73 | 77 | ## Configuration Flags
|
74 | 78 |
|
@@ -953,3 +957,36 @@ just call the function for settings the stylesheet with an empty string.
|
953 | 957 | DockManager->setStyleSheet("");
|
954 | 958 | ```
|
955 | 959 |
|
| 960 | +## Using ADS on Linux |
| 961 | +
|
| 962 | +### Supported Distributions |
| 963 | +
|
| 964 | +Unfortunately, there is no such thing as a Linux operating system. Linux is a heterogeneous environment with a variety of different distributions. So it is not possible to support "Linux" like it is possible for Windows. It is only possible to support and test a small subset of Linux distributions. The library can be compiled for and has been developed and tested with some Linux distributions. Depending on the used window manager or compositor, dock widgets |
| 965 | +with native title bars are supported or not. If native title bars are not supported, |
| 966 | +the library switches to `QWidget` based title bars. |
| 967 | +
|
| 968 | +- **Kubuntu 18.04 and 19.10** - uses KWin - no native title bars |
| 969 | +- **Ubuntu 18.04, 19.10 and 20.04** - native title bars are supported |
| 970 | +- **Ubuntu 22.04** - uses Wayland -> no native title bars |
| 971 | +
|
| 972 | +### Requirements |
| 973 | +
|
| 974 | +There are some requirements for the Linux distribution that have to be met: |
| 975 | +
|
| 976 | +- an X server that supports ARGB visuals and a compositing window manager. This is required to display the translucent dock overlays ([https://doc.qt.io/qt-5/qwidget.html#creating-translucent-windows](https://doc.qt.io/qt-5/qwidget.html#creating-translucent-windows)). If your Linux distribution does not support this, or if you disable this feature, you will very likely see issue [#95](https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/issues/95). |
| 977 | +- Wayland is not properly supported by Qt yet. If you use Wayland, then you should set the session type to x11: `XDG_SESSION_TYPE=x11 ./AdvancedDockingSystemDemo`. You will find more details about this in issue [#288](https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/issues/288). |
| 978 | +
|
| 979 | +Screenshot Kubuntu: |
| 980 | + |
| 981 | +
|
| 982 | +Screenshot Ubuntu: |
| 983 | + |
| 984 | +
|
| 985 | +### Manjaro xfce 25.0.1 and Xubuntu 24.04.2 issues |
| 986 | +
|
| 987 | +There is a known focus stealing issue with the xfce4 compositor reported in issue [#734]. This issue |
| 988 | +can be solved by enabling the setting **Activate focus stealing prevention**. `Settings > Window Manager Tweaks` has a tab called `Focus`. |
| 989 | +
|
| 990 | +Selecting `Activate focus stealing prevention` and `Do nothing` for `When a window raises itself`, seems to mitigate the issue. Deselecting `Enable display compositing` on the `Compositor` tab, also works. |
| 991 | +
|
| 992 | + |
0 commit comments