sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
809 stars 39 forks source link

The right status bar items disappear/vanish when status area expands #2316

Open evandrocoan opened 6 years ago

evandrocoan commented 6 years ago

Summary

The status bar items disappear after selecting a big block of text.

back

Expected behavior

image

Actual behavior

image

Steps to reproduce

  1. Select a big amount of text

Environment

keith-hall commented 6 years ago

as you are using a third party plugin that adds something to the status bar related to the selected text, probably this can be considered a duplicate of something like https://github.com/SublimeTextIssues/Core/issues/1642 whereby text gets cut off when the status bar text is too long

evandrocoan commented 6 years ago

This cannot be a duplicate because everything was working fine on build 3161. Also, that issue is not about the right status bar items vanishing.

keith-hall commented 6 years ago

ah sorry, I missed that it was the right-most interactive items that disappeared, I thought you were talking about the text in the left of the status bar. Is this reproducible in a clean state? I'm on mobile atm else I'd try to test it myself. Thanks :)

evandrocoan commented 6 years ago

I cannot reproduce it on a clean install because the issue is triggered accordingly to the size of the selected text showed on the status bar. Just look it:

back

By disabling the package https://packagecontrol.io/packages/WordHighlight this issue is minimized as the status bar text does not show part of the selection anymore:

back1

keith-hall commented 6 years ago

having spell check on definitely exacerbates the situation (EDIT: because it adds an extra panel to the status bar), and it is easiest to see with a narrow ST window - it seems that when the status bar text changes length, it sometimes pushes the other components of the status bar to the right - I guess when enough text is placed in the status bar then it pushes those components out of the range of the window size. I'm not sure if it ever previously did this or not, but I'm tagging as an enhancement for now, because maybe it's intended that people will find the status bar text more useful than the static/extra components.