1. 29 Sep, 2020 1 commit
    • David Edmundson's avatar
      [kmainwindow] Don't create native windows for non-toplevel windows · 03b0f4c3
      David Edmundson authored
      winId() creates a QPlaformWindow; i.e a native xcb_window or wl_surface.
      This makes sense for a toplevel which will be a real window.
      
      If someone (in this case localize) uses kmainwindow as a subwidget
      inside an existing window the current code will create a subwindow for
      this widget. It's a very weird window, as the window is never actually
      mapped so all contents are drawn as part of the parent window. Leaving
      us in a very corrupt state.
      
      Doing this on XCB is wasteful but the side effects are unnoticed. On
      QtWayland things explode in weird ways.
      
      BUG: 424024
      03b0f4c3
  2. 25 Sep, 2020 3 commits
  3. 17 Sep, 2020 2 commits
  4. 15 Sep, 2020 1 commit
  5. 13 Sep, 2020 2 commits
  6. 12 Sep, 2020 1 commit
  7. 10 Sep, 2020 4 commits
  8. 06 Sep, 2020 1 commit
  9. 31 Aug, 2020 1 commit
  10. 28 Aug, 2020 1 commit
    • Nate Graham's avatar
      Allow opting out of remembering window positions on X11 · 39f7171d
      Nate Graham authored
      Various people have requested this, for reasons that seem sensible
      enough to me:
      - Some people like the KWin positioning modes and want all windows to
        follow them
      - It might be annoying to have only KDE apps follow this setting and
        preferable to not use it at all for pepole who use mostly non-KDE apps
      - The per-screen-arrangement memory feature may interact strangely or in
        a buggy manner for some people's screen arrangements
      
      For those reasons, it seems reasonable to allow disabling the feature,
      though it still remains on by default. This commit turns it off if
      `AllowKDEAppsToRememberWindowPositions=false` is set in the user's
      `kdeglobals` file. A GUI to toggle this will be added in a separate
      commit to some System Settings KCM.
      
      CCBUG: 415150
      39f7171d
  11. 20 Aug, 2020 1 commit
    • Nate Graham's avatar
      Save and restore position of main window · bbcfcc53
      Nate Graham authored
      This commit invokes the new KWindowConfig::saveWindowPosition() and
      KWindowConfig::restoreWindowPosition() added to KConfig in
      frameworks/kconfig!14. As a
      result, KDE apps using KXMLGui now automatically save and restore the
      positions of their windows on a per-screen-arrangement basis.
      
      BUG: 415150
      FIXED-IN: 5.74
      bbcfcc53
  12. 17 Aug, 2020 1 commit
  13. 15 Aug, 2020 1 commit
  14. 10 Aug, 2020 2 commits
  15. 08 Aug, 2020 1 commit
  16. 01 Aug, 2020 2 commits
  17. 13 Jul, 2020 1 commit
  18. 12 Jul, 2020 1 commit
  19. 11 Jul, 2020 1 commit
  20. 04 Jul, 2020 1 commit
  21. 01 Jul, 2020 1 commit
  22. 25 Jun, 2020 1 commit
  23. 23 Jun, 2020 2 commits
  24. 19 Jun, 2020 1 commit
    • Nate Graham's avatar
      Move "Switch Application Language" to Settings menu · a957f121
      Nate Graham authored
      This is where it logically belongs. Applications with only a Help menu
      and no settings menu will still get it displayed in there due to some
      fancy code in khelpmenu.cpp, so there are no cases where the menu item
      will become completely inaccessible.
      
      Test Plan:
      1. Open Okular, Konsole, or Dolphin with its menu bar shown
      2. Look in Settings and Help menus to make sure the action is in the
         Settings menu
      
      1. Open an app without a visible Settings menu such as Spectacle or
         Dolphin with its menubar hidden
      2. Look in the help menu to make sure the action is shown there
      
      BUG: 177856
      FIXED-IN: 5.72
      a957f121
  25. 13 Jun, 2020 1 commit
  26. 11 Jun, 2020 1 commit
  27. 06 Jun, 2020 1 commit
  28. 05 Jun, 2020 3 commits