[xdg-desktop-portal-kde] [Bug 475668] XDG portal file picker "Show Preview Pane" option is greyed out during file saving in Firefox and Chromium/Chrome

2025-06-12 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475668

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|6.4 |6.4.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[xdg-desktop-portal-kde] [Bug 475668] XDG portal file picker "Show Preview Pane" option is greyed out during file saving in Firefox and Chromium/Chrome

2025-06-11 Thread David Redondo
https://bugs.kde.org/show_bug.cgi?id=475668

David Redondo  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/xdg-desktop-portal-kde/- |ma/xdg-desktop-portal-kde/-
   |/commit/96339a76adea6507123 |/commit/0b87b05a787cb5e7beb
   |3f0cb85d05b43f2f8e548   |41dde569e47e81a56690c

--- Comment #11 from David Redondo  ---
Git commit 0b87b05a787cb5e7beb41dde569e47e81a56690c by David Redondo.
Committed on 11/06/2025 at 13:11.
Pushed by davidre into branch 'Plasma/6.4'.

filechooser: Normalize name filters to something more common

The upstream spec recommends to set filters in a form like
*.[pP][nN][gG] to match upper and lower case extensions.
This confuses our stack which expects filters to not include
groups and matches case insensitively anyway.
This patch converts name filters that are in the mentioned form
to the more "normal" one.
FIXED-IN:6.4


(cherry picked from commit 96339a76adea65071233f0cb85d05b43f2f8e548)

Co-authored-by: David Redondo 

M  +22   -0src/filechooser.cpp

https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/0b87b05a787cb5e7beb41dde569e47e81a56690c

-- 
You are receiving this mail because:
You are watching all bug changes.

[xdg-desktop-portal-kde] [Bug 475668] XDG portal file picker "Show Preview Pane" option is greyed out during file saving in Firefox and Chromium/Chrome

2025-06-11 Thread David Redondo
https://bugs.kde.org/show_bug.cgi?id=475668

David Redondo  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
   Version Fixed In||6.4
  Latest Commit||https://invent.kde.org/plas
   ||ma/xdg-desktop-portal-kde/-
   ||/commit/96339a76adea6507123
   ||3f0cb85d05b43f2f8e548
 Resolution|--- |FIXED

--- Comment #10 from David Redondo  ---
Git commit 96339a76adea65071233f0cb85d05b43f2f8e548 by David Redondo.
Committed on 11/06/2025 at 13:01.
Pushed by davidre into branch 'master'.

filechooser: Normalize name filters to something more common

The upstream spec recommends to set filters in a form like
*.[pP][nN][gG] to match upper and lower case extensions.
This confuses our stack which expects filters to not include
groups and matches case insensitively anyway.
This patch converts name filters that are in the mentioned form
to the more "normal" one.
FIXED-IN:6.4

M  +22   -0src/filechooser.cpp

https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/96339a76adea65071233f0cb85d05b43f2f8e548

-- 
You are receiving this mail because:
You are watching all bug changes.

[xdg-desktop-portal-kde] [Bug 475668] XDG portal file picker "Show Preview Pane" option is greyed out during file saving in Firefox and Chromium/Chrome

2025-06-04 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=475668

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #9 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/399

-- 
You are receiving this mail because:
You are watching all bug changes.

[xdg-desktop-portal-kde] [Bug 475668] XDG portal file picker "Show Preview Pane" option is greyed out during file saving in Firefox and Chromium/Chrome

2025-06-04 Thread David Redondo
https://bugs.kde.org/show_bug.cgi?id=475668

--- Comment #8 from David Redondo  ---
KDirOperator conditionally enables preview support depending on the types of
files being shown. 
For that it checks the current filters and if those mime types have preview
support.
However it fails to resolve  name filters like "*.[pP][nN][gG]". But it can
resolve "*.png" and "*.PNG"

-- 
You are receiving this mail because:
You are watching all bug changes.

[xdg-desktop-portal-kde] [Bug 475668] XDG portal file picker "Show Preview Pane" option is greyed out during file saving in Firefox and Chromium/Chrome

2025-05-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475668

--- Comment #7 from Nate Graham  ---
I don't think this is distro-specific; I can reproduce it myself on Fedora 42
KDE with KDE software built from source code.

If that fixes the issue for you, perhaps the problem is in these browsers for
trying to force the use of the GNOME portal or something?

-- 
You are receiving this mail because:
You are watching all bug changes.

[xdg-desktop-portal-kde] [Bug 475668] XDG portal file picker "Show Preview Pane" option is greyed out during file saving in Firefox and Chromium/Chrome

2025-05-15 Thread Richard Steven Hack
https://bugs.kde.org/show_bug.cgi?id=475668

--- Comment #6 from Richard Steven Hack  ---
There is an issue with browsers on the openSUSE Tumbleweed system not using the
KDE XDG portal and defaulting to the GTK portal. This issue occurred on my
machine and the Beelink mini PC next to it (also running openSUSE Tumbleweed.)

Working with Google Gemini 2.5 Pro Preview yesterday (which has an awesome
amount of KDE knowledge in its training data), I came up with a (possibly
temporary) fix for that, by creating and editing a portals.conf in
/etc/xdg-desktop-portal as shown below:

cd /etc/xdg-desktop-portal
-rw-r--r-- 1 root root 24 May 14 15:10 portals.conf

/etc/xdg-desktop-portal> cat portals.conf
[preferred]
default=kde

Today, the issue of the lack of a preview panel is resolved on both my
machines.  I can only assume the two problems are related. It's possible
something else changed, of course, so I'm just mentioning this in passing.

-- 
You are receiving this mail because:
You are watching all bug changes.

[xdg-desktop-portal-kde] [Bug 475668] XDG portal file picker "Show Preview Pane" option is greyed out during file saving in Firefox and Chromium/Chrome

2025-05-14 Thread Roke Julian Lockhart Beedell
https://bugs.kde.org/show_bug.cgi?id=475668

--- Comment #5 from Roke Julian Lockhart Beedell 
<[email protected]> ---
(In reply to Roke Julian Lockhart Beedell from comment #4)

Ah, damn. Missed the frigging link. Ignore me.

-- 
You are receiving this mail because:
You are watching all bug changes.

[xdg-desktop-portal-kde] [Bug 475668] XDG portal file picker "Show Preview Pane" option is greyed out during file saving in Firefox and Chromium/Chrome

2025-05-14 Thread Roke Julian Lockhart Beedell
https://bugs.kde.org/show_bug.cgi?id=475668

--- Comment #4 from Roke Julian Lockhart Beedell 
<[email protected]> ---
(In reply to Nate Graham from comment #2)

> I'd recommend that you submit a bug report to them.

Posted to
https://bugzilla.mozilla.org/show_bug.cgi?id=1966479#field-value-short_desc:~:text=2025%2D05%2D14%2018:06%20UTC-,The%20KDE%20File%20Picker%20Portal%20has%20its%20%22Preview%22%20pane%20disabled%20when%20invoked%20by%20Firefox.,-Categories%20(Firefox%20,
since this reproduces for me, too, and is a pain.

-- 
You are receiving this mail because:
You are watching all bug changes.

[xdg-desktop-portal-kde] [Bug 475668] XDG portal file picker "Show Preview Pane" option is greyed out during file saving in Firefox and Chromium/Chrome

2025-05-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475668

Nate Graham  changed:

   What|Removed |Added

 CC||[email protected]
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[xdg-desktop-portal-kde] [Bug 475668] XDG portal file picker "Show Preview Pane" option is greyed out during file saving in Firefox and Chromium/Chrome

2025-05-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475668

Nate Graham  changed:

   What|Removed |Added

Summary|File Picker Show Preview|XDG portal file picker
   |Pane Option Is Greyed Out   |"Show Preview Pane" option
   |During File Saves on|is greyed out during file
   |Firefox |saving in Firefox and
   ||Chromium/Chrome
   See Also||https://bugzilla.mozilla.or
   ||g/show_bug.cgi?id=1859420
 Resolution|DOWNSTREAM  |---
 Status|RESOLVED|REPORTED

-- 
You are receiving this mail because:
You are watching all bug changes.