-
-
Notifications
You must be signed in to change notification settings - Fork 71
cview update #107
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
cview update #107
Conversation
Co-authored-by: makeworld <25111343+makeworld-the-better-one@users.noreply.github.com>
Hi @makeworld-the-better-one. I'm happy to test these changes - let me know once it is merged and I'll try it out |
@LukeEmmet Thanks! There's currently many bugs going on, so maybe I'll @ you again right before merge and you can test out the issue in #43. You're also welcome to test on your own time, there just might be other bugs. Let me know and I can upload a binary. Here's a current one, no guarantees. (Windows 64-bit) |
hi @makeworld-the-better-one I just tried that binary - it works! Well I only tested the pasting long URL into the address box though. I'm happy to try future updates, let me know. I'm not sure if I'm confident enough to create a build based on an unmerged PR, so you might have to create a binary for me again though (edit) I did spot a minor thing - when it navigates to a web URL, it leaves the info box open, which I cannot seem to close by pressing return, space or escape. It just reactivates the [ok] button and launches the web URL again. |
That's good enough for me! Very happy to hear that works. I might @ you later for future updates, but I don't see this regressing (since it's not my code) so I think we're good. Thanks! |
Won't compile yet but conflicts were resolved.
This commit introduced flashing issues in the tab row when reformatting, and even can panic in certain reformatting situations. These bugs have been logged in the inital comment of the PR.
I'm not sure if anyone is watching this thread, but if they are, I'd appreciate if they could try out this PR and just do some general testing, find out if anything is broken or buggy or doesn't work like the master branch does. Thanks!
|
This fixes the display issue when the | character is used as a keybinding. Co-authored-by: Stephen Robinson <stephen@drsudo.net>
@objectliteral @sudobash1 @ThomasAdam If any of you are interested in trying out this branch and seeing if anything is broken that would be much appreciated. It's pretty much ready at this point, the step I'm on now is just "Extensive general testing". So just try out all the features you know, use it normally, do weird things, etc. If the bug you find still happens on the master branch, you can make an issue, but otherwise just report it in this thread. Thank you! |
Sure! So far, so good. I take it that the tab bar along the top is now supposed to wrap if the number of tabs is greater than the terminal width? The version on |
@ThomasAdam Interesting, I didn't expect that. The bar is done differently now. I'll see what I can do, as I think wrapping is worse off. |
I noticed a difference in horizontal scrolling with the new version: When a line is long enough (or the terminal narrow enough) such that the document can be scrolled horizontally, the version in Can be easily reproduced with preformatted text:
I don't know which of the two scrolling behaviors is prefered. (I think I like the old one better...) |
@objectliteral Thanks for reminding me about this. See 90654cd and #26 for why this happened. Basically the old left margin was just spaces that was stored as part of the page rendering. Now it's done as a flex element, which is much much more efficient. However I think this is out of scope for this PR. I can make a new issue for this when this gets merged. |
@ThomasAdam I filed this issue with cview about the tab bar wrapping. It will not be fixed before this PR is merged. |
Fixes #43
(Would appreciate if @LukeEmmet could test this)Fixes #105
Fixes #161
Todo
Merge
master
back into this branch and get it to compileReplace
browser.SetCurrentTab
withpanels.HidePanel(modal)
Make sure
panels.SendToFront
is used everywhere afterpanels.ShowPanel
Make
"help"
a panel instead of a tabRe-implement favicons using
SetTabLabel
Set up tab colors from config
Fix tab number and favicons when moving through history
Add
.Truecolor()
to user loaded colors and testFix ANSI on white terminal issue as described in cview issue 25
Fix background for tab dividers
Test theme changes, especially general ones like for all modal buttons and text
Fix ANSI document left margin color leaking
Replace left margin spaces with an empty primitive - fixes Left margin performance #26
Replace usage of
cview.WordWrap
with usingTextView.SetWrapWidth
, see this comment - Incorrect line wrapping when line has brackets #156Add empty line underneath tab row
Make sure page scrollbar is enabled everywhere, make config option to turn it off, make it themeable - fixes Show indicator of scroll level #89
Test stuff like this still works: (Also used by
bkmkModal
):New bugs (mark complete when fixed)
Help
appears up top as the first tabUpstream issues
Added to NOTES.md already