[vim/vim] Fix hardcopy tests for GTK4 GUI (PR #21009)

Foxe Chen (Vim Github Repository) <[email protected]> Tue, 11 Aug 2026 09:09:15 -0700
Newsgroups gmane.editors.vim.devel
Message-ID <vim/vim/pull/[email protected]>
The main problem is that `hardcopy` is used instead of `hardcopy!`, so GTK4 print dialog attempts to show, which tries to use xdg-desktop-portal that is not available.
You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/21009

-- Commit Summary --

  * set GDK_DEBUG=no-portals for hardcopy tests
  * use bang with :hardcopy to prevent GTK4 dialog

-- File Changes --

    M .github/workflows/ci-linux.yml (1)
    M .github/workflows/ci-linux_asan.yml (1)
    M src/testdir/test_hardcopy.vim (6)

-- Patch Links --

https://github.com/vim/vim/pull/21009.patch
https://github.com/vim/vim/pull/21009.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/pull/21009
You are receiving this because you are subscribed to this thread.

Message ID: <vim/vim/pull/[email protected]>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/21009%40github.com.