Repository navigation
Description
Popup shrinks and clips on 100% monitor with a 150% laptop display in v1.6.0
This appears related to #84, but it still happens in v1.6.0.
Environment
- Windows 11 Pro, build 26200
- AppGroup 1.6.0, product version
1.6.0+2e85afae30011fc6f2e4e3f03e5772abf00f0530 - Main external monitor: ASUS XG27ACSR, 2560 x 1440, 100% scaling, desktop bounds
(0, 0)to(2560, 1440) - Laptop display: B160QAN03.Y, 2560 x 1600, 150% scaling, desktop bounds
(2560, -67)to(5120, 1533) - Taskbar shown on both displays
- No AppGroup DPI compatibility override found
Reproduction
- Use the extended desktop arrangement above.
- Create a group with five apps, three columns, Default layout, no header, and no labels.
- Open its taskbar popup on the external monitor.
The popup works on the laptop display. On the external monitor, it shows two columns, clips the lower row, and does not show all five apps in the visible area.
Measurements
A read-only Win32 probe, with its thread set to PerMonitorV2, captured the visible broken popup:
GetDpiForWindow: 96
Window position: (572, 1270)
Window size: 116 x 77 physical pixels
Client size: 100 x 69 physical pixels
For this group, PopupWindow.xaml.cs at the installed build commit computes a requested size of 174 x 116 pixels at 100% scaling:
width = 3 * (40 + 2 * 4) + 30 = 174
height = ceil(5 / 3) * (40 + 2 * 4) + 20 = 116
The measured size is approximately two-thirds of that calculated size, matching the 96/144 DPI ratio. A separate measurement found the hidden popup at 144 DPI while the main window was at 96 DPI.
Already tried
- Fully quit and reopen AppGroup
- Disable both window and content slide animations
- Move the main window to the external monitor before quitting and reopening
None resolved the issue. All five shortcuts and their cached icons exist.
Possible cause, not yet confirmed with in-process tracing
UpdateWindowSize calculates the destination-monitor size, calls PositionWindowOffScreen, resizes, then repositions the popup. PositionWindowOffScreenBelow can also move the window onto the laptop display in this arrangement. This may trigger another DPI resize after the explicitly calculated dimensions have been applied.
Please check whether final sizing needs to occur after moving to the destination monitor and after the XAML DPI transition has completed. The wrapping grid may then need a layout refresh. The primary-display height limit also uses DisplayArea.Primary rather than the destination monitor.
Related issue: #84
Activity
MatheusFS-dev commentedon Oct 31, 2026
With problem:

Correct:

sandwich commentedon Nov 13, 2026
I also have this problem, but from the other direction - I'm on a desktop with four monitors: three of them are various sizes and 100% scaling, while the fourth is a very high-PPI, portable monitor I run at 200% scaling.
The app group is pinned to one of my 100% monitors. With the portable monitor plugged in, I get a very similar group appearance:
When I unplug the portable monitor, it looks great:
Upon further testing:
holtzp commentedon Nov 15, 2026
I'm experiencing the same thing with v1.6.0. I've got two 1440p monitors at 100% scaling and a 4K monitor at 300% scaling. The 4K monitor shows the app group pop-up correctly:
This is what I'm seeing instead on the 1440p monitors:
I've reverted to v1.5.0, which works correctly on my 1440p monitors, but when I click the app group on the 4K monitor the scaling is so off that the pop-up appears on the next monitor instead.
AmitBerg commentedon Nov 15, 2026
I hit the same bug and traced it to the root cause. Details and a suggested fix are below.
Environment
Symptom
A group with 3 items and
groupCol: 3shows only 2 icons in the popup when opened on the 100% monitor. The third item wraps to a second row that is cut off, and a vertical scrollbar appears. Toggling labels or header on/off doesn't help.Measured with UI Automation on the 100% monitor: popup window is 151 px wide, the item list is 96 px (2 × 48), the third
ListItemhas an empty bounding rectangle.Cause
In
PopupWindow.InitializeWindow():The size is computed with the cursor monitor's scale factor (1.0) but applied while the window sits at the off-screen park position, which belongs to the primary monitor (1.25). When the window is then moved to the target monitor, Windows rescales it for the DPI change (×0.8), so it ends up 20% too small:
(3 × 48 × 1.0 + 45) / 1.25 ≈ 151 px, which matches the measured width.This also explains the reports above. The popup comes out too small on a 100% monitor whenever the park position,
(0, primaryWorkAreaHeight + 100), falls on a higher-DPI monitor (or the primary is the higher-DPI one). It comes out too big in the opposite case. It's also why the popup can briefly be seen on a monitor placed below the primary.A second, smaller issue: the padding constants are added after scaling and are not DPI-scaled themselves:
Suggested fix
Use the DPI of the monitor the window is on when
SetSizeruns, not the cursor's monitor. For example, park the window first and then measure:The subsequent move to the target monitor then scales the window correctly through the normal
WM_DPICHANGEDhandling.Verified workaround
I confirmed this locally by binary-patching
AppGroup.dll(v1.6.0) so thatGetDisplayInformationalways takes theMonitorFromWindowbranch, and by increasing the width padding constant from 30 to 45. After that, the popup shows all 3 items in one row on both the 100% and 125% monitors, whether opened from the taskbar or the command line.iandiv commentedon Nov 16, 2026
Hi everyone, sorry for the late reply, Ive been busy with work.
Thanks for the detailed reports, especially @AmitBerg for identifying the likely cause. I will investigate this and work on a fix for the next update.