Commit graph

4017 commits

Author SHA1 Message Date
86283b526d Move notification popup to bottom-right in convergence
The mobile popup system always anchored to top-center which
looked out of place on a desktop screen. In convergence mode,
position popups at the bottom-right corner and slide them in
from below. Swipe-to-dismiss flips to match (drag down to
dismiss instead of up). Stacked card previews and the popup
drawer tap area are hidden since notifications are already
accessible in the action drawer.
2026-04-17 07:10:23 +02:00
c2b864d8b4 Show action drawer as bounded panel in convergence
Replace the full-screen slide-down sheet with two fade-in cards
anchored to the top corners. Quick settings sit top-right,
notifications top-left capped at 60% screen height. Background
scrim reduced to 30%. Redundant clock header and status bar
hidden since both are already visible in the top panel.
2026-04-16 17:42:06 +02:00
d1cd5f09d8 Replace static screenshots with desktop demo videos
The three webm clips showcase convergence mode better than
still images. Drop the old PNG references from the README.
2026-04-16 13:58:34 +02:00
2a137d1ac9 Promote management tiles to status rows in convergence
Wi-Fi, Bluetooth, Sound and Battery behave differently from
toggle tiles: tapping them should open a detail panel, not
flip a switch. On a phone the long-press convention handles
this, but with a mouse long-press is unnatural.

Pull these four tiles out of the grid when convergence mode
is active and show them as full-width rows above the remaining
tiles. Each row has two click zones — a toggle pill on the
left that still switches the service on/off, and a detail
area on the right (name, status, chevron) that opens the
Plasma applet popup. The grid hides the duplicates so they
only appear once.
2026-04-16 13:41:24 +02:00
8017e4eaa0 Show applet popup on tile long-press in convergence
Long-pressing a mapped quick-settings tile in convergence
mode opens a floating popup with the Plasma applet UI
instead of launching System Settings. Unmapped tiles still
open Settings.

AppletHost creates a standalone Corona to host applets
outside the shell containment tree.
2026-04-15 14:58:25 +02:00
b77bf41cdc Fix action drawer not opening on click in convergence
open() alone does not set intendedToBeVisible, so the drawer
immediately closes itself. Call the proper toggle path instead.
Also hide the drag handle since convergence users click.
2026-04-15 14:58:15 +02:00
d8f9924c73 Widen quick settings panel in convergence mode
Use up to 45% of screen width so more tiles are visible
without pagination. Tile size stays touch-friendly.
2026-04-15 11:58:08 +02:00
2c7d88e5d8 Show down-arrow on status bar hover in convergence
Desktop users have no visual cue that the top bar opens quick
settings. Fade in a small arrow-down icon at the bottom center
when the mouse hovers, matching the arrow-up hint on the
favourites bar.
2026-04-15 11:20:07 +02:00
7fa2c20ab4 Open app drawer over windows in convergence mode
Drawer is inside the homescreen, which sits behind windows.
Home button minimized everything to reach it. Render it in
a LayerTop window instead and skip the blanket minimizeAll
in the D-Bus handler.
2026-04-15 10:24:12 +02:00
c61642265b Respect auto-hide setting for convergence dock
Dock and space reserver hid unconditionally on maximize.
Gate both on autoHidePanelsEnabled. Make the exclusive zone
constant — dynamic changes on a contentless surface never
get committed to the compositor.
2026-04-15 10:24:12 +02:00
1cd280e32f Add REUSE license info for HACKING.md 2026-04-14 07:41:20 +02:00
e2429b6bda Update HACKING.md for KWin script loading 2026-04-14 07:17:51 +02:00
756259bb01 Show pointer cursor on system tray icons 2026-04-13 19:37:42 +02:00
2c77b4c979 Dismiss action drawer with Escape in convergence mode 2026-04-13 13:53:53 +02:00
3cf1f4708e Show pointer cursor on dock clickable areas 2026-04-13 13:53:47 +02:00
220be94b63 Allow dragging running dock tasks to pin them
Running task icons in the convergence dock can now be dragged into the favourites section to pin the app at the drop position.

Add indexed insertion to FavouritesModel so pinning can place the new favourite at a specific slot instead of always appending.

Show a placeholder while dragging and reuse the existing addApplication path for the final pin action.
2026-04-13 12:32:54 +02:00
0cbd933e71 Add middle-click to close running dock tasks
Middle-click on a running task in the dock now closes it, matching
standard desktop taskbar behavior.
2026-04-13 11:53:26 +02:00
4efc6e29c7 Fix build instructions to use LOCAL_KAUTH_INSTALL 2026-04-13 09:39:27 +02:00
36a39e1537 Add spacer between pinned and running dock items 2026-04-13 09:39:19 +02:00
963e798e64 Add touch-mode screenshot and EUPL note
Add the committed touch-mode screenshot asset and reference it in the\nREADME. Clarify the project licensing section so the README\npoints at EUPL-1.2 while preserving upstream file licenses.
2026-04-13 09:01:37 +02:00
237ade7eb6 Add developer setup and workflow guide 2026-04-13 08:37:19 +02:00
756fa5dc54 Add EUPL-1.2 license headers for Shift-specific files
REUSE CI requires copyright and license info on every file.
CHANGELOG, README, and the two Shift screenshots are original
work, licensed under EUPL-1.2.
2026-04-12 15:19:29 +02:00
9bccbeede6 Add drag-reorder for dock favourites
Click-and-drag reordering of favourites bar items in convergence
mode.  The existing touch-based press-and-hold drag is kept for
mobile; in convergence mode, press-and-hold opens the context
menu only.

DelegateTouchArea owns the exclusive mouse grab at the C++ level,
so drag detection (threshold crossing + delta signals) is added
there rather than using a QML DragHandler.  Displaced items
animate into their new positions while the dragged item follows
the cursor.

Expose FavouritesModel::moveEntry as Q_INVOKABLE so QML can
persist the reorder.
2026-04-12 14:15:13 +02:00
ca6170c1f5 Add close button to dock thumbnail preview popup 2026-04-12 10:15:28 +02:00
213de171fb Add convergence mode screenshots to README 2026-04-12 09:48:52 +02:00
03ba3bc616 Fix Pin to Dock not reappearing after unpin
The visible binding on the Pin to Dock menu item called the
imperative containsApplication() without any reactive dependency,
so QML never re-evaluated it after model changes. Add repeater.count
to the binding to force re-evaluation when favourites change.
2026-04-12 09:36:23 +02:00
1ce85bba28 Remove tooltips from dock nav buttons
The ToolTip popups were overlapping the Home and Overview buttons,
blocking click input. The icons are self-explanatory.
2026-04-12 09:23:44 +02:00
9e60c0e923 Keep status bar visible in convergence mode
The status bar was hidden whenever a window was showing because
the fullscreen property evaluated autoHidePanelsEnabled without
checking convergence mode.  Return false from fullscreen when
convergence is active so the bar stays on screen.

Use WindowsGoBelow visibility mode in convergence so PanelView
does not manage the exclusive zone (it would fight with the
LayerOverlay layer set by QML).  Add a separate layer-shell
surface at LayerBottom with an exclusive zone matching the bar
height, following the same pattern as the dock space reserver.
Re-run setWindowProperties on convergence mode changes.
2026-04-11 13:25:26 +02:00
86b34878c7 Group dock icons by application in convergence mode
Switch TasksModel from GroupDisabled to GroupApplications so
multiple windows of the same app share a single dock icon.
Replace the per-task windowCountForTask() helper with the
built-in WinIdList role.

The thumbnail popup now shows a horizontal row of per-window
previews.  Clicking a grouped icon toggles the popup instead
of activating a single window.  "Close All" replaces the
close action for multi-window groups.
2026-04-11 13:25:01 +02:00
6fd5a59a43 Remove bug fixes bullet from CHANGELOG
These items were rolled into their respective feature commits and
do not need a separate entry.
2026-04-11 12:05:27 +02:00
3f3c2dc07c Rewrite README with disclaimer and upstream section
Replace the one-line intro with a clearer project description.
Add a disclaimer clarifying no affiliation with KDE.
Add an upstream relationship section noting this is not a direct
contribution but parts may be proposed upstream.
2026-04-11 12:05:21 +02:00
3728ef7602 Auto-hide dock when a window is maximized
Slide the dock off-screen when WindowMaximizedTracker reports a
maximized window, and bring it back on mouse proximity via a
HoverHandler.  The dockSpaceReserver exclusion zone drops to 0 so
KWin gives the full screen to the maximized window.

Animation follows the StatusBarWrapper pattern: offset property,
Translate transform, Behavior with InExpo/OutExpo easing.
2026-04-11 12:05:15 +02:00
41a64bfe8e Add opaque background to dock overlay window
The transparent dock overlay at LayerTop let maximized app content
bleed through, visible as a colored band (e.g. VLC's orange toolbar)
behind the favourites bar.

Add a Rectangle with Kirigami.Theme.backgroundColor using the Window
colorset, matching the pattern used by NavigationPanelComponent.
2026-04-11 10:34:23 +02:00
8c56409f1c Add pin-to-dock for running apps in convergence mode
Right-click a running task icon to pin the app to the dock
favourites bar. Pinned apps show a "Remove from Dock" action.

The dock overlay renders as a LayerTop window so context menus
and the dock itself stay above application windows. Menus use
popupType Window to avoid clipping inside the narrow dock
surface.
2026-04-11 09:42:21 +02:00
eb33b533c6 Show window count indicator dots on dock icons
When multiple windows of the same application are open, each
dock icon displays a row of dots matching the sibling window
count. The active window's dots are bright; inactive siblings
are dimmed. Single-window apps show one dot as before.

Uses the TasksModel AppId role to count windows sharing the
same application identity.
2026-04-10 13:32:16 +02:00
21201f1e32 Update CHANGELOG with thumbnail and bug fixes
Add thumbnail preview feature and the three convergence bug
fixes: minimized windows staying in dock, drawer overlay not
covering dock icons, and new-process launch behaviour.
2026-04-10 13:14:03 +02:00
55b985bc89 Exclude dock area from drawer dismiss overlay
The click-to-dismiss overlay for the app drawer popup
covered the dock, intercepting taps on dock icons. Add a
bottom margin equal to the dock height in convergence mode
so dock icons remain interactive.
2026-04-10 13:04:10 +02:00
92a9e2714c Keep minimized windows visible in dock
filterHidden: true removed minimized windows from the
TasksModel because on Wayland IsHidden maps to IsMinimized.
Set filterHidden to false so minimized apps remain in the
dock and can be restored by tapping their icon.
2026-04-10 13:04:04 +02:00
70c1810d82 Skip window activation in convergence mode
In phone mode, tapping a running app activates its existing
window. In convergence mode this prevents launching a new
instance of the same application.

Skip activateWindowByStorageId when convergence mode is
enabled so that launchApp is always reached, matching
standard desktop launcher behaviour.
2026-04-10 13:03:57 +02:00
29ce5117ff Show window thumbnail on dock icon hover
Hovering a running-app icon in the dock shows a live PipeWire
thumbnail of the window via zkde_screencast. Falls back to the
app icon when the stream isn't available. Clicking the thumbnail
activates the window.

Uses a tooltip-type Window so the popup renders above app windows
instead of being clipped to the panel surface.
2026-04-10 10:23:36 +02:00
2d708c028b Add CHANGELOG 2026-04-10 10:23:22 +02:00
b69a4c457c Rewrite README for Shift
The upstream plasma-mobile README is kept as pm_README.md.
The new README covers what Shift is, what convergence mode
does, and how to build/test.
2026-04-10 10:23:10 +02:00
98733bb654 Reserve screen space for the dock in convergence mode
Add an invisible layer-shell surface with an exclusive zone matching
the dock height.  KWin uses this to shrink MaximizeArea so maximized
and tiled windows no longer overlap the dock.

The previous approach of tweaking the nav-panel PanelView was a dead
end: PanelView resets its own surface properties on reconfiguration
and Wayland offers no way to set struts from a KWin script.  A
separate surface at LayerBottom with exclusionZone is the intended
protocol mechanism.
2026-04-09 19:47:38 +02:00
618a920821 Enable edge tiling and maximize in convergence mode
Allow dragging windows to screen edges: top edge to maximize,
left/right edges to tile half-screen.  These KWin options were
previously always disabled because phone mode has no use for them.
2026-04-09 19:47:29 +02:00
7af389b358 Show app drawer as popup in convergence mode
In convergence mode the app drawer appears as a sized popup
anchored above the dock near the Overview button, instead of
taking over the full screen.

- Popup has rounded background, shadow, and clipped content
- Desktop stays visible behind the popup (no scale/fade/blur)
- Click outside the popup dismisses it
- Wallpaper scrim suppressed in convergence mode
- Mobile behavior is unchanged
2026-04-09 12:35:52 +02:00
8105a0b971 Add launch action to dock favourite context menu
Right-click on a pinned favourite in the dock now shows:
- Launch: opens the app (using its own icon)
- Remove from Dock: existing unpin action, renamed for clarity
2026-04-09 12:29:38 +02:00
cf5fb25bae Make quick settings page indicator clickable
The page dots were non-interactive so clicks fell through to the
swipe area and closed the drawer. Set interactive:true and sync
the index back to the SwipeView so clicking a dot switches pages.
2026-04-09 11:43:59 +02:00
73b4ecea57 Add hover highlight to status bar in convergence mode
Mouse users had no visual cue that clicking the status bar
toggles the action drawer. Add a subtle background highlight
on hover so the bar signals interactivity.
2026-04-09 11:43:51 +02:00
db18022a9b Hide task panel strut in convergence mode
The task panel window reserved bottom-edge screen space even
with zero thickness and invisible content. Set its visibility
mode to auto-hide in convergence and force the dock bottom
margin to zero so the favourites bar sits flush at the screen
edge.
2026-04-09 11:09:25 +02:00
d2cfa5497f Add hover highlights and tooltips to convergence UI
Dock buttons, running-app icons, and favourite delegates had no
mouse-over feedback. Add 3-state highlight backgrounds (hover
and press), Kirigami.Icon active state, and tooltips following
existing Plasma patterns. Favourite delegate hover is gated on
convergence mode to avoid overlap with touch press events.
2026-04-09 11:09:15 +02:00