Bug 393174 - Powerline prompts no longer visible after 7926db9d18936178f87e96afe15fcc97c7f0c3fb
Summary: Powerline prompts no longer visible after 7926db9d18936178f87e96afe15fcc97c7f...
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: font (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-15 21:28 UTC by Luca Beltrame
Modified: 2018-04-18 00:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Black powerline prompt (highlighted to show the issue) (19.99 KB, image/png)
2018-04-15 21:28 UTC, Luca Beltrame
Details
Correct rendering with the commit reverted (15.92 KB, image/png)
2018-04-15 21:29 UTC, Luca Beltrame
Details
Configuration (1001 bytes, application/json)
2018-04-17 15:10 UTC, Luca Beltrame
Details
Colorscheme (671 bytes, text/plain)
2018-04-17 16:09 UTC, Luca Beltrame
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Beltrame 2018-04-15 21:28:12 UTC
Created attachment 112052 [details]
Black powerline prompt (highlighted to show the issue)

The prompts displayed by the "powerline" utility (https://powerline.readthedocs.io/en/master/index.html) are no longer visible after 7926db9d18936178f87e96afe15fcc97c7f0c3fb: they are simply drawn black.

Reverting this commit restores the previous behavior. Screenshots attached.
Comment 1 Luca Beltrame 2018-04-15 21:29:37 UTC
Created attachment 112053 [details]
Correct rendering with the commit reverted
Comment 2 Kurt Hindenburg 2018-04-17 14:17:27 UTC
great - I'll look at - thanks for running master
Comment 3 Kurt Hindenburg 2018-04-17 14:45:14 UTC
Can you give some more info about how you have powerline setup?  The default zsh seems to look OK here.
Comment 4 Luca Beltrame 2018-04-17 14:50:22 UTC
I run powerline as a daemon with mostly default configuration. Excerpt from my bashrc:

if [ -f /usr/bin/powerline-daemon ]; then
    powerline-daemon -q
    POWERLINE_BASH_CONTINUATION=1
    POWERLINE_BASH_SELECT=1
    . /usr/share/powerline/bash/powerline.sh
fi
Comment 5 Kurt Hindenburg 2018-04-17 15:04:40 UTC
What colorscheme and other non-default options?  I can revert it but I'd like to be able to duplicate the issue so I can fix the tests/code.
Comment 6 Luca Beltrame 2018-04-17 15:10:29 UTC
Created attachment 112076 [details]
Configuration
Comment 7 Kurt Hindenburg 2018-04-17 15:21:05 UTC
That's the powerline config.  What about konsole colorscheme and other non-default options?
Comment 8 Luca Beltrame 2018-04-17 16:03:20 UTC
Whoops, sorry.

This is my current profile (derived from Shell.profile)

[Appearance]
AntiAliasFonts=true
ColorScheme=WhiteOnBlack
Font=DejaVu Sans Mono [unknown],9,-1,5,50,0,0,0,0,0

[General]
Environment=TERM=xterm-256color
Name=Shell
Parent=FALLBACK/

[Scrolling]
HistoryMode=1
HistorySize=5000
Comment 9 Luca Beltrame 2018-04-17 16:08:43 UTC
Argh! Ignore the previous comment, I took it from the wrong machine.

These are the ones I'm using:

Shell.profile

[Appearance]
AntiAliasFonts=true
ColorScheme=WhiteOnBlack
Font=Source Code Pro,11,-1,5,50,0,0,0,0,0

[General]
Environment=TERM=xterm-256color
Name=Shell
Parent=FALLBACK/

[Interaction Options]
AlternateScrolling=false

I'll attach my colorscheme.
Comment 10 Luca Beltrame 2018-04-17 16:09:32 UTC
Created attachment 112077 [details]
Colorscheme
Comment 11 Kurt Hindenburg 2018-04-18 00:21:31 UTC
Git commit 2336fe6b6bc0f8bdae18003defbba904d7abc7ec by Kurt Hindenburg.
Committed on 18/04/2018 at 00:20.
Pushed by hindenburg into branch 'master'.

Revert "s/quint8/int/ to simplify and avoid conversion issues"

This reverts commit 7926db9d18936178f87e96afe15fcc97c7f0c3fb.

M  +6    -6    src/CharacterColor.h

https://commits.kde.org/konsole/2336fe6b6bc0f8bdae18003defbba904d7abc7ec