plasma-optimus (26.04.5-0ubuntu2) resolute; urgency=medium

  * d/patches/001-Add-plasma-optimus-kwin-drm.sh-for-DRM-device-config.patch:
    Sets kwin_wayland to use the correct prime GPU when loaded. (LP: #2156191)

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Tue, 09 Jun 2026 09:54:48 -0700

plasma-optimus (26.04.5-0ubuntu1) resolute; urgency=medium

  * New release integrating patches.

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Thu, 09 Apr 2026 09:34:12 -0700

plasma-optimus (26.04.4-0ubuntu4) resolute; urgency=medium

  * debian/patches/fix-progress-dialog-animation.patch:
    - Fix progress throbber freezing during GPU switch
    - Use QProcess instead of subprocess.run so the Qt event loop keeps
      running while prime-select/update-initramfs executes

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Thu, 09 Apr 2026 09:15:00 -0700

plasma-optimus (26.04.4-0ubuntu3) resolute; urgency=medium

  * debian/patches/fix-reboot-dbus-call.patch:
    - Fix reboot not triggering after GPU switch on Plasma 6
    - Use qdbus6 org.kde.LogoutPrompt /LogoutPrompt promptReboot to show
      the native Plasma reboot dialog instead of the removed KDE 5
      ksmserver logout method

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Wed, 08 Apr 2026 20:30:00 -0700

plasma-optimus (26.04.4-0ubuntu2) resolute; urgency=medium

  * debian/patches/fix-gpu-process-detection.patch:
    - Fix process.py returning no GPU processes on Wayland/DRI systems
    - Add fallback detection via /proc/*/fd scanning of NVIDIA device nodes
      when nvidia-smi reports no processes

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Mon, 06 Apr 2026 20:29:00 -0700

plasma-optimus (26.04.4-0ubuntu1) resolute; urgency=medium

  * Fix GPU detection under Wayland (glxinfo reports wrong GPU via XWayland);
    use nvidia-smi/sysfs instead
  * Fix system tray popup not opening on click

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Sat, 04 Apr 2026 15:18:24 -0700

plasma-optimus (26.04.3-0ubuntu1) resolute; urgency=medium

  * Refactor fullRepresentation layout to use Kirigami units for improved
    responsiveness
  * debian/patches/fix-systray-popup.patch:
    - Fix system tray popup not opening on click
    - Use Plasmoid.icon instead of custom compactRepresentation
    - Replace toolTipItem with toolTipMainText/toolTipSubText

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Fri, 03 Apr 2026 12:42:25 -0700

plasma-optimus (26.04.2-0ubuntu1) resolute; urgency=medium

  * Fix metadata.json for system tray integration
    - Add X-Plasma-API, X-Plasma-API-Minimum-Version, X-Plasma-MainScript
    - Add X-Plasma-NotificationAreaCategory for proper categorization

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Fri, 03 Apr 2026 11:51:54 -0700

plasma-optimus (26.04.1-0ubuntu1) resolute; urgency=medium

  * Consolidate plasma-prime-select into switch.py with token-based security
  * Remove obsolete scripts: switch.sh, process.sh, plasma-prime-select
  * Drop uuid-runtime dependency
  * Remove plasma-prime-select symlink and manpage

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Fri, 03 Apr 2026 09:24:20 -0700

plasma-optimus (26.04.0-0ubuntu1) resolute; urgency=medium

  * Port to KDE Plasma 6 / Qt 6
    - Replace metadata.desktop with metadata.json
    - Update QML imports (PlasmoidItem, Kirigami, plasma5support)
    - Replace kdialog/zenity with PyQt6 native dialogs (switch.py, process.py)
    - Parse nvidia-smi XML properly with ElementTree
  * Update dependencies: drop kdialog, zenity; add python3-pyqt6
  * Bump Standards-Version to 4.7.0
  * Bump debhelper-compat to 13

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Thu, 02 Apr 2026 19:19:27 -0700

plasma-optimus (22.10.2-0ubuntu1) kinetic; urgency=medium

  * New release 22.10.2
    - Warn users that on-demand mode is not recommended
      on external monitors (LP: #1980988)

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Thu, 07 Jul 2022 12:58:20 -0700

plasma-optimus (22.10.1-0ubuntu1) kinetic; urgency=medium

  * New release 22.10.1
  * Fix for proper GPU detection (LP: #1978502)

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Mon, 13 Jun 2022 13:44:06 -0700

plasma-optimus (22.04.2-0ubuntu1) jammy; urgency=medium

  * New release 22.04.2 (LP: #1968616)
    - Actually reboots instead of logout to apply prime settings

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Wed, 13 Apr 2022 16:31:03 -0700

plasma-optimus (22.04.1-0ubuntu1) jammy; urgency=medium

  * New release 22.04.1 (LP: #1968616)
    - Reboots instead of logout to apply prime settings

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Mon, 11 Apr 2022 12:38:40 -0700

plasma-optimus (21.10.0-0ubuntu1) impish; urgency=medium

  * Initial release. 

 -- Erich Eickmeyer <eeickmeyer@ubuntu.com>  Wed, 30 Jun 2021 14:39:11 -0700
