| Issue 5: | libwnck does not return correct window_class for inkscape |
1 of 5
Next ›
|
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Open Inkscape (only program I know of yet that causes issue) 2. Run gdevilspie from downloaded folder 3. Create a new rule - use the "Get" feature to select the Inkscape window What is the expected output? What do you see instead? I expect "Inkscape" to be filled into the following input fields: -window_class equals -application_name equals Instead, both of those fields are filled with "inkscape" (lower-case). What version of the product are you using? On what operating system? I am using devilspie 0.22, gdevilspie 0.31 on Fedora 8. It should be noted that I am also using gnome-python2-libwnck 2.20 ... each time I would start gdevilspie, it was complaining that it wanted python-wnck, so I installed the closest thing I could find in my repository. gdevilspie stopped complaining after installing the above mentioned program. Please provide any additional information below. |
|
,
May 08, 2008
why should they be "Inkscape"? i tested and wnck indeed returns "inkscape" however i don't think you should match on window_class (uncheck it) and match only on application_name.. this worked for me |
|
,
May 08, 2008
It should be capitalized because I believe that is the only way to get it to work for either option. |
|
,
May 10, 2008
on further investigation (on Hardy): apllication_name is lowercase, and matched at lowercase and not "Inkscape" window_class is returned by current wnck function window.get_class_group().get_name() as all lowercase 'inkscape'. However this string doesn't match. but "Inkscape" matches. can you confirm these please? |
|
,
May 10, 2008
Yes, I can confirm that. I obviously mixed something up during my original testing. |
|
,
May 10, 2008
well, this still leaves the window_class bug, which I guess is occuring at a lower level than gDevilspie (possibly libwnck or devilspie)... I will need to test other applications to see if this only occurs on inkscape.
Status: Accepted
|
|
,
May 10, 2008
(No comment was entered for this change.)
Summary: libwnck does not return correct window_class for inkscape
Owner: theSamo |
|
|
|