Bug 449594 - Loading window indicator disappears before the window actually opened
Summary: Loading window indicator disappears before the window actually opened
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 5.18.7
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-04 11:43 UTC by Said Bakr
Modified: 2022-02-07 15:49 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 Said Bakr 2022-02-04 11:43:38 UTC
SUMMARY
***
In slow apps or machines, some applications may take longer time to get its window already opened. In that case the loading indication on the Task Manager disappears before window completely loaded. In addition, some apps like VSCode the loading indicator does not appear at all, just it get the button when it loaded completely  
***


STEPS TO REPRODUCE
1.  Slow machine with HDD not SSD
2. Kubuntu 20.04
3. Open heavy app by double click on its icon.

OBSERVED RESULT
Some apps invoke the loading button but it disappear before the window complete loading, while some other apps does not show that loading at all.

EXPECTED RESULT
The loading indication button should be displayed after invoking the app and it should not be disappeared before loading its window completely.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 

ADDITIONAL INFORMATION
./+o+-       xxxx@Satellite-L850-A700
                  yyyyy- -yyyyyy+      OS: Ubuntu 20.04 focal
               ://+//////-yyyyyyo      Kernel: x86_64 Linux 5.13.0-25-generic
           .++ .:/++++++/-.+sss/`      Uptime: 34m
         .:++o:  /++++++++/:--:/-      Packages: 2777
        o:+o+:++.`..```.-/oo+++++/     Shell: bash 5.0.17
       .:+o:+o/.          `+sssoo+/    Resolution: 1366x768
  .++/+:+oo+o:`             /sssooo.   DE: KDE 5.68.0 / Plasma 5.18.5
 /+++//+:`oo+o               /::--:.   WM: KWin
 \+/+o+++`o++o               ++////.   GTK Theme: Breeze [GTK2/3]
  .++.o+++oo+:`             /dddhhh.   Icon Theme: Papirus-Dark
       .+.o+oo:.          `oddhhhh+    Disk: 80G / 575G (15%)
        \+.++o+o``-````.:ohdhhhhh+     CPU: Intel Core i5-2450M @ 4x 3.1GHz [59.0°C]
         `:o+++ `ohhhhhhhhyo++os:      GPU: AMD/ATI Thames [Radeon HD 7500M/7600M Series]
           .o:`.syhhhhhhh/.oo++o`      RAM: 2259MiB / 7910MiB
               /osyyyyyyo++ooo+++/    
                   ````` +oo+++o\:    
                          `oo++.
Comment 1 Nate Graham 2022-02-04 16:40:10 UTC
The timeout for the loading indicator is user-configurable in System Settings > Appearance > Launch Feedback, but defaults to only appearing for 5 seconds. Any longer than that and people often start to get annoyed.
Comment 2 Said Bakr 2022-02-04 18:42:38 UTC
(In reply to Nate Graham from comment #1)
> The timeout for the loading indicator is user-configurable in System
> Settings > Appearance > Launch Feedback, but defaults to only appearing for
> 5 seconds. Any longer than that and people often start to get annoyed.

Well that's great. However, applications such as VS Code does not posses any indicator at all. Sometimes I mistakenly thinks the computer becomes non responding and usually I open two instances because I, usually, start it from the Quicklaunch widget.
Comment 3 Said Bakr 2022-02-04 19:03:27 UTC
(In reply to Said Bakr from comment #2)
> (In reply to Nate Graham from comment #1)
> > The timeout for the loading indicator is user-configurable in System
> > Settings > Appearance > Launch Feedback, but defaults to only appearing for
> > 5 seconds. Any longer than that and people often start to get annoyed.
> 
> Well that's great. However, applications such as VS Code does not posses any
> indicator at all. Sometimes I mistakenly thinks the computer becomes non
> responding and usually I open two instances because I, usually, start it
> from the Quicklaunch widget.

Well, I think it is not a bug related to Task Manager, because when I have created a launcher for VS Code using the way below, it posses a loading indicator:
1- Right click on any empty area on the desktop
2-  Select Create New from the context menu
3- From the sub menu, select Link to Application
4- In the dialog box, at General Tab write down VS Code in the first Input box.
5- From the same dialog, goto Application tab, in name write down VS Code and in command just write: code  
6- click on the OK button

By the way above, the launcher on the desktop posses loading indicator and when drag and drop it to the Quicklaunch widget, it also invokes the loading indicator.

It may be a bug related to the launcher itself. but it is not a bug for Task Manager.
Comment 4 Nate Graham 2022-02-04 19:05:13 UTC
That's also kind of "not a bug"; launch feedback only works when you launch an app from its .desktop file, not from its command line invocation. I would recommend that you create a desktop launcher by dragging VSCode to your desktop from the launcher menu or from the Task Manager.
Comment 5 Said Bakr 2022-02-04 21:23:36 UTC
(In reply to Nate Graham from comment #4)
> That's also kind of "not a bug"; launch feedback only works when you launch
> an app from its .desktop file, not from its command line invocation. I would
> recommend that you create a desktop launcher by dragging VSCode to your
> desktop from the launcher menu or from the Task Manager.

The launcher menu's icon itself, does not invoke Launch Feedback. I tested it with Application Menu and Application Dashboard widgets. The only working way that invokes the Launch Feedback is as regarded in 6 steps above.
Comment 6 Nate Graham 2022-02-04 22:12:43 UTC
Are you using Wayland or X11?
Comment 7 Said Bakr 2022-02-05 08:37:12 UTC
(In reply to Nate Graham from comment #6)
> Are you using Wayland or X11?

I use X11.
Comment 8 Nate Graham 2022-02-07 15:49:21 UTC
> The launcher menu's icon itself, does not invoke Launch Feedback. I tested it with Application Menu
> and Application Dashboard widgets.
Can you clarify exactly what you're doing here, and exactly where you expect to see the feedback?