1. 30 Apr, 2020 1 commit
  2. 13 Apr, 2020 1 commit
    • Gaston Haro's avatar
      Better accesibility to maximize view · 7cfbb8bb
      Gaston Haro authored
      Summary:
      - Added handlig of mouse double click on view header bar to toggle
        maximize.
      - Added menu entry under View -> Split view, Toogle maximize view
      
      Test plan:
      A.1. Open Konsole and create split views
      A.2. Double clicking a view header should toggle maximize/restore the view
      B.1. Open Konsole and create split views
      B.2. Go to menu View -> Split view -> Toggle maximize view
      7cfbb8bb
  3. 10 Apr, 2020 1 commit
  4. 31 Mar, 2020 1 commit
  5. 28 Mar, 2020 2 commits
  6. 29 Feb, 2020 1 commit
  7. 18 Dec, 2019 1 commit
    • Mariusz Glebocki's avatar
      Revert "GIT_SILENT: minor qstring optimization" · 52d27200
      Mariusz Glebocki authored
      This reverts commit f96deb39.
      
      This was anti-optimization.
      QStringLiteral is a QString created at build time. Initialization of
      QString with it has no overhead.
      QLatin1String is 8 bit C string wrapper which needs run-time conversion
      to 16 bit encoding used in QString.
      52d27200
  8. 03 Dec, 2019 1 commit
  9. 25 Nov, 2019 1 commit
    • Kurt Hindenburg's avatar
      Fix loop anaylysis issue · 30f64c8a
      Kurt Hindenburg authored
      warning: loop variable 'widgetJsonValue' is always a copy because the
      range of type 'QJsonArray' does not return a reference
      30f64c8a
  10. 02 Nov, 2019 1 commit
    • Alex Miranda's avatar
      Add missing setFocusProxy() call in ViewManager · bbdf27cc
      Alex Miranda authored
      Summary:
      This should fix the terminal not gaining focus when using konsolepart.
      
      BUG: 411181
      FIXED-IN: 19.12.0
      
      Test Plan:
      - The terminal panels in Dolphin and Kate now always gain focus
      properly, not just the first time you open them
      
      Reviewers: #konsole, hindenburg
      
      Reviewed By: #konsole, hindenburg
      
      Subscribers: hindenburg, konsole-devel
      
      Tags: #konsole
      
      Differential Revision: https://phabricator.kde.org/D25001
      bbdf27cc
  11. 27 Oct, 2019 4 commits
  12. 06 Oct, 2019 1 commit
    • Jiří Paleček's avatar
      Allow loading of pre 19.08 session files · 2de43394
      Jiří Paleček authored
      The format of the Konsole session file changed with 19.08. This was
      overlooked and pre 19.08 files caused crashes.  That crash was fixed
      in 19.08.1 to just start the default profile.
      This patch will allow pre 19.08 session files to be loaded correctly.
      
      BUG: 412173
      FIXED-IN: 19.08.2
      2de43394
  13. 07 Sep, 2019 1 commit
  14. 01 Sep, 2019 1 commit
    • Jiří Paleček's avatar
      Fix the fallback code used when restoring session fails · 656f6804
      Jiří Paleček authored
      Summary:
       When restoring session in Konsole fails, the fallback code should
       create a default view and session instead. However, the code omitted
       adding this view to the container, which makes
      
       - the window black (or grey in my case), see
         https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935031
      
       - konsole crash later, when you add a new tab and close it, because
         code in ViewManager expects TerminalDisplays to be children of
         ViewSplitter, which is not the case
      
       This fix adds the view to activeController(), just like every other
       code that creates TerminalDisplay.
      
      Test Plan:
       1. find a session in your $HOME/.config/session/ from konsole before 19.08
       2. konsole -session xxxx (where xxxx are the numbers in the session file)
          -> there should be a konsole window with usable terminal
       3. add a new tab with C-S-T and close it
          ->there should be no crash
      
      Reviewers: hindenburg, #konsole
      
      Reviewed By: hindenburg, #konsole
      
      Subscribers: tcanabrava, konsole-devel
      
      Tags: #konsole
      
      Differential Revision: https://phabricator.kde.org/D23601
      656f6804
  15. 28 Aug, 2019 1 commit
  16. 23 Aug, 2019 1 commit
  17. 17 Aug, 2019 1 commit
    • Mariusz Glebocki's avatar
      Keep perceived contrast in random background color · dc29be39
      Mariusz Glebocki authored
      Summary:
      Randomize colors using HSLuv color space instead of HSL. It has
      perceptually uniform lightness, which means every color with the same
      lightness value is perceived as equally bright by humans. Displays
      quality and lack of calibration in most monitors lowers this uniformity,
      but even on worst color display it should be better than standard HSL.
      
      More information about HSLuv: http://www.hsluv.org/
      
      Minor changes:
      
      * Random seed takes PID into account to prevent repeated colors in
        separate Konsole processes
      * Key names in a config were changed
      * Adapted "Black on random light" color scheme
      
      Breeze with random ranges on default bg and fg: hue=360° saturation=100:
      {F6754773}
      
      To be done in future:
      
      * Automatically convert color schemes which use old randomization
        method.
      
      Reviewers: #konsole, #vdg
      
      Subscribers: hindenburg, #vdg, #konsole
      
      Tags: #konsole, #vdg
      
      Differential Revision: https://phabricator.kde.org/D20263
      dc29be39
  18. 05 Aug, 2019 1 commit
  19. 17 Jul, 2019 3 commits
  20. 12 Jul, 2019 1 commit
  21. 02 Jul, 2019 1 commit
  22. 24 Jun, 2019 1 commit
  23. 13 Jun, 2019 3 commits
  24. 11 May, 2019 1 commit
  25. 30 Apr, 2019 1 commit
    • Tomaz  Canabrava's avatar
      Return early if no Splitter · 71417ac5
      Tomaz Canabrava authored
      Historically Konsole is a complex software. there are many ways
      to close a session, and one of the least used ones is to delete
      the View where the session is, and deleting the session later.
      
      Because the session will also try to delete the view when it's
      being deleted, this led to a crash in yakuake.
      71417ac5
  26. 26 Apr, 2019 1 commit
    • Thomas Surrel's avatar
      Fix New tab behavior · 9680e1f5
      Thomas Surrel authored
      Summary:
      Fix the regression about the placement of a new tab:
      it is now added either at the end, or next to the
      current tab depending on the setting.
      
      BUG: 406409
      
      Test Plan:
      In Konsole settings, select 'Put new tab after the
      current tab' for the New tab behavior setting.
      Open some new tabs and check they are opened at the
      proper position.
      
      Reviewers: #konsole, hindenburg, tcanabrava
      
      Reviewed By: tcanabrava
      
      Subscribers: konsole-devel
      
      Tags: #konsole
      
      Differential Revision: https://phabricator.kde.org/D20836
      9680e1f5
  27. 18 Apr, 2019 1 commit
  28. 17 Apr, 2019 1 commit
    • Thomas Surrel's avatar
      Ctrl-Tab should work in "split-only" view as well · e590afb0
      Thomas Surrel authored
      Summary:
      The Ctrl-Tab and Ctrl-Shift-Tab were working only when multiple
      tabs were opened, but it should work as well when only one tab
      is opened but multiple splits are created within that tab.
      
      Test Plan:
      Open konsole with a single tab, then create several splits.
      Use Ctrl-Tab and Ctrl-Shift-Tab to navigate between the splits
      in chronological order.
      
      Reviewers: #konsole, hindenburg, tcanabrava
      
      Reviewed By: #konsole, hindenburg
      
      Subscribers: gennad, konsole-devel
      
      Tags: #konsole
      
      Differential Revision: https://phabricator.kde.org/D20395
      e590afb0
  29. 10 Apr, 2019 2 commits
  30. 09 Apr, 2019 1 commit
    • Tomaz  Canabrava's avatar
      Implement saving sessions recursively · 8029d74a
      Tomaz Canabrava authored
      Summary:
      Session Save / Restore.
      The old session code saved the sessions in random order,  the restore
      order was wrong and it ignored the splits (even the old style splits
      where ignored, I'm not talking about the new style). This new session
      / restore code ignores nothing: It will save and restore your whole
      Terminal Hierarchy, with splits, splits-in-splits, recursing everything
      where needed.
      
      bug: unfocused terminal tabs lacks title untill focused. should be
      easy to fix and not a blocker.
      
      Test Plan: - Too many Logouts / Logins to test this.
      
      Reviewers: #konsole, hindenburg, ngraham
      
      Reviewed By: ngraham
      
      Subscribers: konsole-devel
      
      Tags: #konsole
      
      Differential Revision: https://phabricator.kde.org/D20224
      8029d74a
  31. 28 Mar, 2019 1 commit
    • David Hallas's avatar
      Fixes minor memory leaks · 03a78c2a
      David Hallas authored
      Summary:
      Fixes a few minor memory leaks found with address sanitizer.
      The newTabButton and closeTabButton was not passed a parent and is not
      deleted in the destructor of TabbedViewContainer which will cause them
      to be leaked when closing a tab. Instead pass the TabbedViewContainer as
      the parent.
      The same goes for the profileMenu, it was not passed a parent pointer at
      contruction and the setMenu function doesn't take ownership of it, so
      therefore it was also leaked.
      
      Test Plan:
      Compile konsole with address sanitizer.
      Open and close konsole.
      
      Reviewers: #konsole, hindenburg
      
      Reviewed By: #konsole, hindenburg
      
      Subscribers: hindenburg, konsole-devel
      
      Tags: #konsole
      
      Differential Revision: https://phabricator.kde.org/D19634
      03a78c2a