You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RStudio Desktop migrated from Qt (QtWebKit, then QtWebEngine) to Electron / Chromium some time ago, and the src/cpp/desktop Qt build is gone. However, several _WIN32 + kSessionProgramModeDesktop code paths in the session still apply workarounds that were specifically targeted at QtWebKit/QtWebEngine. The names and comments reference Qt explicitly, but the code now runs against Chromium.
The workarounds may be vestigial (no longer help, possibly degrade rendering compared to default Chromium behavior). They should be audited and either renamed/repurposed or removed after a Windows desktop smoke test.
Locations:
src/cpp/session/modules/SessionHTMLPreview.hpp:19-23 -- kQtMathJaxConfigScript macro: forces HTML-CSSminScaleAdjust: 125 and availableFonts: []. Originally to compensate for QtWebKit font rendering.
Activity
jmg421 commentedon May 14, 2026
Submitted the cleanup in #17638 — removed
kQtMathJaxConfigScriptand the desktop-mode transition disabling. Net -26 lines.