fork-dev / Tracker

Bug and issue tracker for Fork for Mac
493 stars 12 forks source link

Blame/Timeline panes are not always aligned. #2113

Open joevt opened 2 months ago

joevt commented 2 months ago

The Blame/Timeline window has two panes: the left pane with commit names and dates, and the right pane with line numbers and source file text and diffs.

The two panes are usually the same height and they scroll together and the line numbers line up with the commit names and dates.

However, in one case, the left pane is one line shorter than the right pane. The panes are in sync if you only scroll the left pane (with the mouse scroll wheel since the left pane doesn't have its own vertical scroll bar).

in sync

If you scroll the right pane in the up direction, the panes remain in sync. But if you scroll the right pane down further than the left pane can scroll, then it will be out of sync.

out of sync

The last commit with no diffs appears to represent 3 lines in the right pane. The following image is in sync:

last commit

One difference between the left pane and the right pane is that the right pane has a horizontal scroll bar which you can see in the above picture below the #endif text.

last commit not in sync

I am using Fork.app 2.42 with macOS Monterey 12.7.2.