Frameless windows break mouse cursor on High DPI monitors with scaling #14787
Comments
|
To help make it easier for us to investigate your issue, please follow the contributing guidelines. |
|
Filed before: #13911 There's a fiddle in there which you can just load up in Electron Fiddle: https://gist.github.com/joaomoreno/2bb9879aee864f22704882b5fac825c3 |
|
Thank you for taking the time to report this issue and helping to make Electron better. The version of Electron you reported this on has been superseded by newer releases. If you're still experiencing this issue in Electron v4.2.x or later, please add a comment specifying the version you're testing with and any other new information that a maintainer trying to reproduce the issue should know. I'm setting the Thanks in advance! Your help is appreciated. |
|
@sofianguy This sounds very similar to #5723, where people are reporting that it still occurs on 6.0.0: #5723 (comment) |
|
This appears to be fixed on today's VS Code Insiders, which is based on Electron 6.0.9! Can you confirm @sbatten? @sofianguy Did any work happen here? |
|
confirmed that this does not repro in the latest insiders of VS Code using 6.0.9 as @joaomoreno suggests |
|
closing because this issue is reported as fixed |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Tested Electron version 2.0.9 and 3.0.0
Expected Behavior
Elements set with cursor
textshould show the text cursor when using frameless windows on High DPI monitors with scaling higher than 100%.Actual behavior
When using higher than 100% scaling on a high dpi monitor and frameless electron windows, elements with a text cursor revert to the default cursor half-way down the element.
To Reproduce
In VSCode you can enable the custom title bar by setting
window.titleBarStyletocustom. This will use a frameless window. On a high DPI monitor with your display settings set to 200%, you can see that mousing around the editor reveals this bug. You can also repro this using Electron Fiddle and a single div in the page with cursor set to text. Make sure the div is fairly large (say 500px).Initially reported in VSCode: microsoft/vscode#58383 (comment)
The text was updated successfully, but these errors were encountered: