Skip to content
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

screen messed up after :make command on vim, and start crash. #1204

Closed
cacheflood opened this issue Nov 29, 2017 · 12 comments
Closed

screen messed up after :make command on vim, and start crash. #1204

cacheflood opened this issue Nov 29, 2017 · 12 comments
Labels

Comments

@cacheflood
Copy link

Screen gets messed up after make command from vim. Dunno is this due tilix or vim?
tilix. Screen get fixed after the mess if I move cursor etc.

ver: 1.6.4
Fedora 27: Linux xxxxxxxxx 4.13.15-300.fc27.x86_64 #1 SMP Tue Nov 21 21:10:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Also crashed sometimes when starting (when crashing,every second time starts ok, every second crashed imho)

@egmontkob
Copy link

egmontkob commented Nov 29, 2017

How reproducible is the display corruption (the � signs)?

Could you please try the same steps in xterm (at approximately the same window size, measured in characters)? Is it reproducible there?

@cacheflood
Copy link
Author

xterm works. This is reproducible. I'm using UTF-8 so it's variable length and I have special chars to show tabs. could the problem be that some routine assumes chars to be aligned by 2?

@cacheflood
Copy link
Author

This also happens when just starting vim with filename... and is annoying, happens all the time...
Removed the special tab char from vim settings, no help. But... tried also nano/less/highlight and some others, no mess... so... could this really be issue on... vim o_O ?(!)

@egmontkob
Copy link

Could you please test if disabling overlay scrollbar (Preferences -> Appearance; then restart Tilix) fixes this issue?

If not then could you test the behavior in gnome-terminal?

@cacheflood
Copy link
Author

Disabling overlay scrollbar seems to help!!!! Tried on different window sizes and repeated many times.

I'm curious... is it thread issue or just old school 'bug'? (thinking thread issue just because random appearance even start condition is same...)

@egmontkob
Copy link

Okay it's yet another phenomenon caused by #1122 then.

@egmontkob
Copy link

See also vim/vim#424.

@cacheflood
Copy link
Author

Ok, so... kind of "thread" problem... ty 👍

@gnunn1
Copy link
Owner

gnunn1 commented Dec 17, 2017

@egmontkob Is there a VTE bug already on the overlay scrollbar, should I open an issue summarizing the different issues with it?

@egmontkob
Copy link

The picture is not clear to me. There's a bug I guess about GtkScrolledWindow, and overlay scrollbar is probably related to that, but not clear to me how exactly (if at all). I can't recall a bug about overlay scrollbar in particular.

As for overlay scrollbar, the only issue seems to me that it causes VTE to frequently change its size back and forth. The rest (top, vim etc. misbehavior) are just symptoms of this. It's unclear to me why an overlay scrollbar would change the widget's width, rather than, well, overlay.

If you think VTE does anything incorrectly (rather than this being a generic bug/misdesign in Gtk+ and overlay scrollbar) then yup I think filing a bugreport is a good idea. At least we might get precious feedback from the project's main developer who's more knowledgeable in this area.

@gnunn1 gnunn1 added the bug label Dec 20, 2017
@gnunn1
Copy link
Owner

gnunn1 commented Apr 12, 2018

#1367 related issue to overlay scrollbars.

@gnunn1
Copy link
Owner

gnunn1 commented Jun 23, 2018

I have updated the FAQ with a note about the overlay scrollbars.

https://gnunn1.github.io/tilix-web/faq

@gnunn1 gnunn1 closed this as completed Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants