On Tue, 10 Oct 2006 16:16:03 +0200 Toby Cubitt <[EMAIL PROTECTED]> babbled:
> On Tue, Oct 10, 2006 at 10:28:08PM +0900, Carsten Haitzler wrote: > > On Wed, 20 Sep 2006 11:08:39 -0700 Quentin Olson > > <[EMAIL PROTECTED]> babbled: > > > > > I have an idea for a way to launch applications, maybe it can be > > > done in some future release... > > > > > > Describe a rectangle on the desktop, (mouse drag with alt key or > > > something like that), then right click in the box to select an > > > app, the app is launched, sized to the rectangle. > > > > > > PS: I've been messing with enlightenment off and on since DR13, > > > DR17 is incredible. > > > > so its place first, launch later, rather than launch, then place? > > not sure what this buys - it simply re-orders things... and also > > makes it harder to track the launch and process and resultign window > > with the region (trust me - its hard to do right - and even then its > > an iffy art - just look at the remember stuff) > > I think I might understand where he's coming from. I've often wished > there was a way to get enlightenment to place application windows on > the virtual desktop that was visible when they were launched. Some > applications take so long to start that you launch them on one virtual > desktop, then go away and do something else on another virtual desktop > whilst they're loading, only to have the application window suddenly > pop up on the "wrong" desktop. > > Whilst this isn't enlightenment's fault (there's no excuse for Acrobat > Reader's incredibly slow startup time - and yes, sometimes I can't > just use one of the alternatives), and it can already be made less > annoying by tweaking the focus, raise and remember settings, it would > still be nice to have an option to display application windows on the > virtual desktop that was visible when they were launched. (I've > thought of doing some bash scripting hackery to do this, but never got > round to it yet.) > > Drawing a rectangle before launching would be another way to solve the > problem. > > Whether it's possible to implement any of these ideas in a sane way is, > of course, a whole 'nother issue :-) basically - it IS possible *IF* the application: 1. actually executes and launches windows from that executed process (some programs like gnome-terminal or firefox or gimp-remote will try and find an ipc message pipe (either socket or via X) and message the existing process to "please open a new window" - in this case it breaks). 2. support the _NET_WM_PID properties OR the _NET_STARTUP_ID protocol so E has a way of matching an instance of a launch to a window that pops up. without these the execution of a process and the appearance of a window are completely disconnected events. sure u can look at the command too and try and do "fuzzy matching" buy GUESSING that if the app sets the WM_COMMAND property and it matches the commandline u ran then that is the window for that launch (not necessarily true). so for now i haven't tried to match this stuff up with respect to things like desktop etc. it causes other issues like - how long do u go on for doing this "if window pops up and it matches some launch instance of an app - i need to put the window on desktop X". a limitied time? only do it until the first window pops up then no more (will break for apps that display 2 or more window on start - eg like a splashscreen). if u do it for a time - that means it will be nigh impossible to MOVE the app to a new desktop for that period of time (unless we now track all windows and if there are any matching this instance then others pop up on the same desktop as the first - but it will disallow windows of the app to be on different desktops to other windows from the app.. etc.) so basically - can of worms. i don't want to go opening such a can of worms at this stage. i am not unaware of this annoyance - i suffer it myself. i am unfortunately all to aware of the possible "solutions" and their "gotchas" :( > Toby > -- > email: [EMAIL PROTECTED] > web: www.dr-qubit.org > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > enlightenment-users mailing list > enlightenment-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users