Duplicate top menu items

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
esv
Posts: 43
Joined: Fri Sep 16, 2022 1:04 pm

Duplicate top menu items

Post by esv »

After I close some all tabs (and maybe in some other cases I haven't noticed) I get duplicate menus (e.g., View menu is duplicated in the screenshot below), so I have to restart the app to get the regular menus back.
It seems like somehow they can't get merged properly on some changes, so instead of creating a proper sub-menu, a new menu item is created with the same name that contains only this sub-menu

XnView: MP 1.3.1 64 bit
OS: macOS 10.15.7 64bit
(though same thing happens on a Windows 10)
Attachments
View menu 2
View menu 2
View menu 1
View menu 1
Menu1.png (73.04 KiB) Viewed 2030 times
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Duplicate top menu items

Post by xnview »

are you able to reproduce?
Pierre.
esv
Posts: 43
Joined: Fri Sep 16, 2022 1:04 pm

Re: Duplicate top menu items

Post by esv »

Yes, always, here is the simplest list of steps I've found that reproduces this bug:
- Close all tabs
- Close XnViewMP
- Open an image (opens XnViewMP with a single image tab)
- Hit Enter to open the browser tab
- Close the browser tab and the image tab
- Observe multiplying menus

Repeat the last 4 steps and you get
Attachments
menu.png
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Duplicate top menu items

Post by xnview »

ok i can reproduce if 'Settings>Interface>Tabs - Closing last tab' is not checked
Pierre.
esv
Posts: 43
Joined: Fri Sep 16, 2022 1:04 pm

Re: Duplicate top menu items

Post by esv »

Ok, good that you can repro it.
That option is useful to me as it help easily open various photos from various folders from the file manager (so, to use XnView as "just" a viewer) and then just hold ⌘W to close all the clutter without closing the app and then suffering the startup delay when viewing another photo
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Duplicate top menu items

Post by xnview »

See issue for current status and some details.
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Duplicate top menu items

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.4.3. Please check and confirm the bug fix here.
Pierre.
esv
Posts: 43
Joined: Fri Sep 16, 2022 1:04 pm

Re: Duplicate top menu items

Post by esv »

Can confirm it's fixed and not creating any duplicate menus (I see the menu flashing when I close the last file, which I assume is that "refresh" action the prevents duplication)
Thank you!
Post Reply