Line context menu and highlight is not always working #8547

Closed
opened 2025-11-02 08:10:27 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @jpraet on GitHub (Feb 11, 2022).

Gitea Version

1.16.1

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

No response

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Description

Since upgrading to Gitea 1.16.1, clicking on a line of a file (in the source browsing view) no longer highlights it.
I notice in #17145 it is supposed to display a context menu, but I don't see it.

Strangely enough, when trying to reproduce on try.gitea.io, I see that it's working for some files, but not for others?

Working here:

Not working here:

Screenshots

Not OK:

image

OK:

image

Originally created by @jpraet on GitHub (Feb 11, 2022). ### Gitea Version 1.16.1 ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? docker ### Database _No response_ ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Description Since upgrading to Gitea 1.16.1, clicking on a line of a file (in the source browsing view) no longer highlights it. I notice in #17145 it is supposed to display a context menu, but I don't see it. Strangely enough, when trying to reproduce on try.gitea.io, I see that it's working for some files, but not for others? Working here: * https://try.gitea.io/jpraet/tea/src/branch/master/main.go Not working here: * https://try.gitea.io/jpraet/review-test/src/branch/master/openapi.yaml ### Screenshots Not OK: ![image](https://user-images.githubusercontent.com/2212615/153567348-c440212c-c8e5-4d57-a54e-a7f56f2c4df7.png) OK: ![image](https://user-images.githubusercontent.com/2212615/153567132-c89af7a3-6a31-4d0d-8125-a20da3d9347d.png)
GiteaMirror added the topic/uitype/bug labels 2025-11-02 08:10:27 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8547