1. 24 Nov, 2019 1 commit
  2. 08 Aug, 2019 2 commits
    • Marco Martin's avatar
      use plasmashellrc · c3f1fb47
      Marco Martin authored
    • Marco Martin's avatar
      more control on what shell is loaded · 69451047
      Marco Martin authored
      Since shellManager was removed, we have a quite big regressions
      of any other shell that isn't the desktop one not loading in any
      way from SDDM, causing a big issue for plasma mobile or any shell
      based on plasma mini shell, which we have several now not working
      images based on.
      this allows for a shell being configured in plasmarc
      Test Plan: shell specified in plasmarc loaded, loads the desktop if not specified
      Reviewers: #plasma, apol
      Reviewed By: apol
      Subscribers: apol, plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D23031
  3. 06 Aug, 2019 1 commit
  4. 05 Aug, 2019 1 commit
  5. 02 Aug, 2019 1 commit
    • Aleix Pol Gonzalez's avatar
      Remove the ShellManager · d754abbc
      Aleix Pol Gonzalez authored
      We had an overly complex and in practice unexploited system to detect
      which shell to use,
      This patch changes it to default to the desktop, still allowing to
      modify which to use from --shell-plugin argument.
      Test Plan:
      Starts up fine, --shell-plugin/-p still works, which is what
      bhushan told me is important for plasma mobile.
      Reviewers: #plasma, davidedmundson, bshah
      Reviewed By: #plasma, davidedmundson, bshah
      Subscribers: bshah, davidedmundson, plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D22874
  6. 23 Jun, 2019 1 commit
  7. 10 Jul, 2018 1 commit
  8. 03 May, 2018 4 commits
  9. 11 Apr, 2018 1 commit
    • David Edmundson's avatar
      Add plasmashell --replace · e275ca73
      David Edmundson authored
      Calls the existing quit signal on a running plasma then tries to start
      in the normal way.
      It's meant partly to make my own development workflow a bit easier, but
      also to make it one less line on bugzilla when I want people to give me
      debug output.
      Test Plan:
      Ran with existing plasma running
      Ran without an existing plasma running
      Reviewers: #plasma, apol
      Reviewed By: apol
      Subscribers: apol, plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D12092
  10. 21 Mar, 2018 1 commit
    • Martin Flöser's avatar
      No longer export QT_QPA_PLATFORM env variable to the session · c4a0d692
      Martin Flöser authored
      As discussed the env variables are no longer exported. Thus Qt
      applications follow the default qpa platform they are compiled with and
      thus still function if they are packaged with a Qt without QtWayland.
      Plasma's internal processes pick the qpa platform depending on the
      session type as well as our flatpak apps.
      KRunner and Plasmashell are adjusted to not leak the env variable they
      set for themselves.
      Test Plan:
      Started a wayland session, verified with KWin's debug console
      that plasmashell and krunner are wayland. Launched kwrite from both plasma
      and krunner and verified that it's xcb
      Reviewers: #plasma
      Subscribers: plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D11447
  11. 18 Mar, 2018 1 commit
    • Martin Flöser's avatar
      Add platform detection to KWorkspace library to adjust QT_QPA_PLATFORM · b5c32699
      Martin Flöser authored
      This is a preparation step to unset QT_QPA_PLATFORM from the wayland
      startup session script. Setting QT_QPA_PLATFORM breaks 3rd-party Qt
      software which does not bundle QtWayland. Most prominent example is
      the Qt installer itself (see
      On the other hand our Plasma workspace applications need to be forced to
      Wayland on a Wayland system. So we have a conflict between we want to
      set QT_QPA_PLATFORM and we don't want to set QT_QPA_PLATFORM.
      This change adds new API to KWorkspace to address this problem. The new
      method adjusts the QT_QPA_PLATFORM based on the XDG_SESSION_TYPE
      enviornment variable. It is completely opt-in. Meaning applications need
      to explicitly add the call prior to creating the QGuiApplication and if
      the user specifies either QT_QPA_PLATFORM env variable or any of the
      -platform command line argument variants, the platform detection is
      The change also adjusts ...
  12. 07 Mar, 2018 1 commit
  13. 13 Feb, 2018 1 commit
  14. 09 Feb, 2018 1 commit
  15. 05 Dec, 2017 1 commit
    • Eike Hein's avatar
      Don't set a window icon for plasmashell · 7672be09
      Eike Hein authored
      Setting a window icon is surprisingly costly and a decent chunk of
      startup time. The shell doesn't need one. The only place I could
      find where this icon is visible is in the KSysguard process list :).
      Some people may be reminded of this rejected request:
      But that's Plasma::Dialog in plasma-framework, which (currently)
      still sets an icon. This is about the shell.
      Reviewers: #plasma, davidedmundson, mart
      Subscribers: plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D9196
  16. 17 Aug, 2017 1 commit
    • Fabian Vogt's avatar
      Remove application directory from QCoreApplication::libraryPaths() · cf572c3b
      Fabian Vogt authored
      The directory containing the main application (read through argv[0]) is
      by default added to the list of paths containing libraries.
      This causes various methods to iterate through all entries of the plasmashell
      install location, usually /usr/bin.
      By explicitly removing the path, those unnecessary lookups can be avoided,
      resulting in around 100ms quicker startup on a system with 4000 entries in
      Test Plan:
      Ran plasmashell with and without this fix, no changes except for a slightly
      quicker startup and much less strace noise.
      Reviewers: #plasma
      Subscribers: plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D7255
  17. 08 Aug, 2017 1 commit
    • David Edmundson's avatar
      Determine if we should use Qt scaling based on env var · 0fa58f0a
      David Edmundson authored
      KWindowSystem::platform() cannot be used before QApplication is
      QCoreApplication::setAttribute needs to be called before QApplication is
      We need a different method. I've used an explicit new env variable so
      that some users can also opt in to use this when on X.
      Test Plan:
      Logged in.
      Plasma panels all work. Look to be native resolution.
      Reviewers: #plasma, mart
      Reviewed By: #plasma, mart
      Subscribers: mart, plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D7200
  18. 07 Aug, 2017 2 commits
    • David Edmundson's avatar
      Add missing include · bbdcf72a
      David Edmundson authored
    • David Edmundson's avatar
      Use Qt scaling in Plamsa · bbf7aaf3
      David Edmundson authored
      I've done this only when on Wayland because:
      On X, our own scaling to font generally works well.
      There are bugs on older Qt, especially when it comes to fractional
      scaling, and we can't support per screen scales anyway.
      There's advantages to disabling, and (other than small context menu
      icons) few advantages in enabling
      On wayland, it's different. Everything is simpler as all co-ordinates
      are in the same co-ordinate system
      we don't have fractional scaling on the client so don't hit most the
      remaining bugs and
      even if we don't use Qt scaling the compositor will try to scale us
      anyway so we have no choice
      CCBUG: 356446
      Test Plan:
      Had this for about a week on my laptop.
      Haven't noticed a single problem.
      Reviewers: #plasma, mart
      Reviewed By: #plasma, mart
      Subscribers: mart, plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D7188
  19. 03 Jul, 2017 1 commit
  20. 19 Jun, 2017 1 commit
    • David Edmundson's avatar
      Make --test mode run without spawning kactivitymanagerd · 5bd54084
      David Edmundson authored
      This allows us to run the plasma-tests repo on your system without it
      destroying all your real activities. Even though one run tests in a
      dbus sessions, kactivities will still load and meddle with your real
      at the same time as the real daemon is. That gets messy and broken.
      It also allows us to remove a hack in the plasma-tests script.
      Test Plan:
      Ran normal plasma, everything is the same.
      Ran plasma-tests everything there now works properly
      Reviewers: #plasma, hein
      Reviewed By: #plasma, hein
      Subscribers: apol, plasma-devel
      Tags: #plasma
      Differential Revision: https://phabricator.kde.org/D6133
  21. 27 Aug, 2016 1 commit
  22. 26 Aug, 2016 2 commits
  23. 17 Mar, 2016 1 commit
  24. 16 Mar, 2016 1 commit
    • Aleix Pol Gonzalez's avatar
      Infrastructure for Plasmoid integration testing · 6fefa27d
      Aleix Pol Gonzalez authored
      Makes it possible to test how/if a plasmoid behaves correctly on the most
      similar environment possible to what the user would find on a production
      * Loads a plasmoid on a panel and the desktop.
      * Lets it test his own stuff (loading test/test.qml within the plasma
      * Terminates with an error if it wasn't successful
      REVIEW: 127346
  25. 02 Mar, 2016 1 commit
    • David Edmundson's avatar
      Fix showing openGL compatability warning to user · e2298901
      David Edmundson authored
      Make use of Qt5.5 API QQuickWindow::sceneGraphError rather than catching
      the errors in a message filter.
      I also merged with existing warning where contexts could be created, but
      compiling shaders would not work.
      BUG: 358869
      REVIEW: 127254
  26. 20 Feb, 2016 1 commit
  27. 19 Jan, 2016 2 commits
  28. 28 Dec, 2015 1 commit
  29. 09 Nov, 2015 1 commit
  30. 01 Nov, 2015 1 commit
  31. 10 Aug, 2015 1 commit
  32. 01 Aug, 2015 2 commits