惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Securelist
O
OpenAI News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Threat Research - Cisco Blogs
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Google Online Security Blog
Google Online Security Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
N
News and Events Feed by Topic
S
Security Affairs
SecWiki News
SecWiki News
Project Zero
Project Zero
L
Lohrmann on Cybersecurity
P
Proofpoint News Feed
P
Palo Alto Networks Blog
L
LINUX DO - 最新话题
H
Hacker News: Front Page
Recent Commits to openclaw:main
Recent Commits to openclaw:main
I
Intezer
Simon Willison's Weblog
Simon Willison's Weblog
W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
K
Kaspersky official blog
The GitHub Blog
The GitHub Blog
I
InfoQ
云风的 BLOG
云风的 BLOG
雷峰网
雷峰网
B
Blog
IT之家
IT之家
AWS News Blog
AWS News Blog
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Google DeepMind News
Google DeepMind News
Spread Privacy
Spread Privacy
N
News and Events Feed by Topic
Security Latest
Security Latest
美团技术团队
C
Check Point Blog
WordPress大学
WordPress大学
T
Tenable Blog
S
Security @ Cisco Blogs
Last Week in AI
Last Week in AI
博客园 - 聂微东
月光博客
月光博客
博客园 - 【当耐特】
S
Schneier on Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
Secure Thoughts
Schneier on Security
Schneier on Security
C
Cisco Blogs
Cyberwarzone
Cyberwarzone

Arch Linux Forums

Avidemux crashes without strace / Applications & Desktop Environments how to apply patches with non-linux linends / Newbie Corner Replicating CachyOS on vanilla Arch (or at least getting close) / Arch Discussion What's arch linux GUI package manager ? / Newbie Corner Hibernation failing due to insufficient memory / System Administration profiledef.sh editting question / Installation trying to script kde plasma wallpaper settings / Programming & Scripting Looking for new Audacious package maintainer / Creating & Modifying Packages issues installing arch with LUKS2 encryption / Newbie Corner QEMU PXE booting does not work with OVMF.4m.fd / Applications & Desktop Environments Wired lan regular disconnect / Newbie Corner Need Help setting up ARCH in my G16 G634JZR iwlwifi started failing consistently, trying to determine root cause Windows randomly jumping between monitors after GNOME 50 update No display via DP or HDMI after boot. / Kernel & Hardware how to change acpi platform_profile? / Newbie Corner Linux denied all kernel modules which not loaded right now Use iPhone as Webcam for Arch Linux Video Output Failure on nvidia-580xx-dkms on TTY --> Desktop switch (Page 2) / Kernel & Hardware I was going to rant ..WINE32 Sabotage compliments of Arvind Krishna / Arch Discussion LUKS drive auto unlocked by TPM when expected not to / Networking, Server, and Protection Hibernate/suspend from X = dark panel; from TTY = works (ASUS G14, hyb (Page 2) / Laptop Issues Headphone jack noise/buzz / Newbie Corner segmentation fault in cc1plus when building CLK / AUR Issues, Discussion & PKGBUILD Requests Console alternative to meld / GNU/Linux Discussion Problem with paru git clone / Newbie Corner XKB questions / Applications & Desktop Environments gnome-keyring-daemon is not working correctly / Applications & Desktop Environments [SOLVED] Steam opens and immediately closes constantly / Newbie Corner Firefox rounded edges on Sway / Applications & Desktop Environments on Linux arch 7.0.10-arch1-1 connection drops / Networking, Server, and Protection GDM does not open login screen after update / Newbie Corner Cinnamon (X11) fails to load after update (Page 2) / Applications & Desktop Environments fontconfig-2:2.18.x - broken fonts? / Applications & Desktop Environments Bluetooth headphones connect but don't auto-switch (alsa 1.2.16) / Multimedia and Games Help making reason of Pavucontrol / Newbie Corner EFI stub: Warning: unable to unprotect memory range (Page 2) / Kernel & Hardware Keyboard problem with the french disposition / Newbie Corner Working with two network interfaces / Networking, Server, and Protection [SOLVED] Power spikes on laptop / Laptop Issues Problems with Qt? / Applications & Desktop Environments plasmashell 6.6.5 crashing on loop / Applications & Desktop Environments I'm worried / Newbie Corner Help! RTL8723BS "coalesce failed with error -22" after upgrade / Laptop Issues System notifications not working on any browser / Applications & Desktop Environments installing kernels with kernel-install / Community Contributions [SOLVED] Intel AX210 issue on linux=7.0.10 / Kernel & Hardware No longer booting after Windows 11 update / Installation *SOLVED* Two PC's but different boot times - Kernel 7.0? / Kernel & Hardware gnome-shell continuous clutter_input_focus_set_cursor_location msg / Pacman & Package Upgrade Issues google-chrome, vscode and spotify are ignore my fontconfig / Applications & Desktop Environments KDE6 Akonadi default database backend / Creating & Modifying Packages Support / Routing quirks for new Creative Sound Blaster AE-X (USB ID 0 / Kernel & Hardware Kernel Panic and system freezes with 4x16 DDR5 / Kernel & Hardware dm-crypt and SSDs / Newbie Corner Problems with Worms WMD / Newbie Corner Freeze after login whenever upgrading nvidia/kernel / Laptop Issues Blender crashes on startup when using Vulkan backend / Applications & Desktop Environments Top 5 MDM Solutions for Linux Devices in 2026 Elden Ring crash in sound initialisation / Multimedia and Games AUR connection issues (EOF/TLS errors) (Page 5) / AUR Issues, Discussion & PKGBUILD Requests GNOME freeze after login / Applications & Desktop Environments Bash is weird now / Newbie Corner Gif as KDE avatar / Applications & Desktop Environments Export in musescore / Applications & Desktop Environments Nvidia And Amd Drivers / Applications & Desktop Environments [SOLVED] How to get pavucontrol in dark mode? / Newbie Corner Startx does not work / Applications & Desktop Environments Coturn server installtaion / Applications & Desktop Environments Could not resolve Matrix-synapse dependency error / Applications & Desktop Environments Possible solution for mesa-amber build failure with glibc-2.43 / Multimedia and Games [SOLVED] Plymouth forces English (US) layout on boot / Newbie Corner [Solved]What should I use as license if the upstream repo has none? / AUR Issues, Discussion & PKGBUILD Requests The Official Hello Everyone Thread (Page 334) / Newbie Corner [SOLVED] EPSON ET-2710 printer only printing blank pages / Newbie Corner [SOLVED]Session crashes after login, booted back to sddm / Laptop Issues [SOLVED] Asus monitor suspend results in on/off cycling / Newbie Corner Ultrahuman Discount Code [SAVEULTRA] 10% Off For Existing Customers / Creating & Modifying Packages Ultrahuman Discount Code [SAVEULTRA] 10% Off – Verified Coupon for Exi / Arch Discussion New Ultrahuman Discount Code [SAVEULTRA] 2026 – Get 20% Extra OffToday / Programming & Scripting Ultrahuman Discount Code 2026 - "SAVEULTRA" - Get 20% Extra Off / Newbie Corner Sway keybinding stops working after sleep / Applications & Desktop Environments QEMU SPICE how to achieve bidirectional clipboard with Sway? / Applications & Desktop Environments Apollo Neuro Promo Code [APOLLOZEN] $99 Off Legit Or Just Marketing Apollo Neuro Discount Code $99 Off [APOLLOZEN] Secret Savings Trick HTTP session disconnect on WI-FI disconnect / Networking, Server, and Protection [SOLVED] Cannot chain-load into Windows with GRUB. / Newbie Corner [SOLVED] Font hinting appears to be disabled on Qt6 applications? / Applications & Desktop Environments Black screen after waking up from sleep/hybernate/suspend. / Newbie Corner Diskless booting failing, ipconfig no devices to configure / Kernel & Hardware Strange Font Issue Across System / Newbie Corner [SOLVED] Laptop doesn't wake from sleep on NVIDIA 595.71.05 drivers / Newbie Corner Touchpad randomly stops moving (clicks still work) on Hyprland / Laptop Issues Random hangs on Ryzen Mobile after 6.18.13 ? / Kernel & Hardware [SOLVED] Can't get IP address for USB Ethernet device (KORG Wavestate) / Networking, Server, and Protection Laptop display does not turn on after being off for around 50 min / Multimedia and Games Text Corruption in GPU Screen Recorder GUI / Applications & Desktop Environments Mouse not correctly recognized during boot (Page 2) / Kernel & Hardware PKGBUILD review / AUR Issues, Discussion & PKGBUILD Requests Touchpad not working / Newbie Corner
Some other regressions with xdg-desktop-portal 1.22.0 / Applications & Desktop Environments
Trit · 2026-06-12 · via Arch Linux Forums

#1 Yesterday 15:20:20

Trit
Member
Registered: 2022-12-29
Posts: 11

Some other regressions with xdg-desktop-portal 1.22.0

Not related to https://bbs.archlinux.org/viewtopic.php?id=313883, AFAIK.

OS: Arch Linux x86-64
DE: XFCE 4.20
DE themes used: Adwaita (day), Adwaita-Dark (night)

Some problems appeared since update to xdg-desktop-portal 1.22.0. Downgrading to 1.20.4 fixes all of these.

Problem 1

In the Open/Save GTK dialog, pressing the Enter key when the text field has the focus does nothing anymore (it does not act as if I click on “Open“ or “Save”). I have to click on “Save” to confirm.
Plus, when a file already exists with the same name, there is no overwriting confirmation dialog anymore: it saves it immediately.

Problem 2

Open GIMP (set to theme “System” and color scheme “System colors”).

With Adwaita (light), it should open with a light theme, and switch to a dark theme only with Adwaita-Dark.
Instead, it always opens with a dark theme (I have to set it to “Light colors” to force it to switch to the light theme).

Problem 3

Open LibreOffice.
With Adwaita-Dark, even if Tools > Options > Appearance > Use white document background is disabled, it still shows the document backgound in white and not dark.

#2 Yesterday 16:06:16

tekstryder
Member
Registered: 2013-02-14
Posts: 547

Re: Some other regressions with xdg-desktop-portal 1.22.0

Trit wrote:

In the Open/Save GTK dialog, pressing the Enter key when the text field has the focus does nothing anymore

Cannot repro. Hitting Enter WFM.

Trit wrote:

when a file already exists with the same name, there is no overwriting confirmation dialog anymore

Cannot repro. Overwrite confirmation dialog appears.

Trit wrote:

Open GIMP (set to theme “System” and color scheme “System colors”).

Cannot repro. Light color scheme persists app restarts.

Trit wrote:

Open LibreOffice.
With Adwaita-Dark, even if Tools > Options > Appearance > Use white document background is disabled, it still shows the document backgound in white and not dark.

Cannot repro. After prompting for restart of the app, document color is dark.

Are you sure the portals are running?

systemctl --user status xdg-desktop-portal.service xdg-desktop-portal-gtk.service

#3 Yesterday 20:50:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: Some other regressions with xdg-desktop-portal 1.22.0

Do you have screenshots of the dialogs w/ either version?

1a) might just be focus policy (stealing prevention/window parenting) but the rest, notably the overwrite behavior, sounds as if you're using a completely different implementation.

#4 Yesterday 21:22:50

tekstryder
Member
Registered: 2013-02-14
Posts: 547

Re: Some other regressions with xdg-desktop-portal 1.22.0

seth wrote:

1a) might just be focus policy (stealing prevention/window parenting) but the rest...

Nope. Both 1a and 1b are consistent with the default behavior of native fallback dialogs, aka window class "GTK Application".

I suspect OP is aware of the recent breakage, but did not implement a working override for xdg-desktop-portal.service.

#5 Yesterday 21:27:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: Some other regressions with xdg-desktop-portal 1.22.0

I've no portal, if I hit ctrl+s and then enter this webpage gets saved. If I repeat that I get asked about the overwrite.
Also why would the native/fallback dialog ignore the color schemes?

#6 Yesterday 21:37:58

tekstryder
Member
Registered: 2013-02-14
Posts: 547

Re: Some other regressions with xdg-desktop-portal 1.22.0

seth wrote:

I've no portal, if I hit ctrl+s and then enter this webpage gets saved. If I repeat that I get asked about the overwrite.

1a) Trigger a download... e.g. download a package tar. Hitting Enter should be ignored with no portal*.

1b) Name the download. Download it a 2nd time with the same modified name. No confirmation, and * (1).* is appended to the filename.

Having just recently lived a year without portals this was the (annoying) behavior I'm familiar with.

* It's also application-dependent. I use Brave/Chromium. I suspect you're using Firefox.

Window class "GTK Application" is the last stop when a GTK app cannot find a portal or app-native file chooser.

seth wrote:

Also why would the native/fallback dialog ignore the color schemes?

This I've no clue how it's even related.

I simply attempted to repro the OP's claims and could not repro #2 or #3.

#7 Yesterday 22:02:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,933

Re: Some other regressions with xdg-desktop-portal 1.22.0

Vivaldi, and the dialog gets the focus and save is the active button - this might completely hinge on the window managers focus management, though.
1b) actually differs between page saving (collision resolution) and link download "(1)"

#8 Yesterday 22:13:00

tekstryder
Member
Registered: 2013-02-14
Posts: 547

Re: Some other regressions with xdg-desktop-portal 1.22.0

seth wrote:

this might completely hinge on the window managers focus management, though.

Possibly. Focus stealing prevention is disabled in my envs... i.e. focus stealing is enabled:

Hypr:

hl.config({
    misc = {
        focus_on_activate = true
    },
})

Sway:

focus_on_window_activation focus

From taming these dialogs with window rules, in order of preferred precedence (portal -> app -> fallback):

Hypr (including old hyprlang rules from before my move to portals):

hl.window_rule({ match = { class = "xdg-desktop-portal-gtk", title = ".*wants to.*" }, float = true, center = true, size = "1280 1024" })
windowrule = float on, center on, size 1280 1024, match:class brave, match:title .*wants to.*
windowrule = float on, center on, size 1280 1024, match:class GTK Application, match:title .*wants to.*

Sway:

for_window [app_id="xdg-desktop-portal-gtk"] floating enable, border pixel 2, resize set 1200 960
for_window [app_id="brave" title="wants to"] floating enable, resize set 1200 960
for_window [app_id="GTK Application"] floating enable, resize set set 1200 960

seth wrote:

1b) actually differs between page saving (collision resolution) and link download "(1)"

Yes, that's why I differentiated the two scenarios.

EDIT: Before we confuse anybody, per #2, with functional portals "collision resolution" works as expected in both scenarios.

Last edited by tekstryder (Today 00:08:09)

#9 Today 14:35:44

Trit
Member
Registered: 2022-12-29
Posts: 11

Re: Some other regressions with xdg-desktop-portal 1.22.0

I just updated again to 1.22.0 and… it’s fine, now. No errors. Weird, but I won’t complain! ^^

tekstryder wrote:

Are you sure the portals are running?

systemctl --user status xdg-desktop-portal.service xdg-desktop-portal-gtk.service

Both are active and running.

seth wrote:

1a) might just be focus policy (stealing prevention/window parenting) but the rest, notably the overwrite behavior, sounds as if you're using a completely different implementation.

I always used the official repo packaged versions for xdg-desktop-portal.

Command output:

$ pacman -Qs portal
local/libportal 0.9.1-3
    GIO-style async APIs for most Flatpak portals
local/libportal-gtk3 0.9.1-3
    GIO-style async APIs for most Flatpak portals - GTK 3 backend
local/libportal-gtk4 0.9.1-3
    GIO-style async APIs for most Flatpak portals - GTK 4 backend
local/xdg-desktop-portal 1.22.0-1
    Desktop integration portals for sandboxed apps
local/xdg-desktop-portal-gtk 1.15.3-1
    A backend implementation for xdg-desktop-portal using GTK

I don’t understand what happened for the first update to be broken, but it looks like downgrading and updating again fixed the bug. Solved for me, a priori.

EDIT: I spoke too soon, because I did not have restarted the services yet, and one of them is broken:

$ systemctl --user status xdg-desktop-portal.service xdg-desktop-portal-gtk.service
○ xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
     Active: inactive (dead)

juin 13 16:41:42 Primula systemd[665]: Dependency failed for Portal service.
juin 13 16:41:42 Primula systemd[665]: xdg-desktop-portal.service: Job xdg-desktop-portal.service/start failed with result 'dependency'.
juin 13 16:43:24 Primula systemd[665]: Dependency failed for Portal service.
juin 13 16:43:24 Primula systemd[665]: xdg-desktop-portal.service: Job xdg-desktop-portal.service/start failed with result 'dependency'.
juin 13 16:43:24 Primula systemd[665]: Dependency failed for Portal service.
juin 13 16:43:24 Primula systemd[665]: xdg-desktop-portal.service: Job xdg-desktop-portal.service/start failed with result 'dependency'.
juin 13 16:43:24 Primula systemd[665]: Dependency failed for Portal service.
juin 13 16:43:24 Primula systemd[665]: xdg-desktop-portal.service: Job xdg-desktop-portal.service/start failed with result 'dependency'.
juin 13 16:44:31 Primula systemd[665]: Dependency failed for Portal service.
juin 13 16:44:31 Primula systemd[665]: xdg-desktop-portal.service: Job xdg-desktop-portal.service/start failed with result 'dependency'.

● xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal-gtk.service; static)
     Active: active (running) since Sat 2026-06-13 16:41:42 CEST; 6min ago
 Invocation: 69eb0121f84043feaf6448e8dcde7891
   Main PID: 70956 (xdg-desktop-por)
      Tasks: 6 (limit: 4615)
     Memory: 5.4M (peak: 5.7M)
        CPU: 124ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/xdg-desktop-portal-gtk.service
             └─70956 /usr/lib/xdg-desktop-portal-gtk

juin 13 16:41:42 Primula systemd[665]: Starting Portal service (GTK/GNOME implementation)...
juin 13 16:41:42 Primula systemd[665]: Started Portal service (GTK/GNOME implementation).

Went back to 1.20.4, for now, with both services active and running well.

Screencaps can be seen here (1.22.0, broken):

https://rehost.diberie.com/Picture/Get/f/521162
https://rehost.diberie.com/Picture/Get/f/521163

For comparison, what it should have been (1.20.4, OK):

https://rehost.diberie.com/Picture/Get/f/521166
https://rehost.diberie.com/Picture/Get/f/521167

Last edited by Trit (Today 15:07:42)

#10 Today 15:16:42

tekstryder
Member
Registered: 2013-02-14
Posts: 547

Re: Some other regressions with xdg-desktop-portal 1.22.0

tekstryder wrote:

I suspect OP is aware of the recent breakage, but did not implement a working override for xdg-desktop-portal.service.

Trit wrote:

spoke too soon, because I did not have restarted the services yet, and one of them is broken

This is well understood. Downgrading isn't a viable "solution".

I suggest you go back and check the forum thread you linked in the OP:

https://bbs.archlinux.org/viewtopic.php?id=313883

Implement the drop-in service override whilst awaiting a longer-term solution either from upstream (highly unlikely):

https://github.com/flatpak/xdg-desktop- … 4651275776

Or via Arch packaging patch:

https://gitlab.archlinux.org/archlinux/ … rk_items/4

#11 Today 15:35:09

Trit
Member
Registered: 2022-12-29
Posts: 11

Re: Some other regressions with xdg-desktop-portal 1.22.0

I’ll try it. I was thinking it was possibly not related because I’m using XFCE and not Sway or Hyprland, but as it seems to be linked anyway…

Just so you know: the Enter key doing nothing in Save dialog seems to only occur in Vivaldi. It still worked in other apps (like Mousepad).

#12 Today 15:43:13

tekstryder
Member
Registered: 2013-02-14
Posts: 547

Re: Some other regressions with xdg-desktop-portal 1.22.0

This issue affects any minimal compositor environment that does not reach graphical-session.target.

As for non-functional Enter key...

I was living with that behavior with Brave when I had no portals installed, before they were foisted upon us recently by GTK4.

Last edited by tekstryder (Today 15:43:50)