← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Pcbnew menu bar

 

Yes, the JetBrains stuff did that too.  I remember being quite a fan of it.

> On 21 Feb 2018, at 14:42, Jon Evans <jon@xxxxxxxxxxxxx> wrote:
> 
> List+Tabs can work well too.  I just think we will benefit from multiple levels of hierarchy, and from having the first level of hierarchy be a vertical list that can have some kind of logical grouping (section headers, horizontal lines, etc)
> 
> To be honest, I don't find Qt Creator to be a shining example of preferences done right, because while the List+tabs is a good start, many of the tabs then go off to spawn child dialogs and discovery is harder than it should be.
> 
> I think no matter what we do, we should think about it as embracing the fact that we will have a lot of preferences, rather than begrudgingly accepting that.  The latter can lead to people removing preferences that some other people want to use, just because the preferences dialog can't display them all in a nice way.
> 
> While it's not perfect, I think the Eclipse IDE preferences are actually a neat model for this -- there are tons of options, and so the preferences dialog even has a search box that lets you quickly identify where certain settings live (I think JetBrains IDEs do this too).
> 
> Best,
> Jon
> 
> On Wed, Feb 21, 2018 at 9:35 AM, Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>> wrote:
> I’m not a fan of tree controls for preferences, but there’s also the compromise of a list + tabs (a la QTCreator).
> 
> 
>> On 21 Feb 2018, at 14:28, Jon Evans <jon@xxxxxxxxxxxxx <mailto:jon@xxxxxxxxxxxxx>> wrote:
>> 
>> Before you commit to that, I had wanted to make an argument in favor of tree view preferences instead of tabs.
>> I think we will quickly exceed a reasonable number of tabs in order to accommodate having all the preferences in one place, especially given that we will only have more and more features to bring us closer to feature parity with more advanced ECAD software and those features will sometimes come with their own preferences.
>> 
>> -Jon
>> 
>> On Wed, Feb 21, 2018 at 9:08 AM, Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>> wrote:
>> Yes, but not for 5.0.
>> 
>> See https://bugs.launchpad.net/kicad/+bug/1748680 <https://bugs.launchpad.net/kicad/+bug/1748680> (most of the Kicad menu items will be app settings).
>> 
>> But this reminds me that I should probably add a task to tabularize pcbnew’s preferences like we did with eeschema.
>> 
>> Cheers,
>> Jeff.
>> 
>> 
>>> On 21 Feb 2018, at 13:07, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx <mailto:stegmaier@xxxxxxxxxxxxx>> wrote:
>>> 
>>> Hi,
>>> 
>>> Just to mention… it has been like this before the patches.
>>> At least on macOS, there is still a “Preferences” menu entry below the “KiCad” menu bar entry (the “General Settings” dialog).
>>> Then, there is the “Preferences” menu… without those “General Setting”.
>>> 
>>> Because there is a “Preferences” menu bar entry I didn’t look anywhere else for the general settings.
>>> Took me quite a while to find them in the “KiCad” menu bar entry.
>>> 
>>> Any plans to change this?
>>> 
>>> 
>>> Regards,
>>> Bernhard
>>> 
>>>> On 20. Feb 2018, at 08:17, Nick Østergaard <oe.nick@xxxxxxxxx <mailto:oe.nick@xxxxxxxxx>> wrote:
>>>> 
>>>> Hello Michael and Jeff,
>>>> 
>>>> It seems like we got our first small regression from this patch series. Could you have a look. Please note it looks like it is window manager dependent.
>>>> https://bugs.launchpad.net/kicad/+bug/1750494 <https://bugs.launchpad.net/kicad/+bug/1750494>
>>>> 
>>>> Nick
>>>> 
>>>> 2018-02-18 23:03 GMT+01:00 Wayne Stambaugh <stambaughw@xxxxxxxxx <mailto:stambaughw@xxxxxxxxx>>:
>>>> Indeed I did forget.  Thanks for the reminder.  Thank you Jeff for the patches.
>>>> 
>>>> 
>>>> On 02/18/2018 03:02 PM, Michael Kavanagh wrote:
>>>> Thanks Wayne. Please don't forget to merge Jeffs dialog changes which
>>>> complete the Pcbnew menubar modifications. I have reattached them to
>>>> this email for convenience.
>>>> 
>>>> Cheers,
>>>> Michael
>>>> 
>>>> On 18 February 2018 at 19:16, Wayne Stambaugh <stambaughw@xxxxxxxxx <mailto:stambaughw@xxxxxxxxx>> wrote:
>>>> Michael,
>>>> 
>>>> I figured out why we are not using IS_ACCELERATOR for these menu entries.
>>>> AddHotkeyName() adds a "+Alt+" to the hotkey so this is *not* what we want
>>>> so I used the original 0003 patch.  I apologize for the confusion.  I merged
>>>> this and you 0004 patch.  We can make any tweaks to it if it's not exactly
>>>> what we want.  Thank you for your contribution to KiCad.
>>>> 
>>>> Cheers,
>>>> 
>>>> Wayne
>>>> 
>>>> 
>>>> On 02/18/2018 10:10 AM, Michael Kavanagh wrote:
>>>> 
>>>> In every other app New, Open, Save, Save As and Print are standard
>>>> hotkeys and not accelerators. They don't have the modifier key, so are
>>>> the "standard" keyboard shortcuts.
>>>> 
>>>> Nevertheless, please find attached new patches for review. These
>>>> accompany both of Jeffs dialog patches. Hopefully I didn't break
>>>> anything, implementing the sketch modes removed from the dialogs
>>>> involved fiddling with the GAL tools framework.
>>>> 
>>>> Cheers,
>>>> Michael
>>>> 
>>>> On 17 February 2018 at 17:27, Wayne Stambaugh <stambaughw@xxxxxxxxx <mailto:stambaughw@xxxxxxxxx>>
>>>> wrote:
>>>> 
>>>> It should be.  We really need to get out of the bad habit of having
>>>> toolbar only access to tools and settings.  I'm sure there are some in
>>>> the schematic editor, symbol editor, and footprint editor as well.
>>>> 
>>>> On 02/17/2018 06:16 AM, Jeff Young wrote:
>>>> 
>>>> The Fill/Outline stuff is included.  Not sure about High Contrast mode,
>>>> but it probably should be.
>>>> 
>>>> On 17 Feb 2018, at 06:58, Gaurav Juvekar <gauravjuvekar@xxxxxxxxx <mailto:gauravjuvekar@xxxxxxxxx>>
>>>> wrote:
>>>> 
>>>> Hi all,
>>>> 
>>>> Probably not too relevant, but can we have a workaround of
>>>> https://bugs.launchpad.net/kicad/+bug/1575097 <https://bugs.launchpad.net/kicad/+bug/1575097> (hidden icons) by adding
>>>> View -> High Contrast (Checkable like the "Flip board view")
>>>> View -> Tracks -> Outline (Radio button like the canvas selector)
>>>>                 -> Fill
>>>> View -> Vias   -> Outline
>>>>                 -> Fill
>>>> View -> Pads   -> Outline
>>>>                 -> Fill
>>>> 
>>>> to the menu entries?
>>>> 
>>>> --
>>>> Regards,
>>>> Gaurav Juvekar
>>>> 
>>>> _______________________________________________
>>>> 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>
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> 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>
>>>> 
>>>> 
>>>> _______________________________________________
>>>> 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>
>>>> 
>>>> 
>>>> _______________________________________________
>>>> 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>
>>>> 
>>>> 
>>>> _______________________________________________
>>>> 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>
>>>> 
>>>> 
>>>> _______________________________________________
>>>> 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>
>>>> 
>>>> _______________________________________________
>>>> 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>
>>>> 
>>>> _______________________________________________
>>>> 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>
>>> 
>>> _______________________________________________
>>> 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>
>> 
>> 
>> _______________________________________________
>> 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>
>> 
>> 
> 
> 


References