[konsole] [Bug 429024] New: Konsole cutting off bashrc messages when opening a new window

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Nov 12 17:23:03 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=429024

            Bug ID: 429024
           Summary: Konsole cutting off bashrc messages when opening a new
                    window
           Product: konsole
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: history
          Assignee: konsole-devel at kde.org
          Reporter: rockybulwinkle at gmail.com
  Target Milestone: ---

SUMMARY
When my konsole starts up, sometimes some of the messages printed in my .bashrc
are scrolled off the screen even though there is space for them. For example,
if I put:
for i in `seq 1 20`; do
    echo $i
done

in my bashrc, I will only see lines 9-20 and have to scroll to see lines 1-8.
My terminal has about 40 lines available so there is definitely enough room to
show the full output.

STEPS TO REPRODUCE
1. Add to your .bashrc "for i in `seq 1 20`; do echo $i; done"
2. Close out of Konsole
3. Open a new Konsole window

OBSERVED RESULT
I only see lines 9-20


EXPECTED RESULT
I see all the lines.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
I also tried building master at commit 600f68de2a80c0d5b04b5e2a267f134388216df5
and the bug still occurs.

I think this might be a race condition. If I add a sleep to the beginning of my
bashrc, I cannot reproduce the issue. Also when opening a new window, I see the
issue. When opening a new tab, I do not.

Initially I posted on askubuntu, but I have come to believe this is a bug in
Konsole, not some configuration issue in kubuntu. Here's the link to the
question:
https://askubuntu.com/questions/1291769/konsole-cutting-off-messages-from-my-bashrc-on-startup

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list