tao icon indicating copy to clipboard operation
tao copied to clipboard

Cursor flickering when hovering on the border of frameless window

Open idlist opened this issue 2 years ago • 0 comments

Firstly mentioned in tauri#3040 and also in #376.

That is to say, when hover the cursor inside the dragging room of resizing operation on the border of a frameless window, the cursor would quickly flicker between "default" and "two-sided arrow", and making it somewhat hard to identify if I can resize the window with current cursor position (since sometimes the cursor would be "default" when I stop moving it inside the dragging room). This behavior is more obvious on screen with high DPI scaling factor.

This GIF shows the flickering when moving the cursor outside of the window (the window is on the left of the CSS border line). The behavior could be also observed when moving cursor into the window. flickering1

This GIF shows the possible confusion brought by the issue. In this case, the cursor shows "default" inside the dragging room instead of "two-sided arrows", and when I click on the position (yellow circle indicates when I click) I can actually drag the border but I may treat it as I cannot. flickering2

idlist avatar May 07 '22 13:05 idlist