← Back to team overview

kicad-developers team mailing list archive

Re: New version of net selector up

 

Hi Wayne,

Might you have the next-to-last commit?  The orphaned dropdown should have been fixed in the latest.

I think I’m close to getting this to work so I’d like to stick at it a bit longer.  I’ve pushed fixes for stay-on-top and possibly the height problem.  The stay-on-top thing might also fix the can’t-close-popup-by-clicking-outside-it.

Cheers,
Jeff.


> On 27 Sep 2018, at 13:19, Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:
> 
> Here is the list of issues so far (see attached image):
> 
> The drop down expands downward until the bottom of the desktop with no
> scrollbar.
> 
> I cannot make the dropdown return to it's closed state unless I select an .
> 
> The drop down stays on top of every open application
> 
> I can close the dialog with the drop down open and the dropdown doesn't
> get closed so I have an orphaned dropdown control which is a rather
> amusing side effect.
> 
> Maybe we should revert back to a stock dropdown and live without type
> ahead find until we move to a later version of wxwidgets.
> 
> Cheers,
> 
> Wayne
> 
> 
> On 9/27/2018 6:58 AM, Jeff Young wrote:
>> Hi guys,
>> 
>> Some wxWidgets facilities clearly aren’t working as advertised, so I’ve
>> removed them and simplified the code.
>> 
>> I’ve put in some defensive code for the second issue, but I don’t know
>> if it will work or not.
>> 
>> I’ve put in de-bouncing logic which I’m pretty sure will fix the third
>> issue.
>> 
>> When you get a chance let me know if there’s any improvement.
>> 
>> Cheers,
>> Jeff.
>> 
>> BTW, when you say “can’t scroll with the mouse” do you mean using the wheel?
>> 
>> 
>>> On 26 Sep 2018, at 23:39, Eeli Kaikkonen <eeli.kaikkonen@xxxxxxxxx
>>> <mailto:eeli.kaikkonen@xxxxxxxxx <mailto:eeli.kaikkonen@xxxxxxxxx>>> wrote:
>>> 
>>> 
>>> 
>>> to 27. syysk. 2018 klo 1.06 Seth Hillbrand (seth@xxxxxxxxxxxxx <mailto:seth@xxxxxxxxxxxxx>
>>> <mailto:seth@xxxxxxxxxxxxx <mailto:seth@xxxxxxxxxxxxx>>) kirjoitti:
>>> 
>>> 
>>>    Three big issues still on GTK:
>>>    - Can't scroll with mouse (keyboard up/down arrows work though)
>>>    - The focus goes to the text filter box but typing places the text
>>>    in the last text box that was selected before you clicked into the
>>>    net name box.
>>>    - Clicking or double-clicking on the net name doesn't place it in
>>>    the net name text box.
>>> 
>>> 
>>> The first and third problems are here, too. I don't understand the
>>> second one. Here moving mouse downwards onto the text filter box
>>> closes the whole dropdown. I can go around that box (make a half
>>> circle outside the widget) and then to the list, but the list doesn't
>>> work because of the above mentioned reasons.
>>> 
>>> There's one more little detail: if some other dropdown list is opened
>>> and then closed, that widget keeps the focus. But when the Net widget
>>> is closed, it doesn't keep the focus, it goes back to whatever widget
>>> had the focus before.
>>> 
>>> Application: kicad
>>> Version: (6.0.0-rc1-dev-614-gd1e64919a), debug build
>>> Libraries:
>>>     wxWidgets 3.0.3
>>> Platform: Linux 4.13.0-46-generic x86_64, 64 bit, Little endian, wxGTK
>>> Build Info:
>>>     wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
>>>     Boost: 1.62.0
>>>     Compiler: GCC 7.2.0 with C++ ABI 1011
>>> 
>>> Build settings:
>>>     USE_WX_GRAPHICS_CONTEXT=OFF
>>>     USE_WX_OVERLAY=OFF
>>>     KICAD_SCRIPTING=ON
>>>     KICAD_SCRIPTING_MODULES=ON
>>>     KICAD_SCRIPTING_WXPYTHON=ON
>>>     KICAD_SCRIPTING_ACTION_MENU=ON
>>>     BUILD_GITHUB_PLUGIN=OFF
>>>     KICAD_USE_OCE=OFF
>>>     KICAD_USE_OCC=OFF
>>>     KICAD_SPICE=OFF
>>> 
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>>
>>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>> 
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>> 
> <dialog1.png>_______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>

Follow ups

References