1. 23 Mar, 2021 5 commits
    • Jan Paul Batrina's avatar
      Unmaximize terminal before moving to new tab · b3c08be8
      Jan Paul Batrina authored
      This ensures that all the other terminals (in other splits)
      will still be visible after moving the maximized terminal
      to a new tab.
      (cherry picked from commit 9d4df205)
    • Ahmad Samir's avatar
      ProfileSettings: use generateUniqueName() when creating new profiles · b7970574
      Ahmad Samir authored
      This makes new profile name generation consistent everywhere.
      (cherry picked from commit 9cab1758)
    • Ahmad Samir's avatar
      ProfileManager: remove some fallback-profile-related code · eba44a39
      Ahmad Samir authored
      After the previous commit the Fallback profile shouldn't be editable
      at all.
      (cherry picked from commit 238a8b45)
    • Ahmad Samir's avatar
      Don't edit the Fallback profile, instead create a new one · 176a0e18
      Ahmad Samir authored
      This is a first step in simplifying the code; since the Fallback profile
      doesn't have a file on disk, it's basically a corner-case that we have to
      babysit in various places in the code.
      Now when the user tries to "Edit current profile", if it's the Fallback
      profile, a new profile is created, with a unique name "Profile 1",
      "Profile 2" ...etc. This is similar to using the "New" button in the
      ProfileSettings dialog.
      (cherry picked from commit 5ab84231)
    • Ahmad Samir's avatar
      Clean up some more "favourite profile"-related code · 57f4dd22
      Ahmad Samir authored
      - Since the favourite profile feature was removed in commit 28ba920c,
      there is no need to sort profiles by menu index, this simlifies the code
      some more.
      - Remove Profile::menuIndexAsInt() method, now it's not used anywhere
      - This also fixes an issue with sorting the the Default/fallback profile,
      since commit ce31d0e2 it would be always sorted at the top of the
      list (to signify that it's a special, read-only profile...etc), sorting
      by menu index breaks that behaviour:
       - create a new profile by editing the Defualt/fallback profile, and give
         the new profile a name (Defualt is reserved of course)
       - open the profile manager dialog, you'll find the Default/fallback
         profile not at the top of the list, until you restart Konsole
      This issue was reported by Kurt in
      !351 (comment 197432)
      (cherry picked from commit 646408dd)
  2. 13 Mar, 2021 1 commit
  3. 10 Mar, 2021 1 commit
  4. 07 Mar, 2021 3 commits
  5. 06 Mar, 2021 1 commit
  6. 02 Mar, 2021 2 commits
    • Ahmad Samir's avatar
      ProfileManager dialog: improve handling profiles · 6cb301bd
      Ahmad Samir authored
      - Differentiate between a profile being deleteable and writable:
        - Disable the Edit key for read-only profiles, i.e. a '.profile' that
          doesn't have write permissions for the user
        - Disable the Delete key for a '.profile' that is in a directory that
          isn't writable for the user (i.e. a .profile can be read-only, but
          still deleteable by the user)
      - Change the model selection mode to single selection, that simplifies
        the code, besides it looks like editing more than one profile at the
        same time hasn't worked for a while, and there are no complaints AFAICS;
        remove the now redundant selectedProfiles() method.
    • Ahmad Samir's avatar
      Tweak the profile manager dialog · 91122e53
      Ahmad Samir authored
      - Show profile path as tooltip, for the fallback profile show
      - Add " [Read-only]" to the Default/fallback profile name
      - Make the font of the current default profile bold to match the menu
        in 'File -> New Tab'
      - Change the text added to the current default profile to " default", i.e.
        lowercase, to differentiate between it and the fallback profile, which
        is called Default
      Fix indentation in switch/case statements.
  7. 01 Mar, 2021 1 commit
    • Ahmad Samir's avatar
      Update the profiles list menu when the default profile is changed · a59d9b8d
      Ahmad Samir authored
      Now the 'File->New Tab' menu is updated when the default profile is
      changed, i.e. the action font is made bold and the favourites icon
      emblem is added to the profile icon.
      A call to menu()->setDefaultAction() has been removed, as I don't see
      what it serves exactly in the current code.
      Reported by khindenburg in:
  8. 24 Feb, 2021 1 commit
  9. 23 Feb, 2021 1 commit
  10. 21 Feb, 2021 1 commit
    • Jonathan Marten's avatar
      Fix view splitter actions not being updated when a view is closed · a3c318dc
      Jonathan Marten authored
      This happens because in ViewManager::sessionFinished(),
      the 'view' is delayed deleted which means that it is not removed
      from its containing splitter until the next event.  However,
      toggleActionsBasedOnState() is called immediately which makes its
      decisions based on the current splitter state with the view still
      In order to avoid any possible object lifetime issues caused by
      changing the way the view is deleted, or trying to remove it from the
      view immediately, the call of toggleActionsBasedOnState() is instead
      delayed until the view has been destroyed (and therefore removed from
      its splitter).
  11. 20 Feb, 2021 2 commits
    • Carlos Alves's avatar
      Fix zsh reflow · 25a24bf3
      Carlos Alves authored
      This will fix most of the zsh themes reflow, still working on other
      zsh command line position is different from other shells, it is not
      where the cursor line is. Konsole is correcting this position.
    • Carlos Alves's avatar
      Fix ReFlow bug while Splitting View · 9d041222
      Carlos Alves authored
      History content was changing when splitting the view.
  12. 19 Feb, 2021 2 commits
  13. 18 Feb, 2021 2 commits
  14. 17 Feb, 2021 1 commit
  15. 15 Feb, 2021 4 commits
  16. 10 Feb, 2021 1 commit
  17. 09 Feb, 2021 1 commit
  18. 08 Feb, 2021 4 commits
  19. 06 Feb, 2021 1 commit
  20. 02 Feb, 2021 1 commit
  21. 31 Jan, 2021 1 commit
  22. 29 Jan, 2021 3 commits