[opensuse] can gimp learn to activate windows in a normal way?
Hello I like gimp. But it's behavior with windows is weird and different to all other programs (I use KDE4): After opening a gimp window the focus remains in the program from where I opened it and does not change to gimp. Concrete: I open an image from a list in dolphin. I want to select all the image (ctr-a), but instead I select all the list in dolphin.... To select the image I must must click in the window, precisely on the border of the window (otherwise I activate the last tool, which leads to even more clicks....). As I work with two large screens, I must move a lot with the mouse. It is quite annoying. In a day I move my mouse "kilometers" for nothing. Something unnecessary that *only* gimp forces me. Is there a possibility to tell gimp to behave normal with its windows, just as if it was any other program? Thanks for hints! Daniel -- Daniel Bauer photographer Basel Barcelona professional photography: http://www.daniel-bauer.com google+: https://plus.google.com/109534388657020287386 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, 30 Aug 2014 18:43:40 +0200 Daniel Bauer wrote:
Hello
I like gimp. But it's behavior with windows is weird and different to all other programs (I use KDE4):
After opening a gimp window the focus remains in the program from where I opened it and does not change to gimp.
Concrete:
I open an image from a list in dolphin. I want to select all the image (ctr-a), but instead I select all the list in dolphin.... To select the image I must must click in the window, precisely on the border of the window (otherwise I activate the last tool, which leads to even more clicks....). As I work with two large screens, I must move a lot with the mouse.
It is quite annoying. In a day I move my mouse "kilometers" for nothing. Something unnecessary that *only* gimp forces me.
Is there a possibility to tell gimp to behave normal with its windows, just as if it was any other program?
Thanks for hints!
Daniel
Hi Daniel, I use The GIMP all the time under KDE4 and do not see this behavior. My desktop preference is set to 'Focus Under Mouse' which might have something to do with it. I also use drag & drop with The GIMP, too, for opening files. I just select the file(s) that I want to open and drop them on the default blank canvas. Each opens in it's own child window. hth & regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
(Sorry Carl for PM, didn't want to...) Am 30.08.2014 20:12, schrieb Carl Hartung:
On Sat, 30 Aug 2014 18:43:40 +0200 Daniel Bauer wrote:
...
After opening a gimp window the focus remains in the program from where I opened it and does not change to gimp.
Concrete:
I open an image from a list in dolphin. I want to select all the image (ctr-a), but instead I select all the list in dolphin.... To select the image I must must click in the window, ...
Is there a possibility to tell gimp to behave normal with its windows, just as if it was any other program?
Thanks for hints!
Daniel
Hi Daniel,
I use The GIMP all the time under KDE4 and do not see this behavior. My desktop preference is set to 'Focus Under Mouse' which might have something to do with it. I also use drag & drop with The GIMP, too, for opening files. I just select the file(s) that I want to open and drop them on the default blank canvas. Each opens in it's own child window.
hth & regards,
Carl
Within gimp I also have 'Focus Under Mouse', but not within kde (I don't want windows to get focus just because the mouse is there...). Anyway: in your case you also must hover the mouse over the corresponding gimp window. This is what I don't want. When I click a text-file in dolphin, kwrite opens. When I now click ctrl-a all the text in the recently opened text-window is selected - and /not/ the list in dolphin, no matter where the mouse is, and without first clicking the text-window... This is what I'd like to have with gimp, too. Carl, if you open a gimp-window from dolphin (e.g. right-clicking open-with...) and stay with you mouse in dolphin (assumed gimp does not cover your dolphin) and then click ctrl-a: what gets selected? The image or the dolphin list? For me it's the dolphin list... (Drag and drop for me *only* works from dolphin, but not from digikam - I often open gimp from digikam and the same problem occurs as I described it with dolphin) ... Daniel -- Daniel Bauer photographer Basel Barcelona professional photography: http://www.daniel-bauer.com google+: https://plus.google.com/109534388657020287386 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday, August 30, 2014 08:52:11 PM Daniel Bauer wrote:
(Sorry Carl for PM, didn't want to...)
Am 30.08.2014 20:12, schrieb Carl Hartung:
On Sat, 30 Aug 2014 18:43:40 +0200
Daniel Bauer wrote: ...
After opening a gimp window the focus remains in the program from where I opened it and does not change to gimp.
Concrete:
I open an image from a list in dolphin. I want to select all the image (ctr-a), but instead I select all the list in dolphin.... To select the image I must must click in the window, ...
Is there a possibility to tell gimp to behave normal with its windows, just as if it was any other program?
Thanks for hints!
Daniel
Hi Daniel,
I use The GIMP all the time under KDE4 and do not see this behavior. My desktop preference is set to 'Focus Under Mouse' which might have something to do with it. I also use drag & drop with The GIMP, too, for opening files. I just select the file(s) that I want to open and drop them on the default blank canvas. Each opens in it's own child window.
hth & regards,
Carl
Within gimp I also have 'Focus Under Mouse', but not within kde (I don't want windows to get focus just because the mouse is there...).
Anyway: in your case you also must hover the mouse over the corresponding gimp window. This is what I don't want.
You could rule the Windows Behavior on Focus by setting a policy from Click to Focus or Hover to Focus
When I click a text-file in dolphin, kwrite opens. When I now click ctrl-a all the text in the recently opened text-window is selected - and /not/ the list in dolphin, no matter where the mouse is, and without first clicking the text-window...
This is what I'd like to have with gimp, too.
Carl, if you open a gimp-window from dolphin (e.g. right-clicking open-with...) and stay with you mouse in dolphin (assumed gimp does not cover your dolphin) and then click ctrl-a: what gets selected? The image or the dolphin list? For me it's the dolphin list...
It looks like it is not switching Focus properly. Try the Policy adjustments above
(Drag and drop for me *only* works from dolphin, but not from digikam - I often open gimp from digikam and the same problem occurs as I described it with dolphin)
What do you mean by Drag and Drop from DigiKam? Drag a Picture from DigiKam to another Application?
...
Daniel
Regards, -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 30.08.2014 21:24, schrieb Ricardo Chung:
On Saturday, August 30, 2014 08:52:11 PM Daniel Bauer wrote:
Am 30.08.2014 20:12, schrieb Carl Hartung:
On Sat, 30 Aug 2014 18:43:40 +0200
Daniel Bauer wrote: ...
After opening a gimp window the focus remains in the program where I opened it and does not change to gimp.
Concrete:
I open an image from a list in dolphin. I want to select all the image (ctr-a), but instead I select all the list in dolphin.... To select the image I must must click in the window, ...
Is there a possibility to tell gimp to behave normal with its windows, just as if it was any other program?
I use The GIMP all the time under KDE4 and do not see this behavior. My desktop preference is set to 'Focus Under Mouse' which mighthave something to do with it. I also use drag & drop with The GIMP, too, for opening files. I just select the file(s) that I want to open and drop them on the default blank canvas. Each opens in it's own child window.
hth & regards,
Carl
Within gimp I also have 'Focus Under Mouse', but not within kde (I don't want windows to get focus just because the mouse is there...).
Anyway: in your case you also must hover the mouse over the corresponding gimp window. This is what I don't want.
You could rule the Windows Behavior on Focus by setting a policy from Click to Focus or Hover to Focus
Yes, but this is exactly what I don't want. I don't want to have to hover the window to gain it's focus. I just want the last opened window to automatically have the focus, just like all other programs do:
When I click a text-file in dolphin, kwrite opens. When I now click ctrl-a all the text in the recently opened text-window is selected - and /not/ the list in dolphin, no matter where the mouse is, and without first clicking the text-window...
This is what I'd like to have with gimp, too.
...
-- Daniel Bauer photographer Basel Barcelona professional photography: http://www.daniel-bauer.com google+: https://plus.google.com/109534388657020287386 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
forgot to answer this: Am 30.08.2014 21:24, schrieb Ricardo Chung:
(Drag and drop for me *only* works from dolphin, but not from digikam - I often open gimp from digikam and the same problem occurs as I described it with dolphin)
What do you mean by Drag and Drop from DigiKam? Drag a Picture from DigiKam to another Application?
Drag one or more image thumbs from a digikam album to the gimp window and drop it there. Nothing happens. Do the same from dolphin: gimp opens the files. But this is a subtopic. My problem is the focus... :-) -- Daniel Bauer photographer Basel Barcelona professional photography: http://www.daniel-bauer.com google+: https://plus.google.com/109534388657020287386 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 30/08/14 20:52, Daniel Bauer wrote:
After opening a gimp window the focus remains in the program from where I opened it and does not change to gimp.
Concrete:
I open an image from a list in dolphin. I want to select all the image (ctr-a), but instead I select all the list in dolphin.... To select the image I must must click in the window, ...
Is there a possibility to tell gimp to behave normal with its windows, just as if it was any other program?
Thanks for hints!
Daniel
<...>
Within gimp I also have 'Focus Under Mouse', but not within kde (I don't want windows to get focus just because the mouse is there...).
Anyway: in your case you also must hover the mouse over the corresponding gimp window. This is what I don't want.
When I click a text-file in dolphin, kwrite opens. When I now click ctrl-a all the text in the recently opened text-window is selected - and /not/ the list in dolphin, no matter where the mouse is, and without first clicking the text-window...
This is what I'd like to have with gimp, too.
Carl, if you open a gimp-window from dolphin (e.g. right-clicking open-with...) and stay with you mouse in dolphin (assumed gimp does not cover your dolphin) and then click ctrl-a: what gets selected? The image or the dolphin list? For me it's the dolphin list...
(Drag and drop for me *only* works from dolphin, but not from digikam - I often open gimp from digikam and the same problem occurs as I described it with dolphin)
...
Daniel
If I open GIMP for the first time by right-clicking in Dolphin, it comes to the foreground and hence Ctrl-A would select all in the GIMP. However, if I go to File -> Close View, then return to Dolphin and right-click to open another file in the GIMP which is still running, it will open in the background. Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 30.08.2014 21:28, schrieb Peter:
On 30/08/14 20:52, Daniel Bauer wrote:
After opening a gimp window the focus remains in the program from where I opened it and does not change to gimp.
Concrete:
I open an image from a list in dolphin. I want to select all the image (ctr-a), but instead I select all the list in dolphin.... To select the image I must must click in the window, ...
Is there a possibility to tell gimp to behave normal with its windows, just as if it was any other program?
<...>
Within gimp I also have 'Focus Under Mouse', but not within kde (I don't want windows to get focus just because the mouse is there...).
Anyway: in your case you also must hover the mouse over the corresponding gimp window. This is what I don't want.
When I click a text-file in dolphin, kwrite opens. When I now click ctrl-a all the text in the recently opened text-window is selected - and /not/ the list in dolphin, no matter where the mouse is, and without first clicking the text-window...
This is what I'd like to have with gimp, too. ...
If I open GIMP for the first time by right-clicking in Dolphin, it comes to the foreground and hence Ctrl-A would select all in the GIMP. However, if I go to File -> Close View, then return to Dolphin and right-click to open another file in the GIMP which is still running, it will open in the background.
Peter
The same is true here. Even if I open several file at the same time, the /first time/ the last opened window is active. This is exactly like I want it - but also for subsequent files... -- Daniel Bauer photographer Basel Barcelona professional photography: http://www.daniel-bauer.com google+: https://plus.google.com/109534388657020287386 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 30/08/14 21:54, Daniel Bauer wrote:
Am 30.08.2014 21:28, schrieb Peter:
If I open GIMP for the first time by right-clicking in Dolphin, it comes to the foreground and hence Ctrl-A would select all in the GIMP. However, if I go to File -> Close View, then return to Dolphin and right-click to open another file in the GIMP which is still running, it will open in the background.
Peter
The same is true here. Even if I open several file at the same time, the /first time/ the last opened window is active. This is exactly like I want it - but also for subsequent files...
Hehe. Persistence pays off. I think I've found a workaround, though I can't guarantee if it will have any unwanted side effects. I've just plunged into the deepest bowels of KDE system settings, to dark unexplored corners that I never knew existed. I always knew KDE was infinitely customizable, but I never took that literally until now! So if you go to Window Behaviour -> Window Rules, I've configured settings specifically for a GIMP window. There is an export function so I created an exported text file named .gimp_kwin_focus_rule.kwinrule, and I'm pasting the contents here: ---- [GIMP to front] Description=GIMP to front clientmachine=[insert your machine name/domain here, though it shouldn't be important] clientmachinematch=0 fsplevel=0 fsplevelrule=2 title=* titlematch=0 windowrole=gimp-image-window windowrolematch=1 wmclass=Gimp-2.8 wmclasscomplete=false wmclassmatch=1 ---- So if you paste that into a text file and import it that should work. Note that the 'clientmachine' field was populated with my machine in the form name.domain.com but you can probably put a * or anything you like in there because the match state in the following line is set to zero anyway. Hope this helps. Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Coolisimo! Thanks Peter, this trick does exactly what I need. Great! Have a nice sunday. Daniel Am 31.08.2014 00:04, schrieb Peter:
On 30/08/14 21:54, Daniel Bauer wrote:
Am 30.08.2014 21:28, schrieb Peter:
If I open GIMP for the first time by right-clicking in Dolphin, it comes to the foreground and hence Ctrl-A would select all in the GIMP. However, if I go to File -> Close View, then return to Dolphin and right-click to open another file in the GIMP which is still running, it will open in the background.
Peter
The same is true here. Even if I open several file at the same time, the /first time/ the last opened window is active. This is exactly like I want it - but also for subsequent files...
Hehe. Persistence pays off. I think I've found a workaround, though I can't guarantee if it will have any unwanted side effects. I've just plunged into the deepest bowels of KDE system settings, to dark unexplored corners that I never knew existed. I always knew KDE was infinitely customizable, but I never took that literally until now!
So if you go to Window Behaviour -> Window Rules, I've configured settings specifically for a GIMP window. There is an export function so I created an exported text file named .gimp_kwin_focus_rule.kwinrule, and I'm pasting the contents here: ----
[GIMP to front] Description=GIMP to front clientmachine=[insert your machine name/domain here, though it shouldn't be important] clientmachinematch=0 fsplevel=0 fsplevelrule=2 title=* titlematch=0 windowrole=gimp-image-window windowrolematch=1 wmclass=Gimp-2.8 wmclasscomplete=false wmclassmatch=1
---- So if you paste that into a text file and import it that should work. Note that the 'clientmachine' field was populated with my machine in the form name.domain.com but you can probably put a * or anything you like in there because the match state in the following line is set to zero anyway.
Hope this helps.
Peter
-- Daniel Bauer photographer Basel Barcelona professional photography: http://www.daniel-bauer.com google+: https://plus.google.com/109534388657020287386 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carl Hartung
-
Daniel Bauer
-
Peter
-
Ricardo Chung