FS#79540 - [glib2] mc does not open files after glib2 update

Attached to Project: Arch Linux
Opened by alexander (pavard) - Saturday, 02 September 2023, 13:36 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 08 September 2023, 01:09 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Caleb Maclennan (alerque)
George Rawlinson (rawlinsong)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:

After updating glib2 package from 2.76.4-1 to 2.76.5-1 mc doen't open files by their extension by pressing key enter.
Rolling back the glib2 package version restores the work.
Removal .cache/mc .local/share/mc and /tmp/mc-* doesn't help.

Additional info:
* package version(s)
mc 4.8.30-1
glib2 2.76.5-1 - mc has problem
glib2 2.76.4-1 - mc hasn't problem

* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
1. pacman -Suy
2. check glib2 version: 2.76.5-1
3. try to open any file with known extension by pressing enter.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Friday, 08 September 2023, 01:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  glib2 2.76.5-2
Comment by Toolybird (Toolybird) - Saturday, 02 September 2023, 22:11 GMT
This is an upstream mc problem. The upstream ticket [1] contains a workaround. But it'll be a bit tedious to fix in multiple places in mc.ext.ini [2]

[1] https://midnight-commander.org/ticket/4502
[2] https://man.archlinux.org/man/mc.1#Edit_Extension_File
Comment by alexander (pavard) - Sunday, 03 September 2023, 07:17 GMT
incorrect title. all registered extensions are not opened, not just archives.
Comment by loqs (loqs) - Thursday, 07 September 2023, 23:40 GMT
Should be fixed by in glib2 by [1] which has been applied to the main branch but not the glib-2-76 branch.

[1] https://gitlab.gnome.org/GNOME/glib/-/commit/4a9672764214d5fab569b774fe761ae7d2ec11d9
Comment by Toolybird (Toolybird) - Friday, 08 September 2023, 00:33 GMT
Thanks @loqs. I think @heftig would be more likely to backport the fix if upstream apply it to the stable branch.

PS: as per upstream glib ticket [1], more than just mc is affected.

[1] https://gitlab.gnome.org/GNOME/glib/-/issues/3094

Loading...