Merkuro Contact Menubar not visible in Plasma Mobile

Hello, I am experiencing an interesting issue that I am not sure is a bug or not.

I have a vcard file containing information for many contacts. I would like to import this file into Merkuro Contact running on Arch Linux Arm on a Pinephone with Plasma Mobile. In Plasma Desktop on my PC, this seems possible in the Merkuro Contact Menubar by going to Settings > Configure Merkuro Contact > Add Account > vCard File. However, when I try to do this process on a Pinephone running Arch Linux ARM and Plasma Mobile, the Menubar (File, Edit, View, Create, Window, Settings, Help) is not visible.

I noticed in Merkuro Contact on Plasma Desktop that if I uncheck Settings > Show Menubar, the Menubar disappears and a hamburger menu icon shows up in the drawer allowing me to toggle the menu back on. On the Pinephone, I do not see this hamburger menu icon, so I assume the application thinks the Menubar is being shown, but it is not visible to me.

I tried creating a ~/.config/merkuro.contactrc file on the Pinephone and adding the following lines:

[General]
CommandBarLastUsedActions=
showMenubar=false

This made the hamburger menu icon show up in the drawer in Merkuro Contact on the Pinephone, but when I clicked it and “Show Menubar”, the hamburger menu icon went away, and the Menubar never became visible. I tried this with and without Docked Mode in the Plasma Mobile quick settings and in both portrait and landscape screen orientation in case that matters.

I am not sure if this is a bug in Merkuro Contact, a bug in Kirigami, a bug in Plasma Mobile’s implementation of menus, or if I am simply not aware of how or where to see Menubars in Kirigami applications in Plasma Mobile.

Desktop System Info:

  • Operating System: Arch Linux
  • KDE Plasma Version: 6.6.5
  • KDE Frameworks Version: 6.26.0
  • Qt Version: 6.11.0
  • Kernel Version: 6.18.9-arch1-2 (64-bit)
  • Graphics Platform: Wayland
  • kirigami 6.26.0-1
  • merkuro 26.04.1-1

Pinephone System Info:

  • Operating System: Arch Linux ARM
  • KDE Plasma Version: 6.6.5
  • KDE Frameworks Version: 6.26.0
  • Qt Version: 6.11.0
  • Kernel Version: 6.18.3-1-megi-danctnix (64-bit)
  • Graphics Platform: Wayland
  • kirigami 6.26.0-1
  • merkuro 26.04.1-1

Thank you for any insights or guidance you can offer!

I just tested again on the Pinephone, but using a usb-c dock with connected display. I thought maybe the Pinephone’s smaller screen size could be the issue. Unfortunately, the result was the same: no visible menubar in Merkuro Contact on Plasma Mobile where it would be visible on Plasma Desktop.

I found a Reddit post states that ctrl + M can also be used to hide or show menubars, so I also tried plugging a keyboard into the Pinephone without success. It simply causes the hamburger menu icon to appear or disappear, similar to setting showMenubar to false in the RC file as described in my original post above.

I looked through the Plasma Mobile settings and did not see anything relevant either.

I am not familiar with the Merkuro code, but from briefly looking through it, it appears this behavior may be a result of the QML in src/components/qml/BaseApplication.qml on line 26. Sorry, I am not allowed to include links in my posts, but the source code is easy to find.

    menuBar: Loader {
        active: !Kirigami.Settings.hasPlatformMenuBar && !Kirigami.Settings.isMobile && root.application.menubarVisible && root.pageStack.currentItem

        height: active ? implicitHeight : 0
        sourceComponent: root.menubarComponent
        onItemChanged: if (item) {
            item.Kirigami.Theme.colorSet = Kirigami.Theme.Header;
        }
    }

So it looks to me like the menubar will not be active if Kirigami detects that the device is a mobile device. If I am correct, and if this is the behavior that the maintainers of Merkuro Contact feel is best, then I would like to ask that there be some adjustment made to the Merkuro Contact UI to make the vCard file import of contacts possible by some other way than via the menubar. At least on mobile.