The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Cursor displayed offset to the right of text in high DPI

Ezequiel | Last updated: Mar 06, 2024 10:56AM UTC

When running Burp Suite in a high DPI display, using UI scaling, and opening the Repeater tab (for example), trying to place the text box cursor in some text will show it offset to the right, despite any selections or edits happening in the correct place. This is especially noticeable at the end of long lines of text, where the cursor will be seemingly floating far to the right of the end of the line. This happens both if I set up the UI scaling through "Settings > User Interface > Display > Scaling" (with or without checking "Use system DPI settings"), or if I run Burp Suite with the "-Dsun.java2d.dpiaware=true" and "-Dsun.java2d.uiScale=2" Java options.

Michelle, PortSwigger Agent | Last updated: Mar 06, 2024 01:20PM UTC

Hi Can you please confirm which version of Burp you are using and wich OS it is installed on? If you go to Settings > User Interface > Display and change the scaling option in Burp to 1.0, then use the User Interface > Display > Appearance > Font and User Interface > Inspector and message editor > HTTP message display to increase the font size to a readable size, does this improve the alignment of the cursor and also give you a way of making Burp easier to use?

Alex | Last updated: Mar 06, 2024 08:26PM UTC

I have been having this issue for many years too but never reported it, but I'm glad to find out that I was not alone. I did a lot of experimentations with the settings and I found that it seems to be specific to certain combinations of fonts, font size, and DPI scaling at both the OS level and JVM level (Burp Suite Pro on Windows here; JRE19). My solution so far is to settle for a combination that works and keep it that way; it's a very trial & error approach, quite tedious a bit irritating to find a setting that works for you. This was way before the Scaling settings section was introduced, but since its appearance I still haven't had an issue (that section is not configured for me at the moment). My config: font Anka/Coder Narrow 15pt, screen 1920x1080 scaling 100% in Windows Display settings (built-in laptop screen), Scaling non configured in Burp, JVM option -Dsun.java2d.uiScale=1 The issue is especially noticeable when the OS DPI scaling is different than 100%, in particular in scales of 125% or 175% for instance. Pretty sure it's a JVM problem on how it renders fonts but I'm not too sure.

Michelle, PortSwigger Agent | Last updated: Mar 07, 2024 11:23AM UTC