https://bugs.kde.org/show_bug.cgi?id=379887

            Bug ID: 379887
           Summary: KIO does not show (copy-)progress windows without a
                    running kuiserver/JobViewServer
           Product: frameworks-kio
           Version: 5.34.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: fa...@kde.org
          Reporter: kartoffels...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

The progress of file operations by KIO is usually shown as part of
the notifications in the system tray. This can be disabled by
unchecking "Track file transfers and other jobs" in notifications
settings (and restarting the plasma session), in which case the
progress will be reported using a small window [1].

However, when using a KIO based application without the plasma
desktop (in my case dolphin and i3) one gets no progress information
at all, as the KDE system tray is (obviously) not available and
the check for showing the window is somewhat flawed. The relevant
code should be in KDynamicJobTracker::registerJob. As far as I
understand it checks for a DBus session and asks the kuiserver,
wheter the system tray notifications are disabled before creating
a separate window. This fails without a running kuiserver. I have
attached a small patch, which leads to the expected behavior, but
I don't know, wheter this breaks any other use case.


Steps to Reproduce:
- Start dolphin without the plasma desktop and copy a larger file.

Actual Results:
- The file is copied without a progress window.

Expected Results:
- The file is copied while showing a progress window.

Possible Solution:
- See the attached patch for a minimal working solution.

[1] https://forum.kde.org/viewtopic.php?f=22&t=131078#p351705

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

Reply via email to