https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101306
Bug ID: 101306
Summary: positioning at line anchors is disturbed by the
navigation bar
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: giecrilj at stegny dot 2a.pl
Target Milestone: ---
When I navigate to a line anchor like #l02373, the following things happen:
1. The source file opens.
2. The source file scrolls to the anchor.
3. The navigation bar opens.
4. The source file scrolls to the beginning.
Workaround:
1. Change the anchor to #l02372!
2. Press ⏎!
3. Change the anchor to #l02373!
4. Press ⏎!
(Steps 1 and 2 are necessary, at least in Chrome, because without them ⏎
reloads the page—which recreates the bug.)