-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Quick open shows weird truncation when highlighting matches #42501
Comments
I have seen this before in another issue but was never able to reproduce. Does it reproduce if you disable icons? |
Yes, turning off icons doesn't change it. It seems to be something to do with the '-' character. For instance, if I type 'asl-e' it happens, but typing 'asl-g' it does not? Could be a regex issue... |
@Gruntfuggly are you able to share the sources with me to try to reproduce? |
Unfortunately the codebase is commercial. However I could provide you with the storage.json from my config files which I think contains the history? |
@Gruntfuggly no, the history is somewhere else. Can you configure |
@Gruntfuggly also when you scroll down that list, is there an entry which is so large that it maybe pushes the rest? |
@Gruntfuggly that does not explain why the "..." shows in such a weird spot, e.g. I would expect to first fill the full available space and then show "...". See what I get, the "..." shows up in the end as expected: This could be a Chrome layouting issue after all. Can you check if the element is expanded to the full width? |
The quick-open-row div is full width. This is the same for when there is truncation and when there isn't. The onlty thing that would appear to be different in our cases is that my description is shorter than the available width? When using the inspector, I can't see anything obviously different from when it is truncated and when it isn't. Some further clues maybe though - it only happens to certain file types: It is definitely not the icon though - it happens with no icon theme selected. It only happens when I've typed a dash. I've tried lots of other combinations, but it's only with dash and certain other letters. |
I can reproduce on Linux when I have a file called /cc @joaomoreno if you have any idea how to fix this |
Some ideas:
|
Using the open recent dialog, it seems to pointelessly truncate the last two characters of each folder name (most of these end in 'gui'):
The text was updated successfully, but these errors were encountered: