wsmanager-devel Mailing List for WorkspaceManager (Page 2)
Status: Alpha
Brought to you by:
richwareham
You can subscribe to this list here.
2004 |
Jan
(5) |
Feb
(21) |
Mar
|
Apr
(13) |
May
(3) |
Jun
|
Jul
(25) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(2) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Rich W. <rj...@he...> - 2004-07-15 11:55:50
|
On Wed, Jul 14, 2004 at 04:25:02PM -0700, Naveen Michaud-Agrawal wrote: > > I've added code to DesktopManager to allow for > dragging windows between desktops using the pager > (Jason Sonnenschein kindly made a patch for me; see > http://sourceforge.net/tracker/index.php?func=detail&aid=991008&group_id=86417&atid=579549). Been looking at the patch (along with the modified one later in the list). Why do we need the hide/show window? [note I haven't tried it out yet so this might be obvious]. -- Rich |
From: Ka-Hing C. <ka...@gm...> - 2004-07-15 05:04:22
|
Updated patch so that workspace switch occurs at mouse up. The real reason for this is so that I can drag window from other workspace to the current workspace w/o switching. This is a quick hack (well, took about 2 hours? I am not too familiar with Cocoa...), it can probably be improved. In particular, [DesktopPagerCell windowContainingPoint] probably belongs to somewhere else (WorkspaceController? I forgot how to do default argument in Obj-C and was too lazy to look it up :-)). -khc |
From: Ka-Hing C. <ka...@gm...> - 2004-07-15 03:02:58
|
Hello, A while ago I sent in a patch so that hotcorners don't trigger active edge, since then the internal has changed and someone forgot about this issue ;-) Anyways a patch is attached so that hotcorners won't trigger active edges again :-) Also, it seems that even if I set desktop manager's desktop pager to use 2 rows, moving the mouse to the right/left of the screen still traverses all my desktops, and moving to the top/bottom of screen does not trigger a switch. Looking at MouseWatch.m it seems that no code is in place for screen top detecting, although I am not sure why screen bottom doesn't work. That's okay though, since I don't use 2 rows normally anyways :-) (I only tried this because I didn't see any code for screen top detecting) -khc |
From: Naveen Michaud-A. <inf...@ya...> - 2004-07-14 23:25:04
|
I've added code to DesktopManager to allow for dragging windows between desktops using the pager (Jason Sonnenschein kindly made a patch for me; see http://sourceforge.net/tracker/index.php?func=detail&aid=991008&group_id=86417&atid=579549). Currently it doesn't transition between desktops when you move a window out of the current desktop, but I've heard requests for both behaviors (so i should probably just make it a preference in the pager preferences panel; but I'm adverse to the linux desktop phenomena of every option becoming a preference). Do people have a preference (no pun intended ;) If you want to switch to the transitioning behavior, edit the file "Plugins/Pager/DesktopPagerCell.m". In the the function (BOOL)continueTracking:(NSPoint...), replace the following commented out line (it is toward the end of the function): if ([dragToWorkspace workspaceNumber] != [dragInWorkspace workspaceNumber]) { [draggingWindow show]; [draggingWindow focusOwner]; # [dragToWorkspace selectWithDefaultTransition]; dragInWorkspace = dragToWorkspace; } with the line [dragToWorkspace selectWithTransition: CGSNone option: None duration: 0]; --- Jason Sonnenschein <je...@ya...> wrote: > Date: Wed, 14 Jul 2004 09:55:07 -0700 (PDT) > From: Jason Sonnenschein <je...@ya...> > Subject: Re: [Wsmanager-devel] Re: ForeignWindow > moveToWorkspaceRepresentedBy > To: Naveen Michaud-Agrawal <inf...@ya...> > > OK Naveen, > > I made the patch and uploaded it to the patches > page... > > http://sourceforge.net/tracker/index.php?func=detail&aid=991008&group_id=86417&atid=579549 > > Thanks again, > > Jason > > --- Naveen Michaud-Agrawal <inf...@ya...> > wrote: > > Hi Jason, > > > > If you could make the patch that would be swell. I > > probably won't have time until the weekend, so > I'll > > send you the entire source tree. This is derived > from > > the release candidate 2 from > > > http://sourceforge.net/project/showfiles.php?group_id=86417. > > I'm not sure what patch level that one is at. > > > > Naveen > > > > --- Jason Sonnenschein <je...@ya...> wrote: > > > Sure Naveen, feel free to send the whole > archive. > > > If you'd like to make a > > > patch, > > > here's step-by-step directions. I don't know > tla > > > well enough to tell you how > > > to upload > > > into the tla archive. > > > > > > * move the DesktopManager--dev--0.5--patch-95 > > > directory to DesktopManager--new > > > * re-download the DesktopManager source with tla > > > * diff -cr DesktopManager--dev--0.5--patch-95 > > > DesktopManager--new > > > > pager_drag.patch > > > * go to > > > > > > http://sourceforge.net/tracker/?group_id=86417&atid=579549 > > > in a web > > > browser > > > * create a new patch report, then attach the > file > > > pager_drag.patch to the > > > report > > > * All done! > > > > > > Thanks for either (the patch or the full > source.) > > > If you send me the entire > > > source, I can do the above for you. > > > > > > Jason > > > > > > --- Naveen Michaud-Agrawal > <inf...@ya...> > > > wrote: > > > > Hi Jason, > > > > > > > > I just downloaded the latest bleeding edge > > > snapshop > > > > from the sourceforge page (unfortunately the > arch > > > > repository seems to be inaccessible) so I've > > > updated > > > > the latest DesktopManager code with the > ability to > > > > move windows between workspaces using the > pager. > > > > Unfortunately, I haven't played with arch in a > > > couple > > > > of months so it might take me a while to > figure > > > out > > > > how to make the patch again. If you want, I > can > > > just > > > > send you all the source tree for > DesktopManager. > > > > > > > > Naveen > > > > > > > > --- Jason Sonnenschein <je...@ya...> > wrote: > > > > > Hello all, > > > > > > > > > > I just joined the mail list and saw a > discussion > > > > > about the above patch. I'm > > > > > quite interested in the features described, > but > > > > > can't find a patch anywhere. > > > > > Would someone who has the patch please > upload it > > > to > > > > > the 'patches' section of > > > > > the wsmanager page? Is there a reason not > to > > > post > > > > > it, there? > > > > > > > > > > > > > > > > > > > > http://sourceforge.net/tracker/?group_id=86417&atid=579549 > > > > > > > > > > Thanks in advance, > > > > > > > > > > Jason > > > > > > > > > > > > > > > > > > > > __________________________________ > > > > > Do you Yahoo!? > > > > > Yahoo! Mail is new and improved - Check it > out! > > > > > http://promotions.yahoo.com/new_mail > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email sponsored by Black Hat > > > Briefings & > > > > > Training. > > > > > Attend Black Hat Briefings & Training, Las > Vegas > > > > > July 24-29 - > > > > > digital self defense, top technical experts, > no > > > > > vendor pitches, > > > > > unmatched networking opportunities. Visit > > > > > www.blackhat.com > > > > > > _______________________________________________ > > > > > Wsmanager-devel mailing list > > > > > Wsm...@li... > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wsmanager-devel > > > > > > > > > > > > > > > > > > > > > > > > > __________________________________ > > > > Do you Yahoo!? > > > > Yahoo! Mail - 50x more storage than other > > > providers! > > > > http://promotions.yahoo.com/new_mail > > > > > > > > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > New and Improved Yahoo! Mail - Send 10MB > messages! > > > http://promotions.yahoo.com/new_mail > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - 50x more storage than other > providers! > > http://promotions.yahoo.com/new_mail > > > ATTACHMENT part 2 application/zip > name=DesktopManager.zip > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail |
From: Naveen Michaud-A. <inf...@ya...> - 2004-07-14 14:22:23
|
Hi Jason, I just downloaded the latest bleeding edge snapshop from the sourceforge page (unfortunately the arch repository seems to be inaccessible) so I've updated the latest DesktopManager code with the ability to move windows between workspaces using the pager. Unfortunately, I haven't played with arch in a couple of months so it might take me a while to figure out how to make the patch again. If you want, I can just send you all the source tree for DesktopManager. Naveen --- Jason Sonnenschein <je...@ya...> wrote: > Hello all, > > I just joined the mail list and saw a discussion > about the above patch. I'm > quite interested in the features described, but > can't find a patch anywhere. > Would someone who has the patch please upload it to > the 'patches' section of > the wsmanager page? Is there a reason not to post > it, there? > > http://sourceforge.net/tracker/?group_id=86417&atid=579549 > > Thanks in advance, > > Jason > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & > Training. > Attend Black Hat Briefings & Training, Las Vegas > July 24-29 - > digital self defense, top technical experts, no > vendor pitches, > unmatched networking opportunities. Visit > www.blackhat.com > _______________________________________________ > Wsmanager-devel mailing list > Wsm...@li... > https://lists.sourceforge.net/lists/listinfo/wsmanager-devel > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail |
From: Jason S. <je...@ya...> - 2004-07-14 09:09:48
|
Hello all, I just joined the mail list and saw a discussion about the above patch. I'm quite interested in the features described, but can't find a patch anywhere. Would someone who has the patch please upload it to the 'patches' section of the wsmanager page? Is there a reason not to post it, there? http://sourceforge.net/tracker/?group_id=86417&atid=579549 Thanks in advance, Jason __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail |
From: Rich W. <rj...@he...> - 2004-07-02 13:18:30
|
On Fri, Jul 02, 2004 at 02:38:11PM +0200, Knut Arild Lis?ter wrote: > Hi All, > > I was trying to get the code from the arch scm system, but > the link seems to be dead... Is there another place to download it > than at > > http://charon.ucam.org/arch/ I'm waiting for that domain to be transferred. Try http://lotsofnakedwomen.com/arch/ > > ? > > > Btw; great app! For a linux user this is a must-have on OSX. > -- > Knut > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Wsmanager-devel mailing list > Wsm...@li... > https://lists.sourceforge.net/lists/listinfo/wsmanager-devel -- Rich |
From: <kn...@ne...> - 2004-07-02 12:38:14
|
Hi All, I was trying to get the code from the arch scm system, but the link seems to be dead... Is there another place to download it than at http://charon.ucam.org/arch/ ? Btw; great app! For a linux user this is a must-have on OSX. -- Knut |
From: <ben...@id...> - 2004-05-25 08:40:16
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
From: Rich W. <rj...@he...> - 2004-05-14 10:57:49
|
On Thu, May 13, 2004 at 10:45:12PM -0700, Terrence Talbot wrote: > > I have a Cinema Display as my main display and a 15" off to the left. > With 0.5.2, pagers and desktops seem to work very well for me. Both the > pager display and the status bar display now correctly show a composite > of both monitors with window placeholders correctly displayed across > the composite. Woot! > I am unable to get active edges to work correctly at all. Moving to > either the left or right edge doesn't produce anything; but then > occasionally the screen will flip as I move the mouse around (near the > center of the screen) after trying to switch at an edge. (I have delay > set to the shortest possible for testing.) OK, I was suspecting some wierness with that (and the desktop pager since they share the same edge-detection code now). Thanks for testing. I know what to play with now :). -- Rich |
From: Rich W. <rj...@he...> - 2004-05-13 23:44:42
|
Could someone with a proper multi-monitor setup take a peek at the pre-release 0.5.2 on http://www-sigproc.eng.cam.ac.uk/~rjw57/dm/ and see if some of the issues (like active edges triggering when moving mouse between screens). Oh and I suppose seeing if it crashes at random points would be good too :). -- Rich |
From: Dustin S. <du...@sp...> - 2004-04-17 18:34:16
|
On Apr 17, 2004, at 8:12, Naveen Michaud-Agrawal wrote: > OK, I fixed a visual bug where the window would jump > briefly to the other end in the current desktop before > disappearing. This involved adding a show and hide > function to the code injected into the Dock. I've > included a tar.gz file of the directory generated by > the > "tla changes" command (still working through that arch > tutorial!) I'm not too sure how one can go about > merging it into their own codebase. The easiest thing to do is to make a public mirror of your archive. The changeset format is good as long as it doesn't conflict with other changes (this changeset is conflicting with the previous changes I got from you). It's still not the way to do distributed development, though. It's more like applying classic patch sending from a centralized revision control system into a decentralized revision control system. It's sort of working against the grain, if you will. Would it be an option for you to mirror your archive to some web space somewhere? Once that's done, people can decide to include your changes directly from your archive, branch your archive, star-merge it into integration trees (or the ``main'' tree), or whatever. It also means you don't have to worry about playing with tla changes and tarring and attaching and all that stuff. You just commit and mirror. The commit and mirror is a one-step process if you store your archive in a web space or use a hook like the one that I've got to trigger a mirror on commit. -- SPY My girlfriend asked me which one I like better. pub 1024/3CAE01D5 1994/11/03 Dustin Sallings <du...@sp...> | Key fingerprint = 87 02 57 08 02 D0 DA D6 C8 0F 3E 65 51 98 D8 BE L_______________________ I hope the answer won't upset her. ____________ |
From: Rich W. <rj...@he...> - 2004-04-17 17:11:10
|
On Friday 16 Apr 2004 00:50, Kevin Ballard wrote: > I just downloaded the latest arch source and found the new Couvert > feature. This is really bizarre. Can somebody please explain it to me? > It displays all windows on the screen at once, and after 4 seconds > switches to the next workspace and restores the windows. What's the > point? It's not particularly impressive (because the whole setup seems > kind of arbitrarily placed on screen - all my windows show up in the > lower-left quadrant of the screen, and all the desktop icons and such > still looking normal just make this look strange. Can't you at least > fade out the desktop icons and dock and such?). Also, I cna click on a > shrunken window and it activates, but that doesn't actually *control* > anything. At first I was hoping it was like you click on a window and > it activates that desktop and brings that window forward, but that's > not it. It just sits there for 4 seconds and then goes to the next > desktop. Its a test feature. Eventually you hit a button, get a preview of all deskt= ops=20 and then can selct the one you want. A la expose. The current code is more = of=20 a proof of concept version though. > Also, please stop sucking up new hotkeys without providing a way to > turn hotkeys off. I have no need for a fast desktop creation hotkey (at > least, not without a way to remove said fast desktops without going to > Preferences), yet I can't turn it off. The best I could do was set all > modifiers to true and setting the key to F12. Someone sent me a patch for doing this. Unfortunately I can't test it until= my=20 iBook is returned. =2D-=20 Rich "The question of whether a computer can think is no more interesting than t= he question of whether a submarine can swim."=20 -- Edsger Wybe Dijkstra (11 May 1930 =E2=80=93 6 August 2002) |
From: Naveen Michaud-A. <inf...@ya...> - 2004-04-17 15:12:22
|
OK, I fixed a visual bug where the window would jump briefly to the other end in the current desktop before disappearing. This involved adding a show and hide function to the code injected into the Dock. I've included a tar.gz file of the directory generated by the "tla changes" command (still working through that arch tutorial!) I'm not too sure how one can go about merging it into their own codebase. Ka-Hing Cheung - I fixed it so that it won't transition to the desktop you are moving the window to. I think the eventually it should be an option in the panel preferences. Naveen Michaud-Agrawal --- Ka-Hing Cheung <ja...@ja...> wrote: > On Thu, Apr 15, 2004 at 09:14:51AM -0700, Naveen > Michaud-Agrawal wrote: > > > > I'm working with a snapshot of the arch repository > > from a few days ago. > > > > Naveen > > In that case (totally from memory), just do a: > > tla changes -o somedirname > > Then tarball the directory somedirname. I don't know > if that's the way Rich > prefers it (well, as he said his ibook is > non-functioning at the moment, so > I am not sure if it really matters :-)), but I > think it's the recommended > way by the arch people. > > Oh, and if you can make it not switch the desktop > when you move windows that > would be even better (for me anyways). > > Also there's something that I noticed, it's too easy > to accidentally move a > window (within it's own workspace, nothing to do > with your patch) when I use > the desktop panel to switch workspace. Is there a > way to increase the drag > time threshold? > > -khc > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux > Tutorials > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Wsmanager-devel mailing list > Wsm...@li... > https://lists.sourceforge.net/lists/listinfo/wsmanager-devel __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html |
From: Naveen Michaud-A. <inf...@ya...> - 2004-04-16 02:16:26
|
I'm working with a snapshot of the arch repository from a few days ago. Naveen --- Ka-Hing Cheung <ja...@ja...> wrote: > On Thu, Apr 15, 2004 at 06:11:26AM -0700, Naveen > Michaud-Agrawal wrote: > > although that can be easily disabled). You'll have > to > > forgive me for including the entire files as > > attachments, since i've never used diff before to > > generate patches (if anyone could tell me how that > > would be great). The code is a bit ugly (I only > > Are you working with arch repository or release > tarball? > > -khc __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html |
From: Kevin B. <ke...@sb...> - 2004-04-15 23:50:47
|
I just downloaded the latest arch source and found the new Couvert feature. This is really bizarre. Can somebody please explain it to me? It displays all windows on the screen at once, and after 4 seconds switches to the next workspace and restores the windows. What's the point? It's not particularly impressive (because the whole setup seems kind of arbitrarily placed on screen - all my windows show up in the lower-left quadrant of the screen, and all the desktop icons and such still looking normal just make this look strange. Can't you at least fade out the desktop icons and dock and such?). Also, I cna click on a shrunken window and it activates, but that doesn't actually *control* anything. At first I was hoping it was like you click on a window and it activates that desktop and brings that window forward, but that's not it. It just sits there for 4 seconds and then goes to the next desktop. Is this a work in progress? If so, where's it going? If it's done, can somebody please explain the point? Also, please stop sucking up new hotkeys without providing a way to turn hotkeys off. I have no need for a fast desktop creation hotkey (at least, not without a way to remove said fast desktops without going to Preferences), yet I can't turn it off. The best I could do was set all modifiers to true and setting the key to F12. -- Kevin Ballard ke...@sb... http://www.tildesoft.com http://kevin.sb.org |
From: Ka-Hing C. <ja...@ja...> - 2004-04-15 22:32:12
|
On Thu, Apr 15, 2004 at 09:14:51AM -0700, Naveen Michaud-Agrawal wrote: > > I'm working with a snapshot of the arch repository > from a few days ago. > > Naveen In that case (totally from memory), just do a: tla changes -o somedirname Then tarball the directory somedirname. I don't know if that's the way Rich prefers it (well, as he said his ibook is non-functioning at the moment, so I am not sure if it really matters :-)), but I think it's the recommended way by the arch people. Oh, and if you can make it not switch the desktop when you move windows that would be even better (for me anyways). Also there's something that I noticed, it's too easy to accidentally move a window (within it's own workspace, nothing to do with your patch) when I use the desktop panel to switch workspace. Is there a way to increase the drag time threshold? -khc |
From: Dustin S. <du...@sp...> - 2004-04-15 19:04:45
|
On Apr 15, 2004, at 6:11, Naveen Michaud-Agrawal wrote: > OK, after reading Workspace.c, I realized that the > workspace manager doesn't automatically receive > confirmation from the Dock and hence notify workspaces > to update their list of windows. > > So here is a new version of DesktopPagerCell.h and > DesktopPagerCell.m that will allow you to drag windows > between workspaces (I currently have it transitioning > to the workspace that you are dragging the window to, > although that can be easily disabled). You'll have to > forgive me for including the entire files as > attachments, since i've never used diff before to > generate patches (if anyone could tell me how that > would be great). The code is a bit ugly (I only > modified the mouse tracking functions) and could > probably be refactored but it seems to work on my > machine. Please test it out. I've copied the stuff into my branch and it builds, but a patch might make it easier to tell what changes you intended to make against what tree. Would you say that the attached diff sums up the changes you were trying to make well? If so, I'll go ahead and commit it to my branch for testing and Richard to merge. |
From: Ka-Hing C. <ja...@ja...> - 2004-04-15 15:48:10
|
On Thu, Apr 15, 2004 at 06:11:26AM -0700, Naveen Michaud-Agrawal wrote: > although that can be easily disabled). You'll have to > forgive me for including the entire files as > attachments, since i've never used diff before to > generate patches (if anyone could tell me how that > would be great). The code is a bit ugly (I only Are you working with arch repository or release tarball? -khc |
From: Naveen Michaud-A. <inf...@ya...> - 2004-04-15 13:17:34
|
Does anyone know what happened to the sourceforge mailing list archives? All the previous years appear unavailable. Naveen Michaud-Agrawal __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html |
From: Naveen Michaud-A. <inf...@ya...> - 2004-04-15 13:11:42
|
OK, after reading Workspace.c, I realized that the workspace manager doesn't automatically receive confirmation from the Dock and hence notify workspaces to update their list of windows. So here is a new version of DesktopPagerCell.h and DesktopPagerCell.m that will allow you to drag windows between workspaces (I currently have it transitioning to the workspace that you are dragging the window to, although that can be easily disabled). You'll have to forgive me for including the entire files as attachments, since i've never used diff before to generate patches (if anyone could tell me how that would be great). The code is a bit ugly (I only modified the mouse tracking functions) and could probably be refactored but it seems to work on my machine. Please test it out. Naveen Michaud-Agrawal Program in Molecular Biophysics Johns Hopkins University (410) 614 4435 __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html |
From: Richard W. <rj...@he...> - 2004-04-15 10:15:41
|
Just a note that my iBook has died (due, I suspect, to the faulty logic board problem). I hoped to get it back soon but it looks like development at this end will stop for a while... :( -- Rich |
From: Naveen Michaud-A. <inf...@ya...> - 2004-04-14 22:07:40
|
Based on a reading of your CGSPrivate.h and the code that gets injected into the Dock, it appears that CoreGraphics already has support for Workspaces, although OS X doesn't seem to use them. Is this correct? Also, I'm trying to figure out the purpose of couvert. Thanks for your time. Naveen Michaud-Agrawal __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html |
From: Naveen Michaud-A. <inf...@ya...> - 2004-04-14 19:01:51
|
Hello, I am trying to implement the ability to drag windows between desktops using the pager. I have it working correctly (by calling the above function in DesktopPagerCell continueTracking:...) but the window list of the new workspace is not updated until mouse tracking ends, so visually the window only moves within the pager cell corresponding to the workspace it originated in. Since that probably doesn't make sense without witnessing it, here is my modified DesktopPagerCell continueTracking: static BOOL movedtoNewWorkspace = NO; static int newWorkspaceNumber = -1; - (BOOL)continueTracking:(NSPoint)lastPoint at:(NSPoint)currentPoint inView:(NSView*)controlView { if(!dragging) { return NO; } if(!NSPointInRect(currentPoint, lastCellFrame)) { if (!NSPointInRect(currentPoint, [controlView bounds])) { // Don't move windows out of the screen but // keep tracking... return YES; } int row, column; BOOL inControlView = [controlView getRow: &row column:&column forPoint: currentPoint]; // I should really test inControlView id cell = [controlView cellAtRow: row column: column]; if (newWorkspaceNumber != [[cell representedObject] workspaceNumber]) { [draggingWindow moveToWorkspaceRepresentedBy: cell]; movedtoNewWorkspace = YES; newWorkspaceNumber = [draggingWindow workspaceNumber]; } /* This just prints all the windows in the new workspace for debugging NSArray *windowList = [[cell representedObject] windowList]; int i; if(windowList && [windowList count]) { for(i=[windowList count]-1; i>=0; i--) { ForeignWindow *window = (ForeignWindow*) [windowList objectAtIndex: i]; NSLog(@"\t%@", [window title]); } }*/ // Convert window to new coordinates currentPoint = [self cellPointToScreenPoint: currentPoint cellFrame: [controlView cellFrameAtRow:row column:column]]; } else { /* Current workspace */ if (movedtoNewWorkspace) { /* The window was moved back into the current workspace */ movedtoNewWorkspace = NO; [draggingWindow moveToWorkspaceRepresentedBy: self]; newWorkspaceNumber = -1; } currentPoint = [self cellPointToScreenPoint: currentPoint cellFrame: lastCellFrame]; } NSPoint newPoint; newPoint.x = currentPoint.x + delta.x; newPoint.y = currentPoint.y + delta.y; [draggingWindow move: newPoint]; [[self controlView] setNeedsDisplay: YES]; return YES; } - (void)stopTracking:(NSPoint)lastPoint at:(NSPoint)stopPoint inView:(NSView *)controlView mouseIsUp:(BOOL)flag { dragging = NO; movedtoNewWorkspace = NO; newWorkspaceNumber = -1; [draggingWindow release]; } When you run the code and drag a window from one workspace to the next, visually the pager representation of the window only moves around in the originating cell, but when you release the mouse the window is in the right workspace. I could hack the drawRect function but I would rather not. If you uncomment the code above that lists the windows in the new workspace you'll see that even though the window claims that it is in the new workspace, the workspace doesn't see it. any ideas? Naveen Michaud-Agrawal __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html |
From: Jim D. <jda...@ac...> - 2004-02-18 19:22:24
|
On Wed, Feb 18, Ka-Hing Cheung <ja...@ja...> wrote: > On Wed, Feb 18, 2004 at 03:52:32AM -0500, Kevin Ballard wrote: > > >- having a window appear in every workspace > > > (seems to happen in certain cases now anyway); > > > > What do you mean by this? > > Sticky window aka pinned window aka "Put on all workspaces" Exactly. There are some windows/apps that I would always like to have around, no matter which workspace I'm in. There's reference in the source code to sticky windows, but there are comments about them being hard-wired, and I'm not sure it's referring to the same thing. > > >- cycling through the windows in a workspace with a hotkey; > > > > Command-Tilde already does this (it's built-in) Command-Tilde only cycles through the windows in the current application. If I have a bunch of windows open in the current workspace (in different apps), I would like to be able to cycle through them all. > Do you mean cycle only those windows that are in a particular workspace, or > all? The former. I want to be able to cycle through just the windows that are in the current workspace, and not see any of the others. Gnome Workspaces support this, with <alt><tab>. It really makes Workspaces useful, since it effectively makes other windows go away, until you switch to their workspace. Again, I think the current DesktopManager is great; these just happen to be features that (I think) would make them more useful. -Jim |