If the "Change history" feature is enabled in Geany, it might lead to styling issues in the tooltip displaying the diff of the current hunk. So always disable this feature for the tooltip where it is not needed.
I don't think we ever need the "Change history" in the diff tooltip, as the tooltip itself is already the improved version of the change history :).
![gcb_200](https://github.com/geany/geany-plugins/assets/617017/2b307df5-fccf-475c-901c...) This happens when the "Change history" feature is enabled in Geany, so it gets also enabled in the Scintilla widget for the tooltip where we don't need it. For some reason, by setting the margin widths to 0 in https://github.com/geany/geany-plugins/blob/master/git-changebar/src/gcb-plu... the background colors in the Scintilla widget are reset to white (or something else happens with a similar result, I don't understand completely the relation between the margin visibility and the line background color). Anyway, disable change history prevents this issue. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1281
-- Commit Summary --
* GitChangebar: disable Scintilla's Change History in diff tooltip
-- File Changes --
M git-changebar/src/gcb-plugin.c (1)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1281.patch https://github.com/geany/geany-plugins/pull/1281.diff
Merged #1281 into master.
Thanks! I didn't see it behave so badly as your screenshot, but it also looks weird if the inline option is enabled, so disabling it altogether in the popup seems the way to go -- and no, we don't need it anyway :)
FTR: the used theme on the screenshot is Inkpot.
github-comments@lists.geany.org