Topic: (Solved) Would you consider this a bug?

Using xcompmgr in xfce 4.8

In Settings/Window Manager Tweaks/Placement

the options for placing new open windows/apps are

At the center of the screen

or

Under the Mouse Pointer

You can set it to the extreme right (Large) and this will always place it in the middle of the screen..

I contend that there should be a third option of None...

I would like the applications to open back to where they were originally clean closed at.. I do know that apps have to have his written into them, but until I started using xcompmgr, I never had to worry about this and he apps I use have always reopened back where they were closed

The bug being that there is not an option to disable this...

Just curious as to anyones thoughts on the matter.

Thanks

Last edited by VastOne (2011-12-02 08:44:24)

Re: (Solved) Would you consider this a bug?

Not so much a bug but more a suggestion or request you could pass upstream to the developers.

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: (Solved) Would you consider this a bug?

Actually it is quite funny: I have just switched it to "Under the mouse pointer", which means that clicking a launcher from the panel opens the application northwest - my panel/launchers are north. When I click the launcher and move the mouse away quickly, the window really opens where the pointer is. It should make more sense if you use keyboard shortcuts to open apps than opening them from the Menu (especially if there are daemonized applications which open instantly after clicking - but actually near the menu button or at the edge where the menu betton is)

An no: the WM doesn't want to remember the former position of the window.

Generally speaking, I think this 'placement' section needs a bit of rework, too. "Remember window position and geometry" is in my opinion more important than "Place window under pointer". Who moves his mouse to a position on the (empty) desktop, chooses the application and waits until it opens there? Or who moves the mouse to a special position and then uses keybindings to place the app? Or maybe I simply don't get it smile

Edit #1075: I have just checked out wmctrl and found that it can actually act as alternative to the missing options.

wmctrl -p -G -l

shows a list of all windows managed by the WM with PID and geometry information. If we make a script like:

#! /bin/bash
your_app &
wmctrl -r <application title / pid of your_app / an expression in the window title> -e 0,0,0,1024,200 
# wmctrl -r specifies the target window titled <~>, -e moves and resizes to gravity, x-pos, y-pos, width, height
exit 0

it should open the target window at position x,y with the size w,h.

Last edited by machinebacon (2011-08-20 05:31:53)

Nothing right in the left brain. Nothing left in the right brain.

Re: (Solved) Would you consider this a bug?

^ I do that last one...but then, the trackpad on my netbook is right there, so moving the cursor then hitting a keybinding is actually quite convenient.  It's more convenient than moving the cursor to click the "Submit" button...

while ( ! ( succeed = try() ) );

Re: (Solved) Would you consider this a bug?

Oh yes, of course with a touch pad it makes sense.

Hehe, the submit button - you can actually reach it with a single TAB-tap from the message field.

Last edited by machinebacon (2011-08-20 05:34:49)

Nothing right in the left brain. Nothing left in the right brain.