Bug 369060 - Some windows does not appear as a separate window but rather multiple windows are represented by one element in the taskbar
Summary: Some windows does not appear as a separate window but rather multiple windows...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.7.5
Platform: Arch Linux Linux
: NOR major
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-09-19 15:43 UTC by Stas
Modified: 2018-10-28 03:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Rosegarden Task Manager (56.51 KB, image/png)
2016-09-19 16:08 UTC, Eike Hein
Details
Same windows with grouping disabled (24.00 KB, image/png)
2016-09-19 16:12 UTC, Eike Hein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stas 2016-09-19 15:43:58 UTC
Hello, I have noticed a strange behaviour. I do not use the group windows option in my taskbar. However, when I start some software and then open additional windows from this software, they do not appear as a new window but only the first task manager element remains. 
E.g. when I open digikam I get a new window "digikam" in the task manager. Then I open the import dialog. Normally a second window in the taskbar should appear. But It does not. Instead the "digikam" window now represent both windows. When hiding it, both get hided and so on.
A second example is Rosegarden. There I have the main window. When I open the Track editor a new window should appear, but same thing as described above happens.
This is very annoying and I cannot figure out what is going wrong. The titles of the windows are not the same.
Would be great, when this could be fixed.

Reproducible: Always

Steps to Reproduce:
1. Open e.g. digikam
2. in digikam, open import dialog

Actual Results:  
only one digikam window is in the taskbar

Expected Results:  
For each window a separate window should be seen in the taskbar
Comment 1 Eike Hein 2016-09-19 15:49:42 UTC
This is normal behavior that's been around for about 20-30 years. It's called modal dialog windows, see e.g. https://en.wikipedia.org/wiki/Modal_window

If an application really wants to, they can make additional windows (a) not modal, (b) not give them a transient parent and (c) give them a suitable top-level window type. They will then show in the Task Manager. But modal, transient dialog-type windows by default do not show, and that's correct behavior.
Comment 2 Stas 2016-09-19 15:54:51 UTC
But this behaviour was not presented in the mentioned software in KDE4. I cannot imagine, that this was an intended decision from both software developer teams at the same time. Anyway this windows are meant to be opened at the same time (at least for rosegarden, where this is a essential feature to open the track editor beside the main window).
Comment 3 Eike Hein 2016-09-19 16:01:43 UTC
I'll install Rosegarden and take a look and report back, but it's likely to be an application bug then.
Comment 4 Eike Hein 2016-09-19 16:02:55 UTC
Where do I find this Track Editor?
Comment 5 Stas 2016-09-19 16:03:55 UTC
The mentioned windows were not modal ones in KDE4 where I was able e.g. to open the import dialog in digikam then start the download and return to the main window while the import dialog remains open. This cannot be done with modal windows as described in the article you have linked previously.
Also now, with plasma 5, I still can switch between the different windows as I want except that only one taskbar window is shown for both windows...
Comment 6 Stas 2016-09-19 16:05:45 UTC
(In reply to Eike Hein from comment #4)
> Where do I find this Track Editor?

Start a new rosegarden session, then create a track with the pencil tool in the main window (draw a yellow coloured strip. Then double -click on it. This will open the score editor (or track editor as I have called it before).
Comment 7 Eike Hein 2016-09-19 16:08:19 UTC
Created attachment 101178 [details]
Rosegarden Task Manager

I get three Task Manager entries ... it's 5.8 code, but it hasn't changed since 5.7.5 for this.
Comment 8 Stas 2016-09-19 16:10:34 UTC
(In reply to Eike Hein from comment #7)
> Created attachment 101178 [details]
> Rosegarden Task Manager
> 
> I get three Task Manager entries ... it's 5.8 code, but it hasn't changed
> since 5.7.5 for this.

Can you check it with ungrouped windows in the taskbar?
Comment 9 Eike Hein 2016-09-19 16:12:28 UTC
Created attachment 101179 [details]
Same windows with grouping disabled
Comment 10 Stas 2016-09-19 16:20:31 UTC
Ok, but at least I am sure now, that it is not the apriori behaviour of the software. Can you imagine from where this behaviour can come?
Comment 11 Eike Hein 2016-09-19 16:22:58 UTC
I wrote the code and I really can't, no, unless the application set the window properties differently, or there's a bug I don't know about yet. I'd say we close the ticket for now, and if it happens again to you you reopen it, and we try to find the pattern?
Comment 12 Stas 2016-09-19 16:25:47 UTC
Maybe we can wait for some other people to have a look at it, because it still happens to me permanently.
Comment 13 Nate Graham 2017-12-13 23:37:14 UTC
Can't reproduce. Are you still seeing this in Plasma 5.11?
Comment 14 Andrew Crouthamel 2018-09-28 02:34:37 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 set the bug status 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 15 Andrew Crouthamel 2018-10-28 03:30:48 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!