-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override-redirect windows that are strictly contained in their parents should have no border #6256
Comments
It’s hard to tell from the screenshot, but it looks like these decorations are from the GUI daemon. In that case, this is working as intended, as the borders are used to indicate trust. That said, the user experience is poor. Wayland might fix this, as I am not sure if Wayland clients abuse windows the way X Window System clients do. |
I've seen similar things when running MS Office (but not any other windows application) through wine, so it's rather specific to MS Office not just FreeRDP. I guess it tries to draw some fancy shadows that technically are implemented as separate windows and thus gets forced colorful borders. |
Maybe we can add some heuristic on gui-agent side to ignore those specific "windows"? |
Apparently they are from GUI daemon indeed (the effect is similar in any case: wine, freerdp or seamless mode). But it does not explain why it leaves artifacts on all virtual desktops. It would be great to have some workaround for this bug. |
It kind of does. This uses override-redirect window type that is not controlled by window manager, and so is not affected by the workspace switch. This is yet another case of #4705 (although here it is "just" UX issue, not security one). |
could be a quick fix be implemented on freerdp's side? |
maybe? I think it does have all the needed data to exclude such windows. |
I would prefer to fix this on the FreeRDP side, rather than the GUI daemon side. FreeRDP has more information about this, and is also already a more complex piece of software anyway. |
It turns out that the exact opposite is the case: even mundane Wayland clients (such as Firefox) make heavy use of surfaces. Therefore, fixing this problem in the GUI daemon is a hard requirement for Wayland support. While in theory this could be solved in the GUI agent, this would result in a substantial performance hit: compositing in the GUI agent happens on the CPU, while compositing in the GUI daemon happens on the GPU, which is faster and uses much less power. |
|
Turns out that child windows are useless for Wayland, or just about anything else for that matter. Instead, the Wayland compositor will do the compositing in software. @marmarek NACK’d hardware accelerating it using the RENDER extension. |
This comment was marked as outdated.
This comment was marked as outdated.
Not fixed. |
Qubes OS version
4.0
Affected component(s) or functionality
GUI lxde window decorations
Brief summary
Due to "hardwired" window decorations (which you may see as a security feature) MS Office windows get mis-rendered
How Reproducible
Always
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Normal window frame around the whole window
Actual behavior
A lot of weird, thin, misplaced window frames around random GUI elements.
Screenshots
Additional context
I initially reported this as freerdp bug, but apparently, it is a Qubes issue
Solutions you've tried
/gdi:sw
+aero
-decorations
turning ms office hardware graphics acceleration off
possibly related:
#6199
The text was updated successfully, but these errors were encountered: