Bug 397017 - Activate grouped windows from alternative activities isnt working for taskmanager
Summary: Activate grouped windows from alternative activities isnt working for taskman...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 5.13.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-31 18:59 UTC by daltokde
Modified: 2022-02-14 18:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daltokde 2018-07-31 18:59:52 UTC
When using multiple activities and you have “Show only tasks from the current activity” unchecked and “Group tasks of the same application” checked nothing happens when you click on a group if it is not in the current activity. If it is a single instance, it switches to the activity and activates the window. When it is multiple instances it does nothing apparent.
Comment 1 Michail Vourlakos 2018-07-31 23:02:14 UTC
Ok, this is happening also with plasma taskmanagers so I suppose this is something upstream and not Latte.

How to reproduce for plasma icon-only taskmanager:

1. Add an icon-only plasma taskmanager
2. Disable "Show only tasks from current activity"
3. open two windows of same app in Activity A
4. Switch to Activity B and try to click the grouped windows from Activity A,
it doesnt do anything
Comment 2 Eike Hein 2018-09-17 06:34:41 UTC
To be clear, the "grouped windows" you click on are the big previews in the middle of the screen, right?
Comment 3 Michail Vourlakos 2018-09-17 16:53:53 UTC
(In reply to Eike Hein from comment #2)
> To be clear, the "grouped windows" you click on are the big previews in the
> middle of the screen, right?

no, it is in the plasma icon-only taskmanager an icon of two grouped windows. e.g. a dolphin icon of two dolphin windows that are located in different activity.

when clicking that icon the big previews in the middle of the screen are not shown at all.
Comment 4 Eike Hein 2018-09-18 06:43:52 UTC
Clicking a group in Icontasks usually starts the "Present Windows" KWin effect, that's why I asked. You are seeing something else?
Comment 5 Michail Vourlakos 2018-09-18 06:47:48 UTC
Yes, the Present Windows KWin effect isn't triggered at all in this case
Comment 6 Christoph Feck 2018-10-04 23:36:20 UTC
Thanks for the update; changing status for inspection.
Comment 7 galder 2022-01-30 15:43:15 UTC
(In reply to Christoph Feck from comment #6)
> Thanks for the update; changing status for inspection.

Looks like an old issue. Setting it to needs more info.
Please try with a newer version(plasma 5.23.5) and if this is not an issue any more let us know.Bugs placed into NEEDSINFO status will receive a reminder if the ticket:

    Is at least 15 days old
    Has not received any comment within 15 days

If a bug remains in NEEDSINFO for another 15 days with no comment, it will be closed as RESOLVED > WORKSFORME.
Comment 8 Bug Janitor Service 2022-02-14 04:36:22 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 daltokde 2022-02-14 16:01:20 UTC
(In reply to galder from comment #7)
> (In reply to Christoph Feck from comment #6)
> > Thanks for the update; changing status for inspection.
> 
> Looks like an old issue. Setting it to needs more info.
> Please try with a newer version(plasma 5.23.5) and if this is not an issue
> any more let us know.

I just tested this with version 5.24.  The issue I originally reported which was that this was an issue with Latte Dock is still present.

When windows are grouped and shown in other activities, switching activities and then clicking on the group does nothing.
Comment 10 galder 2022-02-14 18:27:55 UTC
This is my test in 5.24.0
Create a second activity
Disable "Show only tasks from current activity"
Open 2 instances of dolphine. 
assign each instance to an activity.
When I click in the grouped widget.
Plasma switches automatically to next instance and assigned activity.

To me, this behaviour looks correct as with single click
there is no way to know which isntance the user wants to select.

But honestly my standard use case is to have "Show only tasks from current activity" active.

Regards
Galder
Comment 11 daltokde 2022-02-14 18:30:50 UTC
(In reply to galder from comment #10)
> This is my test in 5.24.0
> Create a second activity
> Disable "Show only tasks from current activity"
> Open 2 instances of dolphine. 
> assign each instance to an activity.
> When I click in the grouped widget.

Two things,
* The issue occurs when both instances of the application are in Activity A and you switch to Activity B and then click in the grouped widget
* I know another person reported this as not working with a plasma panel but I can't replicate that.  For me, it only fails with Latte Dock