-
Notifications
You must be signed in to change notification settings - Fork 363
Unable to see whole path when creating file with very long path/name and dashes #473
Comments
Would you mind attaching a screen capture of this behavior? I can't seem to reproduce this with OS X 10.10.3 and Atom 0.208.0-c06d62e, but I want to make sure I'm looking for the right thing. |
Yes, sure thing. Can you recommend a decent screen grabber? I tried Gifgrabber earlier, but it was rather obnoxious... I'm on OS X 10.10.3 as well, but Atom 0.207. |
@AdamBuczynski You can try LICEcap (which is what I usually use) |
+1. @adambuczynski Have you solved this somehow? |
Sorry no I haven't. |
@adambuczynski Which themes do you use? This seems to be a pretty isolated issue. |
That screen cap was with the |
cc @simurai for 🎨 👀 |
I'm not able to reproduce it. In my case, the file name just keeps moving to the left: Same thing with
That sounds like the text wraps to a new line. Or it behaves like a multi-line input, with only a height of one line. One dark must have some auto height. Have you tried with |
@simurai 😮 that's strange -- I can definitely reproduce this in the latest master version of Atom (0.211.0-fc4f2a1) in safe mode on OSX 10.10.3 with the Atom Dark theme: |
Haa.. me still not and I got the exact same setup as @izuzak. And just to be sure, what syntax theme? Although I tried all of the core ones. Also retina/non-retina screen. |
Ah man, now it's getting interesting :D I think I see the problem -- I see the same behavior as @simurai if I turn the Soft Wrap config setting OFF, but if I have Soft Wrap turned ON -- I see the behavior described in the issue. Do you see the same, @simurai? (Syntax theme: Atom dark, UI theme: Atom dark) |
Yes, that's it. Kinda makes sense now. That's something I wondered already a few times. Wouldn't it be simpler to just use |
Wish I could answer that question 😄 However, the interesting thing here is that the OneDark/OneDark theme combo behaves differently than the AtomDark/AtomDark theme combo with the Soft Wrap config setting turned ON -- OneDark/OneDark expands the textbox while the AtomDark/AtomDark doesn't. With the Soft Wrap config setting turned ON -- both theme combos have the same behavior: the textbox scrolls horizontally as you type. |
Ya, the mini editors in the One themes don't have a fixed height and just expand if the content grows. I think it wasn't intended like this and is just a lucky side effect of making the UI resizable based on font size. I guess we could try the same with Atom dark/light. Although other themes will still have this issue. So it might also be worth preventing soft wrap for all mini editors.. maybe not in find+replace? |
Should this issue be in a different repo? It isn’t specific to the tree view, but rather applies to any “mini” From my perspective, while the One theme behaviour has interesting behavior, that behavior is incidental and the best solution is to disable soft wrap on all mini I guess tests for Would it be worthwhile at the same time to extend the text editor |
I kinda agree with this. Having the input expand to multiline might work in some cases, but could also cause layout issues.
Yes, now that the root cause (SoftWrap) is known, it would make sense. Maybe issue atom/atom#5503 will take over. Proposal is to have
Soft Wrap can be changed on a per language basis. In the settings, try to search for the |
+1 thanks @simurai for workaround. |
Using @simurai's recommended styles.less fix isn't working for me. I tested on multiple themes in Atom 1.2.4 on OS X 10.11. Is there any hope of getting this fixed soon? |
I'm still having this issue, even in safe mode. VersionsAtom : 1.8.0 |
This is still an issue in Atom 1.8 on OSX. With the option Soft Wrap turned on the text goes to a new line. Turning off the option fixes it. @simurai Solution did not work for me (but could be the Theme). |
@viion What's the theme you're using? It probably needs a stronger selector. |
I used the fix from @simurai, but added !important flags: atom-text-editor[mini] {
height: auto !important;
max-height: none !important;
} |
@Sam-Hoult , thanks, the !important flags made the difference for me on v 1.12.9 with Seti-ui theme. |
@simurai good temp fix! Any plans on getting this incorporated directly into Atom? |
|
This will be fixed in Atom 1.17.0. |
Try creating a new file (or duplicating/renaming one), and type a very long name into the dialog box (e.g. some/path/my-very-very-long-filename-to-test-this-issue).
You will notice that once the text reaches the end of the box, you cannot see the end of the filename anymore. Moving left/right/up/down with arrows doesn't help. Only pressing space seems to trigger the display of the end of the filename.
The text was updated successfully, but these errors were encountered: