[kwin] [Bug 448732] If windows were already visible and you click on Show Desktop, clicking on another app's icon in the taskbar doesn't bring said app forward

2022-01-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=448732

--- Comment #6 from guimarcalsi...@gmail.com ---
(In reply to Krešimir Čohar from comment #5)
> (In reply to guimarcalsilva from comment #4)
> > (In reply to Krešimir Čohar from comment #3)
> > > (In reply to Krešimir Čohar from comment #2)
> > > > I can confirm this bug on Plasma 5.23.5 using both latte and a plasma 
> > > > panel,
> > > > it brings into focus properly the window you clicked on only if it's
> > > > minimized. 
> > > > 
> > > > If the window isn't minimized, something strange happens - clicking on 
> > > > it
> > > > brings it to just below the window that was in focus before you trigger 
> > > > the
> > > > Show Desktop effect, and the focus remains on the window on top (the 
> > > > window
> > > > that was in focus before you triggered the effect).
> > > 
> > > I just tested it again and yes, it brings the focus back to the window 
> > > that
> > > was in focus before you triggered the effect. The window below is both 
> > > below
> > > (not on top) AND out of focus.
> > 
> > Yes. This happens. I noticed I can reliably reproduce the issue with
> > Chromium-based browsers (tested with Vivaldi and Chromium), but strangely
> > enough, it's working correctly for me with other apps.
> > 
> > Nate Grahan (or another developer), can you try reproducing the issue on
> > your end again but switching between a Chromium-based browser and another
> > app? If you click on a browser window that is already visible you should see
> > it doesn't get brought forward like other apps.
> 
> On my end, the bug doesn't discriminate and it happens with all my
> windows/applications.

I think I got it. It's a problem with X and Xwayland. On a Wayland session,
native Wayland windows switch normally, but it doesn't work with Xwayland
windows on a Wayland session and the bug is always present on an X session.

Devs reading this. Try this on an X session or between native Wayland and
XWayland windows.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 448732] If windows were already visible and you click on Show Desktop, clicking on another app's icon in the taskbar doesn't bring said app forward

2022-01-25 Thread Krešimir Čohar
https://bugs.kde.org/show_bug.cgi?id=448732

--- Comment #5 from Krešimir Čohar  ---
(In reply to guimarcalsilva from comment #4)
> (In reply to Krešimir Čohar from comment #3)
> > (In reply to Krešimir Čohar from comment #2)
> > > I can confirm this bug on Plasma 5.23.5 using both latte and a plasma 
> > > panel,
> > > it brings into focus properly the window you clicked on only if it's
> > > minimized. 
> > > 
> > > If the window isn't minimized, something strange happens - clicking on it
> > > brings it to just below the window that was in focus before you trigger 
> > > the
> > > Show Desktop effect, and the focus remains on the window on top (the 
> > > window
> > > that was in focus before you triggered the effect).
> > 
> > I just tested it again and yes, it brings the focus back to the window that
> > was in focus before you triggered the effect. The window below is both below
> > (not on top) AND out of focus.
> 
> Yes. This happens. I noticed I can reliably reproduce the issue with
> Chromium-based browsers (tested with Vivaldi and Chromium), but strangely
> enough, it's working correctly for me with other apps.
> 
> Nate Grahan (or another developer), can you try reproducing the issue on
> your end again but switching between a Chromium-based browser and another
> app? If you click on a browser window that is already visible you should see
> it doesn't get brought forward like other apps.

On my end, the bug doesn't discriminate and it happens with all my
windows/applications.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 448732] If windows were already visible and you click on Show Desktop, clicking on another app's icon in the taskbar doesn't bring said app forward

2022-01-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=448732

--- Comment #4 from guimarcalsi...@gmail.com ---
(In reply to Krešimir Čohar from comment #3)
> (In reply to Krešimir Čohar from comment #2)
> > I can confirm this bug on Plasma 5.23.5 using both latte and a plasma panel,
> > it brings into focus properly the window you clicked on only if it's
> > minimized. 
> > 
> > If the window isn't minimized, something strange happens - clicking on it
> > brings it to just below the window that was in focus before you trigger the
> > Show Desktop effect, and the focus remains on the window on top (the window
> > that was in focus before you triggered the effect).
> 
> I just tested it again and yes, it brings the focus back to the window that
> was in focus before you triggered the effect. The window below is both below
> (not on top) AND out of focus.

Yes. This happens. I noticed I can reliably reproduce the issue with
Chromium-based browsers (tested with Vivaldi and Chromium), but strangely
enough, it's working correctly for me with other apps.

Nate Grahan (or another developer), can you try reproducing the issue on your
end again but switching between a Chromium-based browser and another app? If
you click on a browser window that is already visible you should see it doesn't
get brought forward like other apps.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 448732] If windows were already visible and you click on Show Desktop, clicking on another app's icon in the taskbar doesn't bring said app forward

2022-01-25 Thread Krešimir Čohar
https://bugs.kde.org/show_bug.cgi?id=448732

--- Comment #3 from Krešimir Čohar  ---
(In reply to Krešimir Čohar from comment #2)
> I can confirm this bug on Plasma 5.23.5 using both latte and a plasma panel,
> it brings into focus properly the window you clicked on only if it's
> minimized. 
> 
> If the window isn't minimized, something strange happens - clicking on it
> brings it to just below the window that was in focus before you trigger the
> Show Desktop effect, and the focus remains on the window on top (the window
> that was in focus before you triggered the effect).

I just tested it again and yes, it brings the focus back to the window that was
in focus before you triggered the effect. The window below is both below (not
on top) AND out of focus.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 448732] If windows were already visible and you click on Show Desktop, clicking on another app's icon in the taskbar doesn't bring said app forward

2022-01-25 Thread Krešimir Čohar
https://bugs.kde.org/show_bug.cgi?id=448732

Krešimir Čohar  changed:

   What|Removed |Added

 CC||kco...@gmail.com
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #2 from Krešimir Čohar  ---
I can confirm this bug on Plasma 5.23.5 using both latte and a plasma panel, it
brings into focus properly the window you clicked on only if it's minimized. 

If the window isn't minimized, something strange happens - clicking on it
brings it to just below the window that was in focus before you trigger the
Show Desktop effect, and the focus remains on the window on top (the window
that was in focus before you triggered the effect).

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 448732] If windows were already visible and you click on Show Desktop, clicking on another app's icon in the taskbar doesn't bring said app forward

2022-01-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448732

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
  Component|general |effects-various

--- Comment #1 from Nate Graham  ---
Hmm, this is working for me with current git master when triggering the effect
btom from the panel applet and also the Meta+D global keyboard shortcut.

-- 
You are receiving this mail because:
You are watching all bug changes.