Skip to content

Find toolbar overlay in read-only text editor in Commit Viewer has wrong background #157

@tomaswolf

Description

@tomaswolf

Version

7.7.0.202603272141 (EGit nightly)

Operating System

MacOS, Windows

Eclipse version

2026-03

Bug description

In EGit's commit viewer, diff page, the find overlay has a gray background instead of white.

To reproduce:

  1. Go to the Git history view, select a commit, choose "Open in Commit Viewer" from the context menu.
  2. In the commit viewer (opens in the editor area), select the "Diff" tab.
  3. Type Cmd-F

Actual behavior

Image

(Note the gray background)

Expected behavior

White background, as in normal text editors:

Image

Relevant log output

Other information

This is not a regression. Also occurs with older Eclipse or EGit versions.

OS: Mac OS 13.7.7

Unclear what might cause this. Possibly some CSS issue? I initially thought it could be because it's a read-only editor, but in the "Effective POM" tab when editing a pom.xml, which is a similar read-only editor embedded in a MultiPageEditorPart, the background is correct.

Can't test right now on Windows; will check on Monday.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions