xlunch
xlunch copied to clipboard
Graphical bug when highlighting an icon that overlaps the scroll bar
When an icon overlaps the scroll bar, the scroll bar gets a little messed up when the icon gets highlighted. The best way to reproduce this is to start xlunch in windowed mode, resize it (decrease width), then mouse over the rightmost icons.
Screenshots:
xlunch was invoked with
xlunch --windowed < entries.dsv
This can also be triggered regardless of window width when using --textafter
, which is how I first discovered this.
The bug is because the icons overlap the scrollbar, if you set the right border to be big enough to cover the scrollbar icons will flow to the next line instead of overlapping. I guess @Tomas-M forgot to update the layouting when he added the scrollbar. The whole feature is a bit under-developed compared to everything else in xlunch. You can't even hide (well you can by setting it's opacity to full) or decide where to place it..
Yeah the scrollbar was just a quick hack for my particular use case. Patches to improve its customizability are more than welcome :)