LOGIN / SIGN UP

#150 "Role" autoproperty no longer works.

Reported by: wallex Assigned to: pekdon
Phase: release-0.1.11 Component: autoproperties
Type: bug Status: closed
Priority: 2: High
Watchers:

Description

It appears that full support for templates in the autoproperties file has broken the support for the "role" autoproperty. EG, for Pidgin I have the following combo:

Define = "Stickied" {

   ApplyOn = "Start New"
   Sticky = "True"

}

Property = "^pidgin,^Pidgin" {

   Role = "^conversation"
   ClientGeometry="300x300+300+300"
   @Stickied
   FocusNew = "False"

}

Property = "^pidgin,^Pidgin" {

   Role = "^buddy_list"
   @Stickied
   Iconified = "True"

}

The result is: conversation windows are never affected, and the buddy-list is the one who is instead affected by the ClientGeometry setting.

Considering how templates work might involve actually changing entirely how to specify a Role in order to fix this. Would it be wise, for example, to allow Role specification be an optional third argument in the header, like this?

Property = "^pidgin,^Pidgin,^buddy_list" {

   @Stickied
   Iconified = "True"

}

2009-02-01

23:05:46 changed from open to closed
23:05:37

Fixed the dates, used created_at instead of released_at dates. Thanks for the info. Another issue is registered to fix the documentation.

2009-01-31

16:37:19

Wonderful, it works! It wasn't in the changelog when I got the latest PekWM, though.

Hmm, the release page (http://www.pekwm.org/projects/pekwm/releases) says that PekWM 0.1.10 was released on 2008-11-15, you probably meant 2008-12-15, I also think the release for PekWM 0.1.9 was not on 2008-10-19, which is 2 months before 0.1.9a was released...

Anyway, thanks!

12:33:58

This should be working in with the following syntax:

 Property = "name,class,role,title,apply on" {
   Sticky = "True"
 }

This was added in d8c77975f990b877a31f905bb2bd472ded82aaef.

How does that work for you?

12:31:34 changed from new to open