Opened 7 months ago

Last modified 7 months ago

#15896 new defect

Problems in samples/widgets with GTK3

Reported by: Hanmac Owned by:
Priority: normal Milestone:
Component: wxGTK Version: dev-latest
Keywords: gtk3 Cc:
Blocked By: Blocking:
Patch: no

Description

wxDatePicker:

  • the layout is broken, i can't see it its only 1 px high (should be connected to wxOwnerDrawnComboBox)
  • wxDP_SPIN is not available in all ports (not in generic), disable the option for it

wxListBox:

  • the Checked box are not visible when the verylong entry is added

wxItemContrainer:

  • the Tests does fail when Sort is enabled

wxOwnerDrawnComboBox:

  • the layout is broken, i can't see it its only 1 px high
  • the "Bitmap Button" does break it with "width >= 0 && height >= 0" failed in Create(): invalid bitmap size

Change History (6)

comment:1 Changed 7 months ago by vadz

  • Status changed from new to infoneeded_new

Which platform are you testing under? I don't see the first problem neither under GTK nor MSW.

comment:2 Changed 7 months ago by Hanmac

  • Status changed from infoneeded_new to new

i tested GTK3, it might be that it does not happen on GTK2

comment:3 Changed 7 months ago by vadz

  • Component changed from samples to wxGTK
  • Keywords gtk3 added
  • Summary changed from samples/widgets is broken at some points (raise asserts) to Problems in samples/widgets with GTK3

We probably should open separate tickets for these problems as they're all or at least mostly GTK3 specific. In fact I think we already have one for wxDatePicker.

comment:4 Changed 7 months ago by PC

(In [75668]) Fix best size calculation with GTK3
GTK3 reports preferred size of hidden widgets as zero.
see #15896

comment:5 follow-up: Changed 7 months ago by Hanmac

after 75668 wxDatePicker & wxOwnerDrawnComboBox are visible again but ...
wxDatePicker cant select any date or change month or year
wxOwnerDrawnComboBox items can only selected with keyboard not with mouse

so the Popup is shown and closed, but nothing cant selected

comment:6 in reply to: ↑ 5 Changed 7 months ago by pcor

wxDatePicker cant select any date or change month or year

This is #15874

Note: See TracTickets for help on using tickets.