Bug 408458 - The window icon is changing to BELL
Summary: The window icon is changing to BELL
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 19.04.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-08 18:06 UTC by Juraj
Modified: 2020-12-24 16:44 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Inspecting konsole window with xprop (80.42 KB, image/png)
2019-07-05 21:52 UTC, Yaroslav Sidlovsky
Details
konsole_normal_icon.png (91.36 KB, image/png)
2019-07-05 21:54 UTC, Yaroslav Sidlovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juraj 2019-06-08 18:06:50 UTC
SUMMARY
When the bell event is triggered inside Konsole the icon in taskbar is changed Bell and stays like that forever.

STEPS TO REPRODUCE
1. Run konsole
2. Trigger bell event
3. Observe

OBSERVED RESULT
The application icon changed to bell.

EXPECTED RESULT
The application icon stays the same.

SOFTWARE/OS VERSIONS
Operating System: Artix (based on Arch)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION
I use OpenBox with Tint2 as panel and Konsole is the only program which I use and is doing this kind of thing.
The other terminal emulators are not doing this.
Also consider making this feature optional or tell me where to disable it.
I am slowly getting insane from this behaviour.
Comment 1 Yaroslav Sidlovsky 2019-07-05 21:49:04 UTC
Same issue.
How to reproduce:

1. Run konsole
2. Execute echo -e "\a"
3. Use xprop on konsole - it will return wrong icon (bell instead of console)
Comment 2 Yaroslav Sidlovsky 2019-07-05 21:52:10 UTC
Created attachment 121344 [details]
Inspecting konsole window with xprop

Screenshot inspecting konsole with xprop added.
Comment 3 Yaroslav Sidlovsky 2019-07-05 21:54:14 UTC
Created attachment 121345 [details]
konsole_normal_icon.png

Inspecting konsole window with xprop before executing `echo -e "\a"`.
Comment 4 Kurt Hindenburg 2019-07-12 02:56:03 UTC
I can confirm the xprop output - I've never noticed since plasma shows correct icons.
Comment 5 Juraj 2019-07-14 14:49:21 UTC
I found a workaround.
When I change the icon in Profile settings to something else than default the window icon is restored after the bell event is "gone".
Comment 6 Ahmad Samir 2019-08-20 15:16:41 UTC
Side effect of this commit: https://phabricator.kde.org/R319:674243f126bb3bd72ce823ff0144b870d64bcf21

the problem is some escape sequences, e.g. OSC, can be terminated with a \a (BEL) character[1]
[1]https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
Comment 7 fire f. 2019-12-17 14:54:07 UTC
(In reply to Juraj from comment #5)
> When I change the icon in Profile settings to something else than default
> the window icon is restored after the bell event is "gone".

cool for you. I cannot get the icon changed at all on Fedora31.
Comment 8 fire f. 2019-12-17 14:56:23 UTC
ah well... its just the TAB icon, not the window-icon.
Comment 9 Yaroslav Sidlovsky 2020-11-09 10:30:07 UTC
Looks like issue is fixed - can't reproduce it no more in konsole-20.08.3.
Comment 10 Ahmad Samir 2020-12-24 16:44:23 UTC
Closing per comment#9.