Bug 502075 - konsole --tabs-from-file window remains invisible / unmapped
Summary: konsole --tabs-from-file window remains invisible / unmapped
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-27 15:26 UTC by Cyril42e
Modified: 2025-04-24 02:12 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyril42e 2025-03-27 15:26:43 UTC
SUMMARY

After switching from Fedora 38 to Fedora 40 (fresh install), I noticed that my automation running Konsole --tabs-from-file was not working anymore, i.e. the Konsole window appeared in the activity tab but there was no visible window per se on the screen.

After investigating a bit, I found that:
- 'xwininfo' shows that the window is unmapped (Map State: IsUnMapped)
- 'xdotool windowmap' fixes the issue and make it appear on the screen

Note that I am running Gnome desktop with Mutter and X11, not KDE.

STEPS TO REPRODUCE
1. Create file /tmp/konsole-tab with a single line "title: Home ;; workdir:/home ;; command: /bin/zsh"
2. Run "konsole --tabs-from-file /tmp/konsole-tab"

OBSERVED RESULT

No window appears

EXPECTED RESULT

The konsole window appears

SOFTWARE/OS VERSIONS

Linux version : 6.13.7-100.fc40.x86_64
X.Org version: 1.20.14
Gnome version : 46.9
Mutter version : 46.8
Konsole version : 24.12.3
Qt version : 6.8.2

ADDITIONAL INFORMATION
Comment 1 John Kizer 2025-04-09 18:00:37 UTC
Hi - just to check:

* Does the Konsole window appear as normal without the --tabs-from-file option?
* Does the --tabs-from-file option work as expected in a Wayland session?

(Thinking this may be a recurrence of https://bugs.kde.org/show_bug.cgi?id=488396 )

Thanks!
Comment 2 Cyril42e 2025-04-23 23:01:40 UTC
Hi, yes it works ok without --tabs-from-file, and in a Wayland I don't really know as it seems that I don't have it installed in my version of Fedora 40... However I was indeed using Wayland on my Fedora 38 (when I did not have the issue), and on my other laptop with Gentoo and X I have the similar issue https://bugs.kde.org/show_bug.cgi?id=488396, though it it is slightly different (the window appears a split second before disappearing, it sometimes works, and more importantly the window is not listed with wmctrl, contrary to this issue)