Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
13 check-ins related to "x11-desktop-portal"
|
2026-11-29
| ||
| 18:04 |
Add tk_useNativeDialogs, which TIP 763 leaves open for discussion. The
dialogs of the desktop cannot be turned off at present, which its forum
thread calls a no-go; the variable is the one the TIP sketches, true by
default, and it belongs to every platform rather than to X11 alone.
tk_getOpenFile, tk_getSaveFile and tk_chooseDirectory are now one procedure each, the same on every platform: the dialog of the platform where there is one and the application wants it, the Motif dialog where the application asked for Motif look and feel, and the dialog implemented in Tk otherwise. The variable is therefore tested before tk_strictMotif, and the desktop's dialog outranks the Motif one, as the dialog of the platform always has on Windows and macOS, where tk_strictMotif never reached the native file dialogs at all. So the dialogs of the platform become commands of their own there, ::tk::NativeGetOpenFile and the like. A command of a namespace cannot be hidden in a safe interpreter - Tcl_HideCommand takes a global name, and the loop which hides what is not safe ignores its failure - so these three are not created in one at all, which is what NOTINSAFE says. A safe interpreter keeps the procedure and reaches the dialog implemented in Tk, as it always has on X11; safe-1.2 lists them among the hidden commands no longer. filebox-9.1 to 9.4 cover the four ways the two variables can be set. isNative can no longer ask whether the command is a procedure, since now it always is, and asks whether the dialog shown would be the platform's; it is also computed after the portal is turned off rather than before. Tested on Linux/X11 and on Windows 11. macOS goes the same way as Windows through the shared table, but is untested. leaf check-in: 43972ad4 user: serhiy.storchaka tags: x11-desktop-portal | |
| 10:02 |
Merge trunk. Two conflicts: doc/sysnotify.n keeps the portal sentence in
trunk's wording for X11 and Wayland, and unix/Makefile.in keeps
tkUnixPortal.c beside trunk's new font sources.
A child interpreter made by childTkInterp no longer uses the portal either. choosedir-6.1 creates a child and calls [tk_chooseDirectory] in it, while the dialog testutils disable the portal only in the interpreter which imports them, so on a desktop which has a portal that test opened the desktop's own directory chooser - on the screen of whoever ran the suite, outside the Xvfb display the tests were using. check-in: 770b3345 user: serhiy.storchaka tags: x11-desktop-portal | |
| 03:41 | Clean up erroneous duplication of ttk code; prune duplicate lines in ttkTreeview.c check-in: cc2e2cff user: kevin_walzer tags: trunk, main | |
|
2026-11-02
| ||
| 22:57 | Merge x11-desktop-portal, whose D-Bus layer the implementation of TIP 767 builds on: [::tk::portal::_call] for reading org.freedesktop.portal.Settings, and the connection's place in the event loop for SettingChanged. check-in: 7897cd67 user: serhiy.storchaka tags: x11-desktop-appearance | |
|
2026-10-26
| ||
| 18:30 | Merge x11-desktop-portal, whose D-Bus layer the implementation of TIP 767 builds on: [::tk::portal::_call] for reading org.freedesktop.portal.Settings, and the connection's place in the event loop for SettingChanged. check-in: 9a9f1f72 user: serhiy.storchaka tags: x11-desktop-appearance | |
|
2026-10-23
| ||
| 18:00 | Merge trunk check-in: 430b18f4 user: kevin_walzer tags: x11-desktop-portal | |
| 16:18 | Manpage markup fixes check-in: e4c9f6e9 user: jan.nijtmans tags: trunk, main | |
|
2026-10-05
| ||
| 11:54 | Portal file dialogs: do not pass directories and files outside the native file system (zipfs etc.) to the desktop, as on Windows. check-in: 47c17834 user: serhiy.storchaka tags: x11-desktop-portal | |
| 09:35 | getOpenFile.n: do not claim that desktops ignore -initialdir (KDE honors it). check-in: 687621aa user: serhiy.storchaka tags: x11-desktop-portal | |
|
2026-10-03
| ||
| 19:39 | Fix printing texts through the portal: wrap the lines to the printable area used by the print system's text filter (it ignores the margins from the dialog), and convert texts to PDF with cupsfilter, because not all desktops pass the orientation to the print system. check-in: f057e04d user: serhiy.storchaka tags: x11-desktop-portal | |
| 19:02 | chooseDirectory.n: the desktop's dialog on X11 only returns existing directories, whatever the value of -mustexist. check-in: 693c2afc user: serhiy.storchaka tags: x11-desktop-portal | |
| 18:30 |
TIP 763: Use the XDG desktop portal on X11 for the file dialogs (tk_getOpenFile, tk_getSaveFile, tk_chooseDirectory), tk print and tk sysnotify.
libdbus is loaded at runtime (unix/tkUnixPortal.c, a generic bridge: ::tk::portal::_call, _request, _parent); the portal logic is in library/portal.tcl. The Tcl dialogs, the Tk print dialog, libnotify and the Tk notification window remain as fallbacks. When printing to a file, the document is converted to PDF or PostScript with cupsfilter (or ps2pdf). The dialog tests disable the portal. check-in: 45ae5a5a user: serhiy.storchaka tags: x11-desktop-portal | |
| 17:40 | Correct error in time check-in: bc6b2673 user: kevin_walzer tags: trunk, main | |
