Mailing list archives : pcb-rnd

ID:5965
From:rn...@igor2.repo.hu
Date:Wed, 15 Feb 2023 12:49:56 +0100 (CET)
Subject:Re: [pcb-rnd] SCH-RND Message Log message
in-reply-to:5964 from Derek <de...@q40.de>
replies: 5966 from Derek <de...@q40.de>
Hi Derek,
 
On Wed, 15 Feb 2023, Derek wrote:
 
> Hi Igor2,
>
> I seem to have another issue, with the Library Window open and a symbol
> selected into the Paste Buffer, pressing EW to rotate the symbol, doe snot
> rotate the symbol, but type the EW into the Library window filter box.
>
> I have to place the symbol and close the Library Window before the hotkey EW
> will rotate the symbol.
>
> Not sure what is going on.
 
Sounds like a focus problem, which is related to your window manager (WM). 
Keyboard events are always sent to the one window that has the focus. 
Different WMs change focus differently.
 
I don't know your window manager, but I guess it changes focus on click.
 
So when you open the library window, it gets the focus, and keeps focus 
until you click into another window. When you first place your symbol in 
the drawing area, that's a click, which makes your WM change focus to the 
top window. 
 
What you can do is:
 
- click on the top window, but not on the drawing area, before pressing {e 
w}. For example click on the empty area on the top side, between the menu 
and the top right readouts. This would tell your WM to move focus to the 
top window, while the click on such a neutral place would be ignored by 
sch-rnd
 
- or if your WM does window decoration, probably clicking the title bar of 
the main window could work too
 
- use some other means of changing the focus (again totally WM-dependt;
maybe alt-tab, alt-j/alt-k, maybe clicking on some task bar thing, maybe
something else)
 
- close the library window after selecting the symbol; most WMs would then 
put back focus to the previously focused window, which should be sch-rnd 
top window
 
So all in all, this is a quesiton of your window manager, not sch-rnd. In 
my WM focus follows mouse cursor, so it's enough to hover my mouse into 
the main window and it gets focus.
 
Btw, the same thing happens in pcb-rnd as well when you are placing 
footprints, the only difference is that the default key binding there is 
{b r r} or {b r l} or shift+f7 for rotating the buffer.
 
 
HTH,
 
Igor2
 
 

Reply subtree:
5965 Re: [pcb-rnd] SCH-RND Message Log message from rn...@igor2.repo.hu
  5966 Re: [pcb-rnd] SCH-RND Message Log message from Derek <de...@q40.de>
    5967 Re: [pcb-rnd] SCH-RND Message Log message from rn...@igor2.repo.hu