LOGIN / SIGN UP

#217 Firefox raises when clicked when told not to

Reported by: confuseling Assigned to: pekdon
Phase: release-0.1.11 Component: autoproperties
Type: bug Status: fixed
Priority: 4: Low
Watchers:

Description

Using pekwm 0.1.11 on openSUSE 11.2 and Debian Testing.

If I set click to focus, and don't set click to raise, I get odd behaviour with Firefox / Iceweasel.

Open a Firefox window, and another window such as a terminal. Place Firefox overlapping the terminal, then meta4 click it, and it lowers. You can click in the Firefox window underneath without raising it, as expected. Now click in the terminal window, so the cursor is active. Now click in the Firefox window, and it will raise unexpectedly.

This does not occur with Opera - so I'm assuming it isn't just me doing something funny with my configuration. Can email you my ~/.pekwm/mouse if requested, but it doesn't survive the formatting here - and those mentioned are the only changes I've made.

Thanks for this wonderful WM!

2010-07-14

17:06:54 changed from open to fixed
17:06:54

Assuming the previous fix works, please re-open if not.

2010-05-15

23:02:30

Hmm, can't seem to reproduce this behavior on my machine here but please try:

 Property = "Navigator,Firefox" {
   ApplyOn = "New Start"
   CfgDeny = "ActiveWindow"
 }

This will also disable workspace changing when firefox opens up a webpage.

2010-01-09

02:09:40

Hello again! Grateful for any assistance, but please don't apologise, it's hardly ruining the WM for me ;)... I'm afraid I don't understand how to attach something to the bug through the web interface. Do you mean reply by email with the file attached? Here's a pastebin of a simple example anyway.

http://pastebin.com/m4540906c

This is the standard mouse file, except that every line that it is suggested should be commented out for click to focus has been commented out, e.g.

      # Remove the following line if you want to use click to focus.
      # Enter = "Any Any" { Actions = "Focus" }

What I've done is moved .pekwm to .pekwm.bak and restarted, to create a pristine configuration, then made those changes in the mouse file. Click to raise is off by default, so that's enough to get the odd firefox/iceweasel behaviour, and I've tried the suggestions in autoproperties to no avail (e.g. http://pastebin.com/m64514514... look near the top). But as I said, I can get firefox/iceweasel to only appear on workspace 2, so autoproperties must be at least successfully applying to firefox...

Thanks, Mike

2010-01-03

18:01:08

Ok, sorry for not following up on this one. Did you figure it out or is pekwm unable to make firefox not raise itself?

On the mouse file, please just attach it to the task.

2009-12-09

02:06:32

Thanks for the swift response - unfortunately, I still can't make it work. I tried it precisely as you wrote it, and a straight substitution of iceweasel, but got nothing. Having had a little dig through the pdf (I'm new to autoproperties) I ran 'xprop WM_CLASS', which reported WM_CLASS(STRING) = "Navigator", "Iceweasel". Sure enough;

Property = "^Navigator,^Iceweasel" {

   ApplyOn = "Start New Workspace"
   Workspace = "2"

}

Does work - so I assume I'm getting the right 'Property' string. But the following doesn't;

Property = "^Navigator,^Iceweasel" {

   ApplyOn = "Start New"
   Border = "False"
   CfgDeny = "Stacking"

}

I'll keep reading up on this, and see if I can figure out what I'm doing wrong.

Thanks again, Mike.

2009-12-08

15:50:05

It is actually caused by firefox requesting itself to be raised, you can try CfgDeny autoproperty with something like this:

 
 Property = "^firefox-bin,^Firefox-bin" {
   ApplyOn = "Start New"
   Border = "False"
   CfgDeny = "Stacking"
 }
15:50:04 to release-0.1.11
15:50:04 changed from new to open
15:50:04 to autoproperties