[konsole] [Bug 498452] New: restored tabs get wrong setting: neither KONSOLE_DBUS_WINDOW environment variable, nor bash aliases

Igor Zhuravlov bugzilla_noreply at kde.org
Fri Jan 10 04:24:26 GMT 2025


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

            Bug ID: 498452
           Summary: restored tabs get wrong setting: neither
                    KONSOLE_DBUS_WINDOW environment variable, nor bash
                    aliases
    Classification: Applications
           Product: konsole
           Version: 22.12.3
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: zhuravlov.ip at ya.ru
  Target Milestone: ---

Created attachment 177242
  --> https://bugs.kde.org/attachment.cgi?id=177242&action=edit
tab#1, restored session mc, env command - broken

SUMMARY

STEPS TO REPRODUCE
1. Run Konsole.
2. Open some tabs, e.g. with bash and mc.
3. Re-login session / reboot PC.

OBSERVED RESULT
Konsole session is restored ok with tabs opened at step 2. But restored tabs
behavior is weird:
- no environment variables: BASH_FUNC_mc%%, GPG_TTY, HISTCONTROL,
KONSOLE_DBUS_WINDOW, LS_COLORS, LS_OPTIONS, MC_SID
- no bash aliases
- mc never pauses after command execution

EXPECTED RESULT
Konsole tab should behave the same regardless of whether it was restored from
previous session or opened manually by user.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.14.21-150500.55.88-default #1 SMP PREEMPT_DYNAMIC
x86_64
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

1. But if a new tab was opened manually, it behaves properly: environment vars
and bash aliases are presented, pause after execution works. Regardless of the
way a tab was opened:
- manually run dedicated mc profile,
- or manually run default profile, then run mc there.

2. Similar bugs:
- https://bugs.kde.org/show_bug.cgi?id=382116
- https://bugs.kde.org/show_bug.cgi?id=365449

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


More information about the konsole-devel mailing list