gala icon indicating copy to clipboard operation
gala copied to clipboard

Window switcher shadow persists until overdrawn, after latest updates

Open activey opened this issue 2 years ago • 8 comments

What Happened?

I've found two issues:

  1. When you have at least two windows open and there is a desktop background visible between them and you hit alt-tab then some strange artifacts are present after switcher disappears, please see the video attached,
  2. I quite often make use of keyboard shortcuts for tiling windows either to left or right. When you use alt-tab this function stops working until you change focus to other window or display multitasking view.

Steps to Reproduce

  1. Open at least two windows
  2. Make sure there is a space between so you can see the desktop background
  3. Hit alt-tab and observe strange shadow artifacts on the screen
  4. Now you can't also tile windows with predefined shortcuts until you change window focus by hand

https://user-images.githubusercontent.com/1751891/177555670-31105413-80f6-417c-84dc-0fea0817b011.mp4

Expected Behavior

No artifacts should be present and window tile shortcuts should work as expected after using alt-tab.

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

activey avatar Jul 06 '22 12:07 activey

It's related partially to this one: https://github.com/elementary/gala/issues/1401. This bug exists for over 3 months now...

activey avatar Jul 06 '22 18:07 activey

As for the first point regarding strange artifacts, I guess it could be related somehow to this issue. It still persists in eOS 6.1 (and it's very irritating). Waiting for OS 7.

ded-ared avatar Jul 07 '22 06:07 ded-ared

@activey You can use https://github.com/small-tech/catts This solves this issue. This artifact is a part of Gala Alt+Tab and does not seem to be fixed soon. HAHA.

fayjie92 avatar Jul 12 '22 20:07 fayjie92

The shadow also persists when moving a PIP window around so seems to be related to certain window types rather than the window switcher specifically.

jeremypw avatar Jul 13 '22 15:07 jeremypw

Just FYI I can reproduce it even if there is no gap between the windows. In fact I see it all the time with maximized and overlapping windows, too.

About point 2. - you can also get the shortcuts back by pressing Super twice (at least it works in my case - it quickly shows the keyboard shortcuts overview).

janxkoci avatar Jul 19 '22 09:07 janxkoci

@janxkoci yeah, shorcuts are back when you for example move the window by "hand", but still, this is way annoying :P

activey avatar Jul 19 '22 12:07 activey

@activey alright, although I prefer to press some key rather than reach for a mouse...

janxkoci avatar Jul 19 '22 12:07 janxkoci

i have the same issue with gala in fedora 36.

is there some way to disable drop shadow in gala ?

JSN-1 avatar Aug 11 '22 23:08 JSN-1

Is any update on this problem? I can reproduce this problem in OS 7 too. Instead of elementary OS alt tab, the catts should be shipped by default in elementary os 7. (As a gala plugin). Catts does not produce this artifact in alt-tab switcher in any version of gala.

ghost avatar Dec 11 '22 00:12 ghost

@arfayjie it probably wont happen soon as there are more important matters like selecting folders with a single click: https://blog.elementary.io/updates-for-november-2022/

activey avatar Dec 11 '22 08:12 activey

@activey this is an annoying bug. Hard to use elementary if such bugs persist. It’s been more than 6 months. And it is the same for OS 7. How elementary team can ignore such bugs which should get the maximum attention. They can atleast ship catts until they fix it.

ghost avatar Dec 11 '22 11:12 ghost

@arfayjie tell me about it...

activey avatar Dec 11 '22 12:12 activey

Hey guys, please understand that you're spamming everybody that's interested in this issue.

@arfayjie it probably wont happen soon as there are more important matters like selecting folders with a single click: https://blog.elementary.io/updates-for-november-2022/

Please also understand that someone who likes working on Files for example might not enjoy and/or have the expertise to work on Gala. Most of this happens in people's free time.

And then ask yourself, what have I contributed?

peteruithoven avatar Dec 11 '22 12:12 peteruithoven

@peteruithoven, you have misunderstood my comment then. And also this is not a question to ask myself, what have I contributed? I have more contributions towards research than an operating system. Elementary OS claims to be user friendly mac and windows alternative. And there are some minimum requirements for a user to use it. It’s really an important issue. But I also provided the solution. Catts plugin doesn’t create this issue at all. Elementary os can ship it by default. That was what I meant. I understand people work on free time. So, why do we need to reinvent the wheel? If we already have a working solution.

ghost avatar Dec 11 '22 14:12 ghost

Elementary os can ship it by default. That was what I meant. I understand people work on free time. So, why do we need to reinvent the wheel? If we already have a working solution.

@arfayjie Great idea! In fact, it already has been done: https://github.com/small-tech/catts#catts-is-now-part-of-elementary-os.

Unfortunately, this issue is a bit more deeper, and hasn't been fully chased down yet. I agree that the issue is frustrating, but we don't have much to gain by complaining that something takes a long time to resolve. Additional logs, recordings, and screenshots would be much more helpful and constructive. That way we can further diagnose and hopefully resolve the issue!

kgrubb avatar Dec 12 '22 20:12 kgrubb

@kgrubb I got your point. That’s true. Actually I was trying to give some input here. I didn’t check the logs yet. But this is what I found so far.

If you use catts and install it as gala plugin then you don’t see the artifacts. So what I can conclude is that the way it is implemented in elementary os is the starting point for debugging.

May be @davidmhewitt @danirabbit would know it better. I will add some screenshots (or may be screen recording soon).

ghost avatar Dec 12 '22 22:12 ghost

We already know what the bug looks like. Which logs do you think we should provide to help move this forward?

janxkoci avatar Dec 13 '22 12:12 janxkoci

:heart_eyes:

activey avatar Dec 21 '22 15:12 activey