Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The tooltip cannot be displayed in the correct location #8148

Closed
Gaoyifei1011 opened this issue Feb 1, 2023 · 3 comments
Closed

The tooltip cannot be displayed in the correct location #8148

Gaoyifei1011 opened this issue Feb 1, 2023 · 3 comments
Labels
area-Popup bug Something isn't working no-issue-activity product-winui3 WinUI 3 issues team-Rendering Issue for the Rendering team

Comments

@Gaoyifei1011
Copy link

Describe the bug

当工具提示设置placement属性为mouse时,本来位置是在鼠标指针的右下角,但是如果鼠标指针距离有窗口边界过近时,工具提示就不能显示在正确的位置了,请立即修复。
When the tooltip sets the placement property to mouse, the original position is in the lower right corner of the mouse pointer, but if the mouse pointer is too close to the window boundary, the tooltip cannot be displayed in the correct position, please fix it immediately.

When the window is not maximized, the tooltip display is blocked by the window boundary, and when the window is maximized, the tooltip is displayed in another location

Steps to reproduce the bug

When the window is not maximized, the tooltip display is blocked by the window boundary, and when the window is maximized, the tooltip is displayed in another location

Code
EMS)ZQFMJDP5}~ $ AM3PHE

Window maximization cases
5H8U4RIB{HI4SL )@2%W7

Expected behavior

The tooltip should appear at the bottom right of the mouse

Screenshots

No response

NuGet package version

Windows App SDK 1.2.3: 1.2.230118.102

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022

Additional context

No response

@zhuxb711
Copy link
Contributor

zhuxb711 commented Feb 1, 2023

This issue might be related to Flyout. Try Flyout.ShowAt(), you would find that the location is also incorrect in your case. Thus I think this is the issue in Flyout.

@gabbybilka
Copy link
Member

This is likely related to #5958

@gabbybilka gabbybilka transferred this issue from microsoft/WindowsAppSDK Feb 2, 2023
@gabbybilka gabbybilka added bug Something isn't working team-Rendering Issue for the Rendering team product-winui3 WinUI 3 issues area-Popup labels Feb 2, 2023
@github-actions
Copy link

github-actions bot commented Aug 1, 2023

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Popup bug Something isn't working no-issue-activity product-winui3 WinUI 3 issues team-Rendering Issue for the Rendering team
Projects
None yet
Development

No branches or pull requests

3 participants