kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #12229
Re: Patch: CvPcb - bring footprint window to front when it is buried
On 7 February 2014 16:17, Henner Zeller <h.zeller@xxxxxxx> wrote:
> On 7 February 2014 02:37, Brian Sidebotham <brian.sidebotham@xxxxxxxxx> wrote:
>> On 5 February 2014 17:18, Henner Zeller <h.zeller@xxxxxxx> wrote:
>>> Hi,
>>> I usually have a lot of windows stacked on my desktop, which often obscures
>>> the 'footprint window' in CvPcb. Pressing the 'view selected footprint'
>>> brings the window up the _first_ time, but when it is already there, it
>>> stays buried - which is frustrating.
>>>
>>> So I created the following patch, that works well in Linux and does exactly
>>> how it should behave: bringing the window second in the stack of windows on
>>> the screen. The focus still stays on CvPcb, but the window is brought as
>>> much to the top as possible.
>>>
>>> I don't know if there is a special function in wxWidgets to achieve that,
>>> but the proposed method in the patch works fine. There is a slight chance
>>> that this might create a flicker-experience in some other OSes window
>>> managers, so please give suggestions how this could be worked around there,
>>> if it turns out to be a problem.
>>>
>>> View patch:
>>> https://github.com/hzeller/kicad/compare/master...make-existing-footprint-window-visible
>>>
>>> Download:
>>> https://github.com/hzeller/kicad/compare/master...make-existing-footprint-window-visible.diff
>>>
>>> Thanks,
>>> -henner
>>>
>>
>> Hi Henner,
>>
>> Thanks for the patch. I'll get round to testing it tonight. If it
>> doesn't cause problems (I'm sure it won't) then I'll commit it for
>> you.
>
> thanks!
>
Hi Henner,
Committed in BZR4669 with very slight changes to the comments only.
Thanks!
Best Regards, Brian.
References