← Back to Blog

Troubleshooting | Jun 15, 2026 | 7 min read

Do Always-on-Top Shelves Work Across Virtual Desktops?

By Mohit Sehrawat

Do Always-on-Top Shelves Work Across Virtual Desktops? — Edge Drop Guide

A clipboard shelf that is set to always-on-top appears on every virtual desktop. For most users this is the right behaviour — a clipboard is a cross-context tool, and you want it reachable whether you are on the Work desktop or the Personal desktop. For some workflows, though, the shelf appearing on every desktop is wrong: a designer with a dedicated desktop for fullscreen Photoshop may not want the shelf visible there, and a developer with a desktop dedicated to a fullscreen game definitely does not. This guide covers how Windows virtual desktops interact with always-on-top overlays, what the Win32 flags actually do, and how to configure a shelf to follow or not follow you across desktops.

For neighbouring topics, see remote desktop fullscreen vs a local shelf and clipboard tools on multi-monitor Windows setups.

What "always on top" means

WS_EX_TOPMOST is the Win32 flag that puts a window above all non-topmost windows in z-order. A topmost window is shown above every other window on the desktop, regardless of which window has focus. This is the flag used by the taskbar, by tooltips, by the input indicator, and by various overlay utilities.

Critically, WS_EX_TOPMOST is a z-order property, not a desktop property. The window is topmost within whatever desktop it belongs to. The question of which desktop the window belongs to is a separate property, controlled by a different mechanism.

How virtual desktops are implemented

Windows 10 and 11 implement virtual desktops as a shell feature, not as a kernel feature. Each virtual desktop is a logical grouping of windows; the OS shows one grouping at a time and hides the others. The DWM composites the visible grouping onto the screen, and the hidden groupings are simply not rendered.

When a window is created, it belongs to the desktop that is currently visible. Switching desktops does not destroy the window — it hides it. The window's process keeps running, its state is preserved, and switching back to the original desktop restores it.

An application can ask the OS to make a window appear on all desktops. The mechanism is the IVirtualDesktopManager COM interface, exposed by the explorer.exe shell. An application calls IVirtualDesktopManager::MoveWindowToDesktop with a special "current" handle to keep the window on whatever desktop is currently visible, or pins the window to all desktops through a shell call. The Task Manager and the Win+Tab view expose this as "Show this window on all desktops" in the right-click menu.

What a clipboard shelf should do

The right answer for a clipboard shelf is: appear on all desktops, suppress itself during fullscreen exclusive mode, and let the user override the first behaviour if they want the shelf confined to one desktop.

The reasoning:

  • Appear on all desktops because a clipboard is a cross-context tool. The user copies something on the Work desktop and may want to paste it on the Personal desktop. A shelf that does not follow desktop switches forces the user to switch back to the Work desktop to retrieve the item.
  • Suppress during fullscreen exclusive mode because a fullscreen game or presentation should not have the shelf visible. The shelf's SHQueryUserNotificationState check should detect fullscreen and hide. See should a clipboard app hide in games for the fullscreen discussion.
  • Let the user override because some workflows benefit from a desktop-local shelf. A designer with a dedicated Photoshop desktop may want a shelf that only appears there, holding image clips that should not be visible in the browser desktop.

How to configure the behaviour

Windows itself does not expose a per-window "appear on all desktops" setting in the UI for arbitrary applications. The right-click menu in the taskbar offers "Show this window on all desktops" and "Show windows from this app on all desktops" for windows the OS recognises, but the setting is not sticky across reboots for all apps.

A well-behaved shelf calls IVirtualDesktopManager itself on startup to register as a desktop-pinned window. This is the same call that keeps the taskbar visible on all desktops. The shelf does not need the user to do anything; the behaviour is the default.

If the shelf does not pin itself, the user can right-click the shelf's taskbar button (if the shelf has one — many overlays do not) and select "Show windows from this app on all desktops." This works only if the shelf has a taskbar presence, which frameless transparent overlays typically do not.

Common failure modes

  • The shelf appears only on the desktop where it was launched. Symptom: switching to another desktop hides the shelf; switching back restores it. Cause: the shelf is not pinning itself to all desktops. Fix: pin the window via the taskbar right-click menu if available, or restart the shelf on the desktop where you want it.
  • The shelf appears on top of fullscreen games. Symptom: the shelf is visible during a fullscreen game, blocking part of the screen. Cause: the shelf is not checking SHQueryUserNotificationState. Fix: enable the shelf's "suppress in fullscreen" setting, or close the shelf before launching the game.
  • The shelf flickers during the Win+Tab animation. Symptom: the shelf briefly disappears during the desktop switch animation and reappears. Cause: the shelf is being hidden and re-shown by the OS during the switch. Fix: this is generally harmless; if it is distracting, the shelf can use a longer fade-in animation to mask the flicker.
  • The shelf's hover trigger fires during the Win+Tab view. Symptom: moving the cursor in Win+Tab view opens the shelf over the desktop switcher. Cause: the shelf's hover trigger is not suppressed during the Win+Tab view. Fix: the shelf should treat the Win+Tab view as equivalent to fullscreen and suppress hover.

Multi-monitor interaction

On a multi-monitor setup, each virtual desktop spans all monitors. A window on Desktop 1's left monitor and a window on Desktop 1's right monitor are both visible. Switching to Desktop 2 hides both windows and shows whatever was on Desktop 2's left and right monitors.

A shelf set to appear on all desktops appears on whatever monitor it is configured for, on every desktop. The shelf's monitor choice is independent of its desktop choice — they are two separate persistence properties. For the monitor-choice discussion, see clipboard tools on multi-monitor Windows setups and how to pick which monitor Edge-Drop uses.

The screen-share and presentation case

A user sharing their screen on a video call has a stronger reason to want the shelf hidden on at least one desktop. The standard pattern is to dedicate one virtual desktop to the call — browser with the meeting tab, the windows being shared, and nothing else — and to keep personal and clipboard history on a separate desktop. An always-on-top shelf pinned to all desktops breaks this isolation. Even if the shelf is collapsed, the collapsed strip is visible to attendees, and a stray hover that opens the shelf mid-share is a privacy incident.

The mitigations are limited. The shelf can be quit before the call, which loses clipboard history access for the call's duration. The shelf can be configured to suppress in fullscreen, but most screen-share windows are not fullscreen. The cleanest answer is a per-desktop override: the shelf appears on all desktops except the one named "Share" or "Meeting." Edge-Drop does not currently expose this control; users who need it should pin the meeting desktop to Win+V and quit the shelf for the call.

Honest positioning

Edge-Drop, the Windows hover-activated clipboard shelf, pins itself to all virtual desktops by default and suppresses hover activation during fullscreen exclusive mode (via SHQueryUserNotificationState). The shelf does not currently expose a "confine to one desktop" setting; the assumption is that a clipboard is a cross-context tool and should be reachable everywhere. If a user wants the shelf confined to one desktop, the workaround is to quit the shelf before switching to the desktop where it is not wanted — which is clumsy and not the recommended workflow. The honest answer for users who genuinely need desktop-local clipboard state is to use the OS's Win+V history, which is per-session and not per-desktop but at least does not appear as a visible overlay.

What to check

If your shelf is misbehaving across virtual desktops, work through these:

  1. Does the shelf appear on every desktop after a manual switch? (Win+Ctrl+D to create a new desktop, Win+Ctrl+Left/Right to switch.)
  2. Does the shelf hide during fullscreen games? (Launch a fullscreen game and check.)
  3. Does the shelf's hover trigger suppress during the Win+Tab view? (Press Win+Tab and try to trigger the shelf.)
  4. Does the shelf reappear correctly after the OS finishes the desktop switch animation?
  5. Does the shelf's monitor choice persist across desktop switches? (Switch to another desktop and confirm the shelf is still on the configured monitor.)

A "yes" to all five is the right answer. Failures on item 1 or 2 are the most disruptive; failures on item 3, 4, or 5 are cosmetic.

Related reading

Sources

Mohit Sehrawat
Written by Mohit Sehrawat · Author & Software Tester

Mohit Sehrawat is a B.Tech Computer Science Engineering student with a focus on software testing, bug detection, and product quality. He is interested in exploring applications, identifying issues, and improving the overall user experience through thorough testing.

GitHub · LinkedIn

Copy. Stack. Drop.

Transform your clipboard into an interactive edge shelf. Stack, pin, and drag assets into any app with zero friction.

Download for Windows Get from Microsoft Store

How to Install Guide · First 10 Minutes Guide · Drag & Drop Guide · Edge-Drop vs Win+V · Support

Free · Lightweight · Privacy First
Find us on CodeHype