-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clink-popup-* windows can truncate text unnecessarily when there's only one column #579
Comments
@kahlkevin I can't reproduce the issue. Can you share a screenshot? |
@kahlkevin Ah, but this part I can repro: Debugging... UPDATE: The window width is exactly correct in this repro, but the column's text was truncated prematurely because the code accidentally reserved space for multiple columns even when there was only 1 column. I still can't yet reproduce a case where the popup window is narrower than it should be. |
Space was reserved for multiple columns when only 1 column was present. Found while investigating #579.
@kahlkevin The same truncation could happen in the history popup list, if timestamps are not shown (thus it would accidentally reserve room for 2 columns even though there's only 1 column). But I don't see any way for the window width to be too narrow: the window width is the length of the longest entry, or the width of the screen, whichever is smaller. Could it have been an optical illusion that the window was overly narrow? |
@kahlkevin I'm pretty sure the window width is correct, and that only the text within the window was truncated unnecessarily. I'll close this issue for now, but please double check and report back if the window width itself is wrong. |
Yep, I agree that it's possible I was commenting upon an optical illusion (w.r.t. the overall window width) and am completely supportive of your issue title change. However: unfortunately, this still repros for me with 1.6.10... |
Interesting! Can you share more information?
|
|
Ah, nevermind. False alarm. Now I see the problem: the old version of Thanks! |
Ah, that's good news. Thanks for returning the issues, and thanks for the update! |
clink-popup-history
,clink-popup-directories
Repro
clink-popup-directories
orclink-popup-history
Result
Popup window appears but is rather narrow. Text is unnecessarily truncated within view.
Expect
A much wider popup window.
Note
This does not repro if you skip step 2 (no search filter). The resulting popup is much wider and avoids truncation.
The text was updated successfully, but these errors were encountered: