iamer / gdevilspie

Automatically exported from code.google.com/p/gdevilspie
GNU General Public License v3.0
3 stars 1 forks source link

Rules Editor will not handle "AND" and has not a good "OR" handling. #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If I try to create a rule that contains either AND rules (where ALL selections 
should apply) or  OR rules (where any of them should apply) it is only possible 
for OR (default) and only for one of each argument. I should be able to, for 
instance, if I have an undocked playlist and using Vlc:
If I want to set BOTH Vlc's main window and playlist with a different position 
and geometry each, it is impossible even if I set multiple rules because I 
cannot say "Window_Class=vlc AND Window_Name=playlist" nor "Window_Class=vlc 
AND NOT Window_Name=playlist".
The or is problematic too because I cannot set the same rule multiple times if 
I want to set different programs to the same position or geometry(albeit this 
one can be fixed with multiple rules).

For it to be fixed for AND, I should have a checkbox with "and".

For it to be fixed for OR, I should be able to drag and drop any rules as many 
times I want (instead of checkbox each I want).

Thank you, I hope I was able to be clear.

Original issue reported on code.google.com by joaop...@bol.com.br on 21 Jul 2014 at 3:00

GoogleCodeExporter commented 9 years ago
Addendum: For the "AND" be somewhat fixed, there should be an "AND" checkbox on 
top of all selected rules, this way multiple rules can fix almost any case.

Thanks again.

Original comment by joaop...@bol.com.br on 21 Jul 2014 at 3:09