1. 20 Jan, 2021 8 commits
  2. 19 Jan, 2021 2 commits
    • Fabian Vogt's avatar
      Revert "Support importing environment variables from environment.d" · 93761e28
      Fabian Vogt authored
      This reverts commit 49346b0b
      
      It broke the wayland session as it picks up WAYLAND_DISPLAY, DISPLAY and others
      from dead sessions and also seems to cause other issues, see discussions on
      !487
      93761e28
    • Willyanto's avatar
      Fix opening more than one get new applets windows · 815c6ae8
      Willyanto authored
      A new instance WidgetExplorer is created everytime we open get new
      applets window. Each and every instance of WidgetExplorer has its own
      newStuffDialog. This means that downloadWidgets method will always
      create new instance of QtQuickDialogWrapper due to the default value of
      newStuffDialog is null.
      
      Change newStuffDialog to static so that it will be shared to every
      instances of WidgetExplorer. This prevents another get new applets
      window to be opened.
      
      BUG: 412765
      815c6ae8
  3. 18 Jan, 2021 3 commits
  4. 17 Jan, 2021 4 commits
  5. 16 Jan, 2021 1 commit
  6. 15 Jan, 2021 4 commits
    • Alexander Lohnau's avatar
      Port away from KNS3::DownloadDialog · 4bb7d336
      Alexander Lohnau authored
      The QWidgets components are about to be deprecated
      and the QtQuick dialog has a bunch of visual improvements.
      
      Considering that most KCMs already use the QtQuick components
      this MR improves the consistency.
      
      See frameworks/knewstuff!80
      for the MR which introduced the non-deprecated dialog class.
      4bb7d336
    • Nate Graham's avatar
      [lock/login screens] Focus password field after virtual keyboard appears · 1a60087b
      Nate Graham authored
      Without this, the virtual keyboard appears and takes focus, which
      doesn't make sense:the password field needs to retain focus or else
      the keystrokes you type using the virtual keyboard get eaten.
      
      BUG: 430209
      FIXED-IN: 5.21
      1a60087b
    • Marco Martin's avatar
      properly size date label in vertical panels · fcbfbcbf
      Marco Martin authored
      the Text.Fit sizing policy will size the font in order to fit given a fixed
      size of the label, but it can't really cause the other way around which we need:
      cause a vertical resize in order to accomodate a larger font.
      In order to fake that, we fix the date label to an arbitrary tall height
      (will overflow outside the applet) and then size the applet based on the label contentheight instead,
      leaving the invisible part of the label outside.
      In order to avoid the huge text it used to have, limit the maximum size to an arbitrarly
      small value, in this case
      Math.min(0.7 * timeLabel.height, theme.defaultFont.pixelSize * 1.4)
      
      BUG:417852
      FIXED-IN: 5.21
      fcbfbcbf
    • Andrey Butirsky's avatar
      feat: context menu for Keyboard Layout applet · 4bbf78a2
      Andrey Butirsky authored
      Counterpart commit with the same title is in P-D
      4bbf78a2
  7. 14 Jan, 2021 4 commits
  8. 13 Jan, 2021 2 commits
    • Alexander Lohnau's avatar
      calculator runner: Fix handling of hexadecimal input/output · 292d9d19
      Alexander Lohnau authored
      - In case our query starts with 0x123abc we do not call
      the `userFriendlyMultiplication` method which replaces the
      x sign with the multiplication operator.
      We can be sure that the user wants to parse a hex
      value. Also the `=` is not mandatory anymore.
      - The hex=mydecimalnumber functionality was broken.
      The conversion of the hex value is only done inside of the
      if statement and before the values will be the same, unless we do some math operation.
      
      Test Plan:
      `=0xf` returns 15
      `0xf` return 15
      `7x7` returns 49
      `hex=15` returns 0xF
      `hex=14+1` returns 0xF
      
      BUG: 431362
      FIXED-IN: 5.21
      292d9d19
    • Jonas Lundholm Bertelsen's avatar
      [libkworkspace] Only update env vars with alphanumeric_ names · 10780187
      Jonas Lundholm Bertelsen authored
      It gives issues with systemd to try and pass it env var names with eg.
      '%' in them. That to such a degree that if invalid names are passed,
      none are set [1]. This change ensures compatibility by skipping any
      non-alphanumerical (and _) variable names.
      
      [1] https://bugzilla.redhat.com/show_bug.cgi?id=1754395
      10780187
  9. 12 Jan, 2021 4 commits
    • Kai Uwe Broulik's avatar
      [Notifications] Improve job description when processing a single file · 1abf7a15
      Kai Uwe Broulik authored
      Don't require having a file name, instead using "1 file" as a placeholder.
      1abf7a15
    • Yuri Chornoivan's avatar
      0b6197d2
    • Andrew Chen's avatar
      [shell] panelview: prevent duplicate connections for PanelView::restore · 19066ee2
      Andrew Chen authored
      This prevents screens from being connected to the slot multiple times.
      19066ee2
    • Andrew Chen's avatar
      [shell] Update struts on screen size change · 1623b9ef
      Andrew Chen authored
      Panel struts may need to be updated when screen configuration changes,
      even when the panel isn't resized or moved. Example: screen below the
      panel is removed.
      
      Currently the struts are only sometimes updated, that is when
      ShellCorona::reconsiderOutputs is called. This is timing dependant since
      ShellCorona::addOutput connects QScreen::geometryChange to it, and
      geometryChagned signal can arrive before addOutput is called, in which
      case the struts aren't updated.
      
      I am not sure if this behaviour is intended, but it's best to not rely
      on it. Instead lets just update the struts when screen size changes like
      we used to.
      
      There was a previous commit d66d6d57 that is similar, however it got
      lost when the dependency on KScreen was removed.
      
      Since now we rely on QScreen, we need to connect the QScreen signal
      every time it changes, hence the change being in setScreenToFollow.
      1623b9ef
  10. 11 Jan, 2021 8 commits