Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query scrollbars appear when they shouldn't, don't appear when they should #1886

Open
Germs2004 opened this issue Dec 18, 2023 · 0 comments
Open

Comments

@Germs2004
Copy link

Preconditions

  • HeidiSQL version: 12.6.0.6782 (64 bit)
  • Database type and version: MariaDB 11.2.2
  • OS: Windows 10 Pro x64 22H2

Describe the bug
In the Query tab, I can make the scrollbars stay visible when they shouldn't (the text fits in the textbox). I can also make the scrollbars invisible when they should appear (the text extends beyond the right edge of the textbox).

To Reproduce
Missing scrollbar:

  1. Open a new Query tab
  2. Copy/paste "abcdefghijklmnopqrstuvwxyz" a few times with a space between each one, until the text almost fills the whole width of the textbox. There should be no scrollbar at this point.
  3. Now, move the cursor to the front of that line and start typing 1234567890 until you see the right edge of that line extend beyond the right edge of the textbox. We SHOULD get a horizontal scrollbar here, but it doesn't appear.
    image
    image

Unnecessary scrollbar:

  1. Open a new Query tab
  2. Press Enter a few times to add some blank rows.
  3. Put the input cursor at Line 1.
  4. Copy/paste "abcdefghijklmnopqrstuvwxyz" a few times with a space between each one, until the text reaches beyond the right edge of the textbox and causes the horizontal scrollbar to appear.
  5. Scroll back to the left.
  6. Click one of the blank lines.
  7. Type CTRL-Z to undo your last paste of "abcdefghijklmnopqrstuvwxyz". This should cause the text displayed to be short enough to fit in the textbox again, which should not need a scrollbar, but the scrollbar remains. Trying to click or drag that scrollbar has no effect - the scrollbar is stuck to the left side.
    image

Screenshots or Crash reports
screenshots above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant