GNU nano - Bugs: bug #50787, titlecolor not respected on Alpine...
You are not allowed to post comments on this tracker with your current authentication level.
bug #50787: titlecolor not respected on Alpine when invoked with file argument, until a full screen refresh
Submitter: | avih <avih> | ||
Submitted: | Wed 12 Apr 2017 08:49:50 AM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Fri 05 May 2017 09:18:59 AM UTC, comment #25: |
Benno Schulenberg <bens> |
Mon 17 Apr 2017 08:15:31 PM UTC, comment #24:
|
avih <avih> |
Mon 17 Apr 2017 07:27:21 PM UTC, comment #23:
|
Benno Schulenberg <bens> |
Mon 17 Apr 2017 06:23:45 PM UTC, comment #22:
|
avih <avih> |
Mon 17 Apr 2017 09:16:36 AM UTC, comment #21:
|
Benno Schulenberg <bens> |
Mon 17 Apr 2017 09:15:37 AM UTC, comment #20:
|
Benno Schulenberg <bens> |
Fri 14 Apr 2017 10:20:47 PM UTC, comment #19: FWIW, if you feel adventurous and want to try/debug it yourself, here are exact steps to get there in a VM or actual system without touching its HDD, which should take less than 5 minutes if everything works as expected:
|
avih <avih> |
Fri 14 Apr 2017 08:43:57 PM UTC, comment #18:
|
avih <avih> |
Fri 14 Apr 2017 07:59:34 PM UTC, comment #17: If you remove the doupdate() call in statusbar(), of course things will still work correctly -- they did so before. The doupdate() call was added there for a specific reason: to get an informative message to the screen straighaway at startup. Try loading a file that consists of a few hundred thousand lines -- a giant log file is a common case. Without the doupdate(), you are staring at a blank screen and are left wondering what is happening. With the doupdate(), you see the message "Reading File", and you know you have to be patient.
|
Benno Schulenberg <bens> |
Fri 14 Apr 2017 04:38:40 PM UTC, comment #16:
|
avih <avih> |
Fri 14 Apr 2017 04:19:20 PM UTC, comment #15:
|
avih <avih> |
Fri 14 Apr 2017 09:18:35 AM UTC, comment #14: Thanks for finding the exact commit. To be precise, though: commit c2d3705 did not "introduce" the issue -- it merely /exposed/ the issue.
|
Benno Schulenberg <bens> |
Thu 13 Apr 2017 07:08:17 PM UTC, comment #13: Sorry for the spam, but it might be worth reconsidering the data points we have:
|
avih <avih> |
Thu 13 Apr 2017 06:53:39 PM UTC, comment #12:
|
avih <avih> |
Thu 13 Apr 2017 06:06:26 PM UTC, comment #11:
|
avih <avih> |
Wed 12 Apr 2017 06:49:11 PM UTC, comment #10: My suspicion is that it's a flaw in ncurses that gets exposed when running on musl. But maybe it has something to with having two versions of ncurses on your system...?
|
Benno Schulenberg <bens> |
Wed 12 Apr 2017 04:01:26 PM UTC, comment #9:
|
avih <avih> |
Wed 12 Apr 2017 03:39:22 PM UTC, comment #8: Is there a simple way to detect that nano is being compiled on Alpine or musl? So that we can do something like:
|
Benno Schulenberg <bens> |
Wed 12 Apr 2017 03:08:44 PM UTC, comment #7: Same base setup as before without the previous patches.
|
avih <avih> |
Wed 12 Apr 2017 02:57:24 PM UTC, comment #6: Instead of the previous two patches, please try the attached two. First the "trim" one, and if that does not avoid the issue, then the "later" one instead. |
Benno Schulenberg <bens> |
Wed 12 Apr 2017 12:06:49 PM UTC, comment #5: Thanks for the quick reply.
|
avih <avih> |
Wed 12 Apr 2017 11:47:12 AM UTC, comment #4: Yes, I suspected the problem is limited to Alpine Linux, because it uses musl. It is probably some misinteraction between musl and ncurses.
|
Benno Schulenberg <bens> |
Wed 12 Apr 2017 11:06:38 AM UTC, comment #3: I just tested it also on Ubuntu 16.04.2 LTS, and it does NOT have the issue. I tested the pre-packaged nano (2.5.3) and also compiled the latest git-master and on both cases the title colors are correct also when invoking with a file argument and without the need to resize or ^L .
|
avih <avih> |
Wed 12 Apr 2017 10:41:18 AM UTC, comment #2:
|
avih <avih> |
Wed 12 Apr 2017 09:50:00 AM UTC, comment #1: When you invoke nano with a file argument and you type ^L, does the titlebar then acquire the correct color?
|
Benno Schulenberg <bens> |
Wed 12 Apr 2017 08:49:50 AM UTC, original submission:
This issue exists with nano 2.8.0 as well as with current git-master 1e8f6fd7 (bump version to 2.8.1). I didn't test prior versions. Tested on Alpine-linux (Edge).
|
avih <avih> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 13 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-05-05 | bens | Open/Closed | Open | Closed | |
2017-04-17 | bens | Status | In Progress | Fixed | |
2017-04-17 | bens | Severity | 3 - Normal | 2 - Minor | |
2017-04-14 | bens | Attached File | - | Added no-info.patch, #40408 | |
Attached File | - | Added pause-after-update.patch, #40409 | |||
2017-04-14 | bens | Attached File | - | Added fully-redraw-topline.patch, #40406 | |
2017-04-12 | bens | Attached File | - | Added trim-titlefunc.patch, #40374 | |
Attached File | - | Added later-update.patch, #40375 | |||
Status | None | In Progress | |||
Assigned to | None | bens | |||
2017-04-12 | bens | Attached File | - | Added blank-bar-twice.patch, #40372 | |
Attached File | - | Added force-update.patch, #40373 | |||
Summary | titlecolor config not respected until the terminal is resized when invoked with file argument | titlecolor not respected on Alpine when invoked with file argument, until a full screen refresh |
Powered by Savane 3.13-758e.
Corresponding source code
Released in 2.8.2. Thanks again for reporting.