[xdg-desktop-portal-kde] [Bug 475995] Can't find KDE applications when distro locates their desktop files in a prefixed subfolder of /usr/share/applications; normal "Open With" dialog works fine

2023-10-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475995

Nate Graham  changed:

   What|Removed |Added

Summary|Can't find KDE applications |Can't find KDE applications
   ||when distro locates their
   ||desktop files in a prefixed
   ||subfolder of
   ||/usr/share/applications;
   ||normal "Open With" dialog
   ||works fine

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

[xdg-desktop-portal-kde] [Bug 475995] Can't find KDE applications

2023-10-27 Thread Oleg Solovyov
https://bugs.kde.org/show_bug.cgi?id=475995

--- Comment #9 from Oleg Solovyov  ---
(In reply to Nate Graham from comment #8)
> Ok, then the problem is that somehow the portal is giving us the wrong
> desktop file name for Okular.
> 
> Does this reproduce for other apps in the portal "open with" dialog, or only
> Okular? If it's only Okular, I'm suspecting some kind of issue with the
> alias parsing.

I suspect yes, but I don't have where to reproduce yet.
It could be reproduced on a fresh-installed distro (haven't tried neon)

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

[xdg-desktop-portal-kde] [Bug 475995] Can't find KDE applications

2023-10-26 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475995

--- Comment #8 from Nate Graham  ---
Ok, then the problem is that somehow the portal is giving us the wrong desktop
file name for Okular.

Does this reproduce for other apps in the portal "open with" dialog, or only
Okular? If it's only Okular, I'm suspecting some kind of issue with the alias
parsing.

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

[xdg-desktop-portal-kde] [Bug 475995] Can't find KDE applications

2023-10-25 Thread Oleg Solovyov
https://bugs.kde.org/show_bug.cgi?id=475995

--- Comment #7 from Oleg Solovyov  ---
(In reply to Nate Graham from comment #6)
> 1. Open a distro-packaged version of Dolphin (not from Flatpak)
> 2. Find a PDF file
> 3. Right-click > Open With > Other

It works

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

[xdg-desktop-portal-kde] [Bug 475995] Can't find KDE applications

2023-10-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475995

--- Comment #6 from Nate Graham  ---
1. Open a distro-packaged version of Dolphin (not from Flatpak)
2. Find a PDF file
3. Right-click > Open With > Other

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

[xdg-desktop-portal-kde] [Bug 475995] Can't find KDE applications

2023-10-25 Thread Oleg Solovyov
https://bugs.kde.org/show_bug.cgi?id=475995

--- Comment #5 from Oleg Solovyov  ---
(In reply to Nate Graham from comment #3)
> Ok. Does it reproduce from the non-portal "Open With" dialog?

How to invoke "non-portal" dialog?

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

[xdg-desktop-portal-kde] [Bug 475995] Can't find KDE applications

2023-10-25 Thread Oleg Solovyov
https://bugs.kde.org/show_bug.cgi?id=475995

--- Comment #4 from Oleg Solovyov  ---
(In reply to Nate Graham from comment #3)
> Ok. Does it reproduce from the non-portal "Open With" dialog?

Not tested.

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

[xdg-desktop-portal-kde] [Bug 475995] Can't find KDE applications

2023-10-24 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475995

--- Comment #3 from Nate Graham  ---
Ok. Does it reproduce from the non-portal "Open With" dialog?

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

[xdg-desktop-portal-kde] [Bug 475995] Can't find KDE applications

2023-10-24 Thread Oleg Solovyov
https://bugs.kde.org/show_bug.cgi?id=475995

Oleg Solovyov  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #2 from Oleg Solovyov  ---
> clicking on Okular in the app chooser window ought to return 
> kf5-org.kde.okular.desktop, but instead it returns org.kde.okular.desktop and 
> fails?

You understood this correctly.

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

[xdg-desktop-portal-kde] [Bug 475995] Can't find KDE applications

2023-10-23 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475995

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Nate Graham  ---
>From what I can tell by
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3653#note_1873641, this
seems like it's caused by a packaging issue in your distro, which places
desktop files in subdirectories. This is supported by the spec, but in practice
it's such a niche feature that all sorts of things are going to break, because
it makes the .desktop files names non-deterministic.

Are you suggesting that the code in the KDE desktop portal is out of compliance
with that spec and providing .desktop filenames incorrectly, such that clicking
on Okular in the app chooser window ought to return kf5-org.kde.okular.desktop,
but instead it returns org.kde.okular.desktop and fails?

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

[xdg-desktop-portal-kde] [Bug 475995] Can't find KDE applications

2023-10-23 Thread Sergey V Turchin
https://bugs.kde.org/show_bug.cgi?id=475995

Sergey V Turchin  changed:

   What|Removed |Added

 CC||pbr...@kde.org

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