JetBrains / JetBrains/jcef

CSS cursor styles not working in browser preview (IDEA 2025.1.2)

Open
#31 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Java
Stars
371
Forks
52
PR merge metrics
No merged PRs in 30d

Description

In IntelliJ IDEA version 2025.1.2, CSS cursor styles are not being applied correctly in the built-in browser preview. This includes default cursor behaviors such as the hand pointer (cursor: pointer) on clickable elements like links or buttons.

As a result, all interactive elements appear without any visual feedback for mouse interaction — for example:

Links do not show the default pointer cursor
Custom cursors defined via CSS (e.g., cursor: url(...), cursor: move, etc.) also have no effect
This appears to be a serious rendering issue in the IDE’s embedded browser and significantly impacts front-end development workflows that rely on accurate live previews.

Expected behavior:

CSS cursor styles should render correctly in the IDE's browser preview, just as they do in standard web browsers.

Actual behavior:

All cursor styles are ignored; no pointer changes occur regardless of CSS rules.

Version info:

IntelliJ IDEA 2025.1.2
OS: [Your Operating System, e.g., Windows 11, macOS Sonoma, Ubuntu 22.04]
Browser preview engine: [If known, e.g., JCEF based on Chromium 123]
Additional context:

I haven’t tested earlier versions extensively, but it’s possible this issue existed in previous releases. It would be helpful if others could confirm whether this is a regression or a long-standing issue.

Let me know if you want to adapt this for a JetBrains YouTrack ticket instead (where IDEA issues are usually tracked).

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or entry point is identified. First reproduce the missing cursor behavior with IntelliJ IDEA 2025.1.2 and record the operating system and browser preview engine; done means pointer and custom CSS cursors render in the embedded preview as they do in a standard browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, java
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.