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

            Bug ID: 493724
           Summary: TaskManager::TasksModel: use QDateTime instead of
                    QTime for lastActivated
    Classification: Plasma
           Product: plasmashell
           Version: 6.1.5
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager
          Assignee: plasma-b...@kde.org
          Reporter: publicantro...@gmail.com
                CC: qydwhotm...@gmail.com
  Target Milestone: 1.0

SUMMARY
I've created a widget with window controls. 
It has a mode to show controls for last activated task instead of active, this
option works well with multiple displays.
The mode based on TasksModel sorted by SortLastActivated.
However, if you have some tasks opened yesterday at some time, they will always
be above any tasks opened today before this time. 
Formaly, everything is correct, sorted by timestamp according to the
documentation.
But the model is not sorted in expected order.

STEPS TO REPRODUCE
1. Install "Application Title Bar" widget to a panel.
2. Switch "Active task source" option to "Last active task".
3. Open first task.
4. Wait until the next day.
5. Open second task.

OBSERVED RESULT
Controls are showed for the first task.

EXPECTED RESULT
Controls are showed for the second task.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-40-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 PRO 4650U with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 20UH001JRT
System Version: ThinkPad T14s Gen 1

ADDITIONAL INFORMATION
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/libtaskmanager/waylandtasksmodel.cpp#L415

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

Reply via email to