Fix sessions not correcly loading untill a tab is focused
ClosedPublic

Authored by tcanabrava on May 14 2019, 2:11 PM.

Details

Summary

A bit of frustration on my side: this is not the patch I want to
deliver, but I tried some other variants of this and nothing seemed
to work.
I tried:

  • call setFocus() when the widget is created
  • call session->run() (this froze konsole, fun times.)
  • set the widget as current in the splitter.

    aparently forcing each widget to be displayed triggered something internally that made things work. I'm ok on removing this patch for a better one, but I'm out of ideas.

Diff Detail

Repository
R319 Konsole
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
tcanabrava created this revision.May 14 2019, 2:11 PM
Restricted Application added a project: Konsole. · View Herald TranscriptMay 14 2019, 2:11 PM
Restricted Application added a subscriber: konsole-devel. · View Herald Transcript
tcanabrava requested review of this revision.May 14 2019, 2:11 PM
ngraham accepted this revision.May 14 2019, 2:40 PM

Fixes the issue, thanks.

This revision is now accepted and ready to land.May 14 2019, 2:40 PM

I'll wait kurt's comments as I'm sure this is a hack and not a proper fix.

hindenburg accepted this revision.May 17 2019, 12:56 AM

There have been a number of hacks in Konsole; I'm fine w/ this for now.

This revision was automatically updated to reflect the committed changes.