Skip to content

No horizontal seek done to column of report when opening bug #3060

@whisperity

Description

@whisperity

Describe the bug
If the bug report you are opening is located in a column that is not visible in the code view (as it is waaaay outside to the right), a bare code view is rendered and the user has to manually seek the horizontal scrollbar.

CodeChecker version
d2ea1f29e92751b186661e184ae24376e4d5f649
This is 986ecf3 from master to which I manually merged in ee7e0a2 (#3053).

------------------------------------------------------------------------
Kind                          | Version
------------------------------------------------------------------------
Base package version          | 6.16.0
Package build date            | 2020-11-26T11:43
Git commit ID (hash)          | d2ea1f29e92751b186661e184ae24376e4d5f649
Git tag information           | 6.16
Server supported API (Thrift) | 6.36
Client API (Thrift)           | 6.36
------------------------------------------------------------------------

To Reproduce

  1. Have a bug report where the bug is reported waaay to the right side. In my case, the first bug path element is at column 190, with subsequent elements eventually pointing to column 249.
  2. Open the bug report.
  3. Something similar in nature to the following should be observed:

image

Expected behaviour
Scroll to the right so that the bug report blips are visible. Note that some of the CodeChecker-rendered balloons are cropped off (see yellow highlight) and impossible to scroll out so much to have full visibility.

image

Desktop (please complete the following information)

  • OS: Windows 10 19.09 x64
  • Browser: Firefox
  • Version: 83.0
  • Resolution: 1920×1080

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions