Ticket #4614 (new defect)

Opened 5 days ago

Last modified 44 hours ago

Open File Manager does not work in Konsole if MC is started

Reported by: maxim Owned by:
Priority: major Milestone: Future Releases
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Let's bind 'Open File Manager' to Shift + Return.

1) Open KDE Konsole terminal.
2) Press Shift + Return
3) Terminal will open Dolphin
4) Start MC in the same terminal
5) Try again with Shift + Return
6) Command is failed with message 'The file or folder <host>/ does not exist.'

It looks like MC breaks something after start, <host> string probably uses FQDN of the host.

If I exit Midnight Commander issue is still present, so it breaks something in Konsole session and even do not restore that on exit. So only new Konsole terminal (for example new Tab) will work again.

---
GNU Midnight Commander 4.8.32
Built with GLib 2.82.2
Built with S-Lang 2.3.3 with terminfo database
Built with libssh2 1.11.1
With builtin editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
With ext2fs attributes support
Virtual File Systems:

cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, shell

Data types:

char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

Change History

comment:1 Changed 5 days ago by zaytsev

Let's bind 'Open File Manager' to Shift + Return.

Where do you bind this, what system is that?

If I exit Midnight Commander issue is still present, so it breaks something in Konsole session and even do not restore that on exit.

Did it work before with 4.8.31? If yes, then it may be related to #3088.

comment:2 Changed 5 days ago by maxim

Where do you bind this, what system is that?

In Konsole app: Settings menu, Configure Keyboard Shortcuts, then type Open File Manager in Search input, choose corresponding item, set some key combination like Shift + Return.

Did it work before with 4.8.31? If yes, then it may be related to #3088.

Yes, it worked before, but I do not know when exactly it stopped to work (which version).

Any workaround to revert the previous behaviour and test it?

comment:3 Changed 5 days ago by zaytsev

You can revert 6b44fce839b5c2e85fdfb8e1d4e5052c7f1c1c3a and check if it fixes the issue. If not, it's something else. Then you need to find a working version and bisect from there.

comment:4 Changed 45 hours ago by maxim

I reverted "Merge branch '3088_terminal_cwd'"

    This reverts commit 6b44fce839b5c2e85fdfb8e1d4e5052c7f1c1c3a, reversing
    changes made to dc1aa3e4e30f3f871a57a81cd7aa9156668b3db8.

It did not help, problem is still present.

comment:5 Changed 44 hours ago by zaytsev

Well, ok, then if you are confident, that it worked before, and the problem is with mc and not your DE, then you should find the earliest version that worked and git bisect from there to identify the commit that broke it.

Note: See TracTickets for help on using tickets.