1. 12 Jun, 2020 1 commit
    • Nate Graham's avatar
      Replace Task Manager with Icons-Only-Task Manager in the default panel, and thicken it · 86329ca1
      Nate Graham authored
      Summary:
      This patch implements the part of T12441 that was virtually universally agreed-to:
      switching out the regular Task Manager for an Icons-Only Task Manager and pinning
      some apps by default. The panel is also thickened to to 46px (with the default font,
      since the calculation is based on GridUnits, which are font-aware). The panel remains
      in its current position pending further discussion about whether or not we want to
      move it to the left edge.
      
      Ideally I'd like for this patch to used for discussions about the implementation, not the
      general concept, so if you have concerns about that, please put them in T12441.
      
      Test Plan: This is now the default panel: {F8290193}
      
      Reviewers: #vdg, #plasma, niccolove, cblack
      
      Reviewed By: #vdg, #plasma, niccolove, cblack
      
      Subscribers: rikmills, mart, filipf, kmaterka, gvgeo, davidedmundson, ndavis, niccolove, The-Feren-OS-Dev, plasma-devel
      
      Tags: #plasma
      
      Maniphest Tasks: T12441
      
      Differential Revision: https://phabricator.kde.org/D27845
      86329ca1
  2. 06 Jun, 2019 1 commit
    • Nate Graham's avatar
      [Task manager] Use Windows-style middle-click behaviors for entries and thumbnails · 62c099c0
      Nate Graham authored
      Summary:
      The Windows 10 Task Manager equivalent opens a new instance when middle-clicking an
      open Task, and when middle-clicking on a thumbnail in the pop-up, that task is closed.
      
      These are some nice shortcuts. This patch implements the same behaviors for our Task
      Manager.
      
      Test Plan:
      1. Delete `~/.config/plasma-org.kde.plasma.desktop-appletsrc` and restart plasmashell
      2. Open an app
      3. Middle-click on the app's Task -> see that a new instance is created
      4. Keep middle-clicking on the app's Task until it becomes grouped
      5. Move the mouse over the grouped task
      6. Middle-click on a thumbnail in the pop-up -> see how that instance is closed
      
      Reviewers: #plasma, #vdg, ndavis, hein
      
      Reviewed By: #plasma, #vdg, ndavis, hein
      
      Subscribers: ndavis, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D21627
      62c099c0
  3. 09 May, 2019 1 commit
  4. 24 Apr, 2019 1 commit
    • Thomas Surrel's avatar
      [Task Manager] Bring to current desktop with middle-click · a416f16b
      Thomas Surrel authored
      Summary:
      This adds a new possible action when middle-click is used on a task
      in the task manager: bringing that task to the current desktop.
      
      FEATURE: 360250
      
      Test Plan:
      In the task manager settings > Behavior > On middle-click, select
      'Bring to the current desktop', and make sure 'Show only tasks from
      the current desktop' is deselected.
      Having several applications opened on different virtual desktops,
      middle-click on a task from another desktop and check that it is
      brought to the current one.
      
      Reviewers: #plasma, hein
      
      Reviewed By: #plasma, hein
      
      Subscribers: ngraham, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D20773
      a416f16b
  5. 11 Feb, 2019 1 commit
  6. 04 Feb, 2019 1 commit
    • Nate Graham's avatar
      [Task Manager] Sort manually by default · 6d6d9dbc
      Nate Graham authored
      Summary:
      This patch changes the default Task Manager sort order to `Manually`, which better matches
      today's user expectations regarding how tab bars should work, and this is basically a systemwide tab bar.
      
      Test Plan: New default took effect for new user account and existing user account where I hadn't manually changed the sort order
      
      Reviewers: #vdg, #plasma, hein, ndavis, mart
      
      Reviewed By: #vdg, #plasma, hein, ndavis, mart
      
      Subscribers: ndavis, alexeymin, broulik, mart, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D18651
      6d6d9dbc
  7. 20 Mar, 2017 1 commit
    • Kai Uwe Broulik's avatar
      [Task Manager] Add option to toggle grouping on middle click · 2fcd8547
      Kai Uwe Broulik authored
      This adds an option for what to do on middle click which will toggle grouping
      of window of a specific application.
      
      This can already be done in the context menu by (un)checking "Allow this program
      to be grouped" in "Advanced" but this adds a nice shortcut for this.
      
      In contrast to said context menu entry the option in the ComboBox is shown regardless
      of the grouping mode as otherwise it might unintentionally change your setting to
      a (seemingly) non-deterministic value if you disable grouping.
      
      BUG: 323567
      FIXED-IN: 5.10.0
      
      Differential Revision: https://phabricator.kde.org/D5065
      2fcd8547
  8. 28 Feb, 2017 1 commit
    • Peter Palaga's avatar
      Task Manager: Make the icon size configurable for task buttons in a vertical task manager · 26b92df4
      Peter Palaga authored
      Summary: This improves the rendering when the task manager is oriented vertically. Before this change the taskbar had to be made too wide so that the task buttons show both icon and text. With the present change, the preferred icon size can be chosen via task bar configuration dialog so that text is shown also in narrower vertical task bars.
      
      Test Plan:
      1. Place the task bar vertically
      2. Adjust the task bar width e.g. so that the tray icons appear in rows of three
      3. Open some windows a Dolphin window so that there is at least one task open in the task bar
      
      Before: The task buttons show only icons that stretch through the most of the button width. There is no text in the task button
      
      After:
      1. Task Manager contect menu > Task Manager Settings... >
          Lower the icon size to Small Medium
          Hit OK
      2. The task buttons are showing a bit smaller icons and there is some text shown there too.
      
      Reviewers: davidedmundson, hein, broulik
      
      Reviewed By: hein
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D4550
      26b92df4
  9. 27 Feb, 2017 2 commits
    • Eike Hein's avatar
      Add an option to limit the number of text lines in task buttons. · 0a83f161
      Eike Hein authored
      This is desired by a downstream who always wants a single line of
      text.
      
      This should go into the 5.9 branch to allow them to ship 5.9.
      0a83f161
    • Eike Hein's avatar
      Make the hover state optional. · d1463b3f
      Eike Hein authored
      This is desired by a downstream distro which doesn't want hover
      effects in Task Manager.
      
      This also adds back a small tweak to support themes that don't
      ship a "hover" prefix in tasks.svgz that seems to have gotten
      lost along the way.
      
      It should go into the 5.9 branch to allow them to ship 5.9.
      d1463b3f
  10. 09 Jan, 2017 1 commit
    • Kai Uwe Broulik's avatar
      [Task Manager] Indicate applications playing audio · 89e61df4
      Kai Uwe Broulik authored
      This is similar to what most web browsers do nowadays, indicating when audio is being played
      with an option to mute it.
      
      When an application has an audio stream and it is actually playing something ("not corked"),
      after a delay of 2 seconds (to avoid flashing briefly) an audio icon is displayed which disappears
      again once audio stops playing. The context menu always offers the "Mute" option whenever
      there's an audio stream provided by the application, so you can still unmute even after playback
      has stopped. Also, the "muted" icon will be shown whilst the application is muted, regardless
      of whether sound is actually being played.
      
      An application is marked as "Muted" when all associated streams are muted, and toggling mute
      will (un)mute all of them. Since PulseAudio doesn't know windows, when an application has multiple
      windows, all of them will be flagged as playing audio; the same issue we already have with
      Unity Launcher API.
      
      Differential Revision: https://phabricator.kde.org/D3302
      89e61df4
  11. 13 Sep, 2016 1 commit
  12. 23 Aug, 2016 1 commit
    • Eike Hein's avatar
      Drop the C++ text label implementation. · 6c3b01c5
      Eike Hein authored
      Summary:
      After D2281 set the stage, this change drops the C++ label in favor
      of the PlasmaComponents-based label added then. A consensus has
      emerged that the things the C++ label did that the new label does
      not do (fadeout gradients, shadowing) are not actually desirable.
      
      BUG:346050
      BUG:360119
      BUG:357242
      
      Reviewers: #plasma, broulik
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D2418
      6c3b01c5
  13. 25 Jul, 2016 1 commit
    • Eike Hein's avatar
      Prepare for retiring the C++ text label in Task Manager delegates. · c82f9207
      Eike Hein authored
      Summary:
      The Task Manager button delegates currently use a custom C++
      QQuickPaintedItem to display text. This is undesirable because
      it causes a lot of texture traffic and bypasses the glyph cache
      of Qt Quick's OpenGL renderer. However, the C++ code does
      complex things - like per-line fadeouts and shadowing - that are
      not easily recreated in pure QML, which has kept the C++ label
      around up until now`.
      
      This patch gets us on the way by putting the existing label
      implementation behind a Loader, and making a pure-QML label
      implementation available via an experimental config option.
      
      I'd like to have this in the 5.7 branch because one of our
      downstreams (Netrunner Linux) used to ship similar code in
      a fork of the applet for visual reasons, and since what they
      want to ship aligns with our long-term plans, this will allow
      them to avoid the fork while getting us an early tester for
      upstream code.
      
      As a nice bonus it ends up being a performance optimization
      for Icontasks users, as TextLabel will no longer even be
      instanciated there.
      
      Reviewers: #plasma, mart
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D2281
      c82f9207
  14. 15 Jun, 2016 2 commits
  15. 13 Jun, 2016 1 commit
  16. 06 Jun, 2016 2 commits
  17. 17 Jan, 2016 1 commit
  18. 17 Sep, 2015 1 commit
  19. 21 Jul, 2015 1 commit
  20. 10 May, 2015 1 commit
  21. 17 Feb, 2015 1 commit
  22. 07 Sep, 2014 1 commit
  23. 03 May, 2014 1 commit
  24. 22 Apr, 2014 1 commit
  25. 31 Mar, 2014 1 commit
    • Aleix Pol Gonzalez's avatar
      Initial import from the monolithic kde-workspace. · 88ae0b60
      Aleix Pol Gonzalez authored
      This is the beginning of revision history for this module. If you
      want to look at revision history older than this, please refer to the
      techbase wiki for how to use Git history grafting. At the time of
      writing, this wiki is located here:
      
      http://community.kde.org/Frameworks/GitOldHistory
      
      If you have already performed the grafting and you don't see any
      history beyond this commit, try running "git log" with the "--follow"
      argument.
      
      Branched from the monolithic repo kde-workspace, frameworks  branch, at commit
      049113e719dd2fc4446d054fa1a3aada330094f0
      88ae0b60