Skip to content
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

[1.11.22] transparent margins on window #332

Open
schildbach opened this issue Feb 3, 2023 · 27 comments
Open

[1.11.22] transparent margins on window #332

schildbach opened this issue Feb 3, 2023 · 27 comments

Comments

@schildbach
Copy link

schildbach commented Feb 3, 2023

Since v1.11.22, when I maximize Element Desktop to the left or right half of my screen, I get strange transparent margins on the window. See screenshot.
Screenshot from 2023-02-03 16-38-07
The purple area on the left is actually my desktop background. It can also be another app, if it happens to be there. The same issue is on the bottom of the window.
I'm on Ubuntu 22.04.01, Flatpak 1.12.7, all updates applied.

@schildbach schildbach changed the title [1.1.22] transparent margins on window [1.11.22] transparent margins on window Feb 3, 2023
@schildbach
Copy link
Author

I just noticed the margin is at the top too (visible in the screenshot even), only it's always white rather than transparent due to the window title background.

@schildbach
Copy link
Author

The borders actually seem to be window resize handles, according to the form of the mouse pointer when I hover over them. However the upper and lower margin don't resize anything, while the left margin actually seem to move the right window edge rather than the left.

@t3chguy
Copy link

t3chguy commented Feb 3, 2023

I just noticed the margin is at the top too (visible in the screenshot even), only it's always white rather than transparent due to the window title background.

What desktop environment are you using? Because https://flathub.org/apps/details/im.riot.Riot says

For GNOME, window decorations are currently missing and you'll have to use keyboard shortcuts instead to resize the window.

@schildbach
Copy link
Author

schildbach commented Feb 3, 2023

What desktop environment are you using?

Whatever comes with Ubuntu, so it's Gnome-ish I guess. I've not had troubles with window decorations in the past months though, other than the title being white rather than dark despite me having selected dark mode. And I was certainly able to resize the window with the mouse, and still can if I detach it from full screen mode.

By the way, the detached (non-fullscreen) mode is not affected by this issue.

@schildbach
Copy link
Author

schildbach commented Feb 3, 2023

I've got another Flatpak app (the Arduino IDE), and it's not affected by this issue.

@Torbuntu
Copy link

Torbuntu commented Feb 4, 2023

When I snap to the right side in GNOME:
Screenshot from 2023-02-04 08-07-50
If I go to the left the other side does it.
This is on Fedora Silverblue. I've not seen this with any other applications I'm using (including Arduino IDE ;) )

@SISheogorath
Copy link
Collaborator

This is probably related to some recent changes by #325 which was supposed to push wayland support.

@schildbach
Copy link
Author

This issue is still present on the .23 flatpak that was released today.

@schildbach
Copy link
Author

This issue is still present on the "second" .23 flatpak that was released today.

@LorbusChris
Copy link
Contributor

Is this happening under wayland or x11?

@schildbach
Copy link
Author

Is this happening under wayland or x11?

It's stock Ubuntu 22.04.2 LTS.

@develroo
Copy link

develroo commented Mar 4, 2023

Just want to add here. It happens on Version: 1.11.23 on Gnome (43.2) Wayland on Debian Testing.

It happens both in full screen and half screen modes.

Element-Desktop-Flatpak-problem

Element-flatpak-problem-2

@zevlee
Copy link

zevlee commented Mar 5, 2023

This appears to be a Wayland-specific issue. I revoked the Element flatpak's access to the wayland socket and the issue went away for me.

@LorbusChris
Copy link
Contributor

This should be fixed by #342

@schildbach
Copy link
Author

When will this fix be released to flathub? Element Web/Desktop 1.11.24 is now a week old, but the flatpak is still at .23.

@schildbach
Copy link
Author

This issue is still present on the 1.11.24 flatpak that was released today.

@develroo
Copy link

develroo commented Mar 8, 2023

This issue is still present on the 1.11.24 flatpak that was released today.

Hmm I am on 1.11.24
Element im.riot.Riot 1.11.24 stable flathub system

And I turned off X11 completely,
Screenshot from 2023-03-08 12-25-54

and it seems to work for me now.

@zevlee
Copy link

zevlee commented Mar 9, 2023

Like @schildbach I am still experiencing the same problem, even when I follow @develroo's suggestion and disable the X11 socket. The only thing that fixes the issue for me is to disable the wayland socket, as mentioned before.

@develroo
Copy link

develroo commented Mar 9, 2023

Odd. Well as I said I am on Debian Testing (Gnome 43) and Wayland Maybe it is specific to your distro ?

@LorbusChris
Copy link
Contributor

I cannot repro this on Fedora 37 either

@schildbach
Copy link
Author

This issue is still present on the second 1.11.24 flatpak that was released today.

@SISheogorath
Copy link
Collaborator

Given we have no stale bot, I think it's enough to mention when it no longer happens.

@develroo
Copy link

Well that sucks. It upgraded to 1.11.25 and now the transparent margins are back. What is going on here?

@CR0CKER
Copy link

CR0CKER commented Apr 14, 2023

I'm having the same issue on the latest PopOS with Element version 1.11.29

@LorbusChris
Copy link
Contributor

I'm now hitting this too on Fedora 38 in half-screen mode.

@develroo
Copy link

Yup still a thing on v 1.11.30 on Wayland Gnome 43 came back, dunno why?

@Torbuntu
Copy link

This is still an issue with the latest updates.
Fedora Silverblue Rawhide (f39)
Element Flatpak 1.11.36

None of the tinkering in flatseal with x11 sockets seemed to make any difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants