Formats - add separator after most used formats

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

User avatar
user0
XnThusiast
Posts: 2292
Joined: Sat May 09, 2015 9:37 am

Formats - add separator after most used formats

Post by user0 »

XnViewMP 1.6.1 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%


Formats dropdown
it is does not look nice when there are 2 lists joined togeter without any delimiter

Suggestion
add separator after most used formats
(shows only if ☑ 'Show most used format at begining' in Settings > Formats > Saving)

most_used_formats_add_separator.png



Related
You do not have the required permissions to view the files attached to this post.
Last edited by user0 on Thu Nov 02, 2023 9:01 am, edited 1 time in total.
cday
XnThusiast
Posts: 4355
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Formats - add separator after most used formats

Post by cday »

+1 with slightly bolder separator.
User avatar
XnTriq
Moderator & Librarian
Posts: 6501
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Formats - add separator after most used formats

Post by XnTriq »

I support this request.
ckit
XnThusiast
Posts: 2579
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Re: Formats - add separator after most used formats

Post by ckit »

Supported but are BMP and TIFF still commonly used?
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
cday
XnThusiast
Posts: 4355
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Formats - add separator after most used formats

Post by cday »

ckit wrote: Thu Nov 02, 2023 11:14 pm Supported but are BMP and TIFF still commonly used?
The formats displayed can be selected in Tools > Settings... > Formats > Saving tab -- Show most used formats at beginning ... :D
User avatar
xnview
Author of XnView
Posts: 45858
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Formats - add separator after most used formats

Post by xnview »

not very easy to do. User can select separator
Pierre.
User avatar
user0
XnThusiast
Posts: 2292
Joined: Sat May 09, 2015 9:37 am

Re: Formats - add separator after most used formats

Post by user0 »

xnview wrote: Sun Nov 05, 2023 3:18 pm not very easy to do. User can select separator
are you sure?

there is special function available:
QComboBox::insertSeparator
https://www.mimec.org/blog/qcombobox-with-separator wrote:In version 4.4 of Qt a long awaited feature was added to the QComboBox widget. It is now possible to create separator items, which are drawn as thin, gray lines and cannot be selected. Before 4.4 it was necessary to create a custom item delegate, and also to add a few hacks in order to correctly calculate the height of the popup list and to make it impossible to select the separator using up and down arrow keys. Now we can simply use the insertSeparator method.

example:
How to add separator in between the item of ComboBox
insertSeparator.png
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 45858
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Formats - add separator after most used formats

Post by xnview »

the save as dialog (Windows) doesn't use Qt
Pierre.