[GNC-dev] GncCombott Widget

Christopher Lam christopher.lck at gmail.com
Tue Feb 16 08:52:32 EST 2021


Hi Robert

The reality is that you're probably the most skilled in gtk in here so your
view is likely the best one. However I agree that replicating gtkcombobox
is probably unnecessary.

My personal view is that tooltips are an obscure mechanism to display
additional (occasionally crucial) useful information, and it'd be much
simpler to show it in a regular gtk label -- see example in the
reconciliation dialog, eg the reconciliation date is in the future. Or the
payment dialog whereby the invoice isn't selected, thereby creating an
unattached payment.

C


On Tue, 16 Feb 2021, 7:11 pm Robert Fewell, <14ubobit at gmail.com> wrote:

> Hi,
>
> In bug 798109 it was highlighted that the widget I wrote back in 2012 does
> not respond to keyboard use well which I think would be relatively easy to
> fix and maybe a couple of tweaks.
>
> Geert suggested that it could be dropped in favour of a traditional
> GtkComboBox.
>
> The reason I wrote it was to match the GTK2 version at that time which
> allowed you to have tooltips on the popped up menu items as well as when
> the item was selected and the popup removed. This can not be done in the
> GTK3 version as I can see no way of getting to the used GtkMenu. The GTK3
> version only supports a tooltip when there is no popup displayed. This
> tooltip can still be specific to the selected item with the use of a
> 'query-tooltip' call back.
>
> I think the widget is mainly used in dialog options for reports.
>
> I am fine with fixing the widget or replacing it, just asking if there is a
> preference.
>
> Regards,
> Bob
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>


More information about the gnucash-devel mailing list