By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2362

Summary: konsole keeps forgetting settings->bell->system bell
Product: TDE Reporter: Bob Freeman <bobfreeman>
Component: other (any)Assignee: Timothy Pearson <kb9vqf>
Status: NEW ---    
Severity: normal CC: bobfreeman, bugwatch, darrella, michele.calgaro
Priority: P5    
Version: R14.0.x [Trinity]   
Hardware: All   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:

Description Bob Freeman 2015-02-08 09:09:14 CST
Konsole keeps forgetting settings->bell->'system bell', and changing to visible bell (1 tab was already visible bell). It happens on startup of X, when reloading a previous session. It has happened very often, and was there in KDE3.

It's annoying, because I have to go through all the tabs one by one and set them to 'system bell' (except to one I have on 'visible bell'). Possibly it depends which tab was selected when I shut down X, but I'm not really sure. I've often done settings->'save as default' but it doesn't seem to be a reliable fix.
Comment 1 Darrell 2015-02-08 14:46:39 CST
Considering my reply in bug 2356, my first response is to properly convert the KDE3 profile. As you shared that the bug existed in KDE3, the bug might still exist in TDE, but a known good profile is needed.
Comment 2 Michele Calgaro 2018-08-03 05:41:49 CDT
I can't reproduce this bug. Is it still happening?
Comment 3 Bob Freeman 2018-08-26 13:56:34 CDT
Yes, it happens roughly every other time I start TDE.
Comment 4 Michele Calgaro 2018-08-26 19:07:45 CDT
Ok, thanks for the feedback. Can you post your konsole settings and anything else that could be useful? Also have you tried to save the session settings from Konsole and see if it makes any difference?
Comment 5 Bob Freeman 2018-08-28 09:36:14 CDT
I looked in '~/.trinity/share/config/konsolerc' and '~/.trinity/share/config/session/konsole_*' and the only relevant thing was 'bellmode=0'. In fact it has to do with the second of these files, the session restore file(s), see below.
bellmode=0  means 'System Bell'
bellmode=2  means 'Visible Bell'

I just tested it in a test account with no profile (to start with) and Xephyr, eg:
'Xephyr :3 &' [With possible '-screen XxY' option]
'DISPLAY=:3 /opt/trinity/bin/starttde &'
Once I thought of using Xephyr it was much easier to debug.

Steps to reproduce:
Set one konsole tab to 'Visible Bell'
Select another tab (which has 'System Bell')
Open a new tab and verify that it has 'System Bell'
Log out of TDE. The '~/.trinity/share/config/session/konsole_*' will include 'bellmode=2', even though the default was 'bellmode=0', and most tabs were 'bellmode=0', and all new tabs were being opened as 'bellmode=0'.

The issue seems to be that the session-save files only have one 'bellmode=' option, even if there are many tabs, leading to unexpected behaviour. If one tab always has a different bell setting it would be useful to save and restore that, ie it would be useful in the session file to replace 'bellmode=' with 'bellmode0=', 'bellmode1=', 'bellmode2=', etc.

It's also somewhat confusing that even if you set it to 'System Bell', and do 'Save as Default', (then maybe select a different tab) and then open a new tab (even immediately afterwards), you may or may not get 'System Bell' in that tab. This is because it copies the bell setting from the currently selected tab.
Comment 6 Michele Calgaro 2018-08-30 05:52:18 CDT
Thanks Bob!
I didn't know xypher, but I have already tried it out. It looks a great tool for testing :-)