Bug 434336 - the icon disappears
Summary: the icon disappears
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: tabbar (show other bugs)
Version: 20.12.3
Platform: Slackware Linux
: NOR major
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-12 18:50 UTC by Dmitri Koulikoff
Modified: 2021-03-19 21:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 21.04
Sentry Crash Report:


Attachments
no icon (2.95 KB, image/png)
2021-03-16 15:05 UTC, Dmitri Koulikoff
Details
General (59.43 KB, image/png)
2021-03-19 06:03 UTC, Dmitri Koulikoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Koulikoff 2021-03-12 18:50:25 UTC
SUMMARY

  Sometimes a tab has only the name without the icon


STEPS TO REPRODUCE
1. open less with some file
2. go to the end
3. press key "down"

OBSERVED RESULT

  The icon in the current tab dissapeared


EXPECTED RESULT

  The icon must be always visble


SOFTWARE/OS VERSIONS
Operating System: Slackware-current
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.22
OS Type: 64-bit
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Comment 1 Dmitri Koulikoff 2021-03-16 15:04:32 UTC
right-key also works…
Comment 2 Dmitri Koulikoff 2021-03-16 15:05:51 UTC
Created attachment 136737 [details]
no icon
Comment 3 Nate Graham 2021-03-17 23:16:37 UTC
This is intentional. Tabs only have icons when the tab either has a user-specified custom icon set, or it is demanding attention
Comment 4 Dmitri Koulikoff 2021-03-18 04:52:43 UTC
(In reply to Nate Graham from comment #3)
> This is intentional. Tabs only have icons when the tab either has a
> user-specified custom icon set, or it is demanding attention

Yes, there IS the user-specified custom icon. Why is it disappearing? In kde4 this never happened. I do not want my icon to disappear in any circumstances. 

What is the logic of the icon disappearing?
Comment 5 Nate Graham 2021-03-18 14:48:38 UTC
> Yes, there IS the user-specified custom icon
Thank you for providing that extra piece of information that was needed to understand that there is a bug here. If you have set a custom icon and it is sometimes disappearing, we will need to do some investigation. Can you try to find a pattern or an action that causes it? I ask because I cannot reproduce the issue myself with a tab that has a custom icon.
Comment 6 Dmitri Koulikoff 2021-03-18 16:33:58 UTC
(In reply to Nate Graham from comment #5)
> I cannot reproduce the issue myself with a tab that has a custom icon.

1. Setting -> Manage Profiles -> New
2. Replace the icon with any, command with "bash" and save
3. Open new tab and press key "right", "left", or "down"

OBSERVED RESULT

The icon disappears.
Comment 7 Nate Graham 2021-03-18 19:19:35 UTC
When I do that, the custom icon is replaced with a bell icon, signifying that the tab needs attention. When I type something, the custom icon re-appears.

Are you seeing something different? If so, can you please attach a screen recording that shows the issue? Sometimes those can help.
Comment 8 Dmitri Koulikoff 2021-03-18 19:50:10 UTC
(In reply to Nate Graham from comment #7)
> When I do that, the custom icon is replaced with a bell icon, signifying
> that the tab needs attention. 

1. I do not have a bell icon.
2. I prefer to have only the sound (that a. I do not have and b. should be allowed to be switch off) AND the original icon to stay.

Is it possible?
Comment 9 Nate Graham 2021-03-18 20:34:18 UTC
What icon theme are you using? If you are using a non-default one and you switch to Breeze, does the bell icon appear when you press the left or right arrow keys?

Also, please go to Manage Profiles > some profile > Edit > General > Terminal Bell Mode and try setting it to "Ignore Bell events" and see if that makes you feel more comfortable.
Comment 10 Dmitri Koulikoff 2021-03-19 06:03:06 UTC
Created attachment 136835 [details]
General
Comment 11 Dmitri Koulikoff 2021-03-19 06:04:15 UTC
(In reply to Nate Graham from comment #9)
> What icon theme are you using? If you are using a non-default one and you
> switch to Breeze, does the bell icon appear when you press the left or right
> arrow keys?

  Oxigen. Yes.
> 
> Also, please go to Manage Profiles > some profile > Edit > General >
> Terminal Bell Mode and try setting it to "Ignore Bell events" and see if
> that makes you feel more comfortable.

  There is no "Terminal Bell Mode"
Comment 12 Nate Graham 2021-03-19 13:51:09 UTC
(In reply to Dmitri Koulikoff from comment #11)
> (In reply to Nate Graham from comment #9)
> > What icon theme are you using? If you are using a non-default one and you
> > switch to Breeze, does the bell icon appear when you press the left or right
> > arrow keys?
> 
>   Oxigen. Yes.
Then this part of the bug is in the Oxygen icon theme.


> > Also, please go to Manage Profiles > some profile > Edit > General >
> > Terminal Bell Mode and try setting it to "Ignore Bell events" and see if
> > that makes you feel more comfortable.
> 
>   There is no "Terminal Bell Mode"
Ah right, that's a new feature in Konsole 21.04. It should provide what you're looking for.
Comment 13 Dmitri Koulikoff 2021-03-19 14:49:31 UTC
(In reply to Nate Graham from comment #12)
> Then this part of the bug is in the Oxygen icon theme.

  What is the name of the icon?

> >   There is no "Terminal Bell Mode"
> Ah right, that's a new feature in Konsole 21.04. It should provide what
> you're looking for.

  Thanks.
Comment 14 Nate Graham 2021-03-19 15:24:30 UTC
(In reply to Dmitri Koulikoff from comment #13)
> (In reply to Nate Graham from comment #12)
> > Then this part of the bug is in the Oxygen icon theme.
> 
>   What is the name of the icon?
"notifications"
Comment 15 Dmitri Koulikoff 2021-03-19 21:42:33 UTC
(In reply to Nate Graham from comment #14)

> "notifications"

Thanks. But indeed this icon is present only in two icon sets: breeze and breeze-dark.

I hope, you'll create the corresponding ticket(s)… ;-)