sillysloft / fluxbox

Fluxbox Window Manager (Mirror)
http://fluxbox.org/news/
Other
0 stars 1 forks source link

bad window placement whith slit at the top of the screen #688

Open sillysloft opened 17 years ago

sillysloft commented 17 years ago

slit placement: any top position maximized window are placed under the slit.

Reported by: steckerman

sillysloft commented 17 years ago

screenshot

Original comment by: steckerman

sillysloft commented 17 years ago

Original comment by: mark-t

sillysloft commented 17 years ago

Logged In: YES user_id=1538990 Originator: NO

This is not a bug. Turn on "maximize over" in the slit menu.

Original comment by: mark-t

sillysloft commented 17 years ago

Logged In: YES user_id=1519280 Originator: YES

This does not fix the problem. When "maximize over" is turn on windows appears at position (0,0) and no at position (o,h) where h is the height of the slit.

Original comment by: steckerman

sillysloft commented 17 years ago

Original comment by: steckerman

sillysloft commented 17 years ago

Logged In: YES user_id=1538990 Originator: NO

Ah. Now that I look at your screenshot, I understand the bug. The word "under" is ambiguous. I'll look into it.

Original comment by: mark-t

sillysloft commented 17 years ago

Logged In: YES user_id=1538990 Originator: NO

O.K., I can't reproduce this. Please do the following:

- get the latest svn version of fluxbox and test the behavior - if it's still a problem, provide specific details for how to reproduce the bug, including your init file and style - if it's not still a problem, report that here so that I can close the bug

Original comment by: mark-t

sillysloft commented 17 years ago

my fluxbox init file

Original comment by: steckerman

sillysloft commented 17 years ago

Logged In: YES user_id=1519280 Originator: YES

I have try with the latest svn version and it is still a problem.

To reproduce it: - set the slit placement to top center (of top left or top right) - open a window and maximize it - close the window (sorry i forgot to precise it before) - reopen the same window

the style i use is one i have made (http://themes.freshmeat.net/projects/clearlooks/) File Added: init

Original comment by: steckerman

sillysloft commented 17 years ago

my style file

Original comment by: steckerman

sillysloft commented 17 years ago

Logged In: YES user_id=1519280 Originator: YES

File Added: theme.cfg

Original comment by: steckerman

sillysloft commented 17 years ago

Logged In: YES user_id=1538990 Originator: NO

By any chance do you have the window set to remember its position on close? It would help if you posted your apps file and also the output of `xprop -root'. Thanks.

Original comment by: mark-t

sillysloft commented 17 years ago

Logged In: YES user_id=1519280 Originator: YES

I have not the window set to remember its position on close, but i set window position in my apps file for all applications which open maximized window. The problem is that all subwindow or dialog (preferences windows for example) appears at the top left of the screen when i can't make apps settings to be applied just on the main window.

My apps file look like this:

[app] (gthumb) [Position] (UPPERLEFT) {0 30} [end] [app] (role=epiphany-window.*) [Position] (UPPERLEFT) {0 30} [end] ...

This is the output of `xprop -root':

_NET_ACTIVE_WINDOW(WINDOW): window id # 0x1800090 _WIN_WORKSPACE(CARDINAL) = 0 _WIN_WORKSPACE_COUNT(CARDINAL) = 4 _WIN_WORKSPACE_NAMES(STRING) = "Bureau 1", "Bureau 2", "Bureau 3", "Bureau 4" _WIN_CLIENT_LIST(WINDOW): window id # 0x1200003, 0x1600004, 0x1800090, 0x1601730 _WIN_PROTOCOLS(ATOM) = _WIN_SUPPORTING_WM_CHECK, _WIN_WORKSPACE_NAMES, _WIN_CLIENT_LIST, _WIN_STATE, _WIN_HINTS, _WIN_LAYER _WIN_SUPPORTING_WM_CHECK(WINDOW): window id # 0x100076b _NET_WORKAREA(CARDINAL) = 0, 30, 1280, 742, 0, 30, 1280, 742, 0, 30, 1280, 742, 0, 30, 1280, 742 _NET_DESKTOP_GEOMETRY(CARDINAL) = 1280, 800 _NET_DESKTOP_VIEWPORT(CARDINAL) = 0, 0 _NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x1200003, 0x1600004, 0x1800090, 0x1601730 _NET_CLIENT_LIST(WINDOW): window id # 0x1200003, 0x1600004, 0x1800090, 0x1601730 _NET_DESKTOP_NAMES(UTF8_STRING) = 0x42, 0x75, 0x72, 0x65, 0x61, 0x75, 0x20, 0x31, 0x0, 0x42, 0x75, 0x72, 0x65, 0x61, 0x75, 0x20, 0x32, 0x0, 0x42, 0x75, 0x72, 0x65, 0x61, 0x75, 0x20, 0x33, 0x0, 0x42, 0x75, 0x72, 0x65, 0x61, 0x75, 0x20, 0x34 _NET_CURRENT_DESKTOP(CARDINAL) = 0 _NET_NUMBER_OF_DESKTOPS(CARDINAL) = 4 _NET_SUPPORTED(ATOM) = _NET_WM_STRUT, _NET_WM_STATE, _NET_WM_NAME, _NET_WM_ICON_NAME, _NET_WM_STATE_STICKY, _NET_WM_STATE_SHADED, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_FULLSCREEN, _NET_WM_STATE_HIDDEN, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_MODAL, _NET_WM_STATE_BELOW, _NET_WM_STATE_ABOVE, _NET_WM_STATE_DEMANDS_ATTENTION, _NET_WM_WINDOW_TYPE, _NET_WM_WINDOW_TYPE_DOCK, _NET_WM_WINDOW_TYPE_DESKTOP, _NET_WM_WINDOW_TYPE_SPLASH, _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_MENU, _NET_WM_WINDOW_TYPE_TOOLBAR, _NET_WM_WINDOW_TYPE_NORMAL, _NET_WM_ALLOWED_ACTIONS, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_STICK, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_CLIENT_LIST, _NET_CLIENT_LIST_STACKING, _NET_NUMBER_OF_DESKTOPS, _NET_CURRENT_DESKTOP, _NET_ACTIVE_WINDOW, _NET_CLOSE_WINDOW, _NET_MOVERESIZE_WINDOW, _NET_WORKAREA, _NET_RESTACK_WINDOW, _NET_REQUEST_FRAME_EXTENTS, _NET_WM_MOVERESIZE, _NET_FRAME_EXTENTS, _NET_WM_DESKTOP, _NET_DESKTOP_NAMES, _NET_DESKTOP_VIEWPORT, _NET_DESKTOP_GEOMETRY, _NET_SUPPORTING_WM_CHECK _NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0x100076a _BLACKBOX_PID(CARDINAL) = 3549 ESETROOT_PMAP_ID(PIXMAP): pixmap id # 0x600001 _XROOTPMAP_ID(PIXMAP): pixmap id # 0x600001 RESOURCE_MANAGER(STRING) = "Xcursor.size:\t48\nXcursor.theme:\tSilver\nemacs*font:\t-adobe-courier-medium-r-normal--14-140-75-75-m-90-iso10646-1\nemacs*menuBar:\toff\nemacs*toolBar:\toff\nemacs.background:\tblack\nemacs.cursorColor:\tyellow\nemacs.foreground:\twhite\nxterm*background:\tblack\nxterm*cursorColor:\tyellow\nxterm*font:\t9x15\nxterm*foreground:\tgray\nxterm*scrollBar:\ttrue\nxterm*toolBar:\tfalse\n" _XKB_RULES_NAMES(STRING) = "xorg", "pc105", "fr", "oss", "" XFree86_VT(INTEGER) = 7

Original comment by: steckerman

sillysloft commented 8 years ago

likely fixed by https://github.com/fluxbox/fluxbox/commit/484c33bf25a37952a91123fb728e4b983e70f531 though the client (epiphany, it seems) could fail through a configure request instead of a PPosition hint and fluxbox presently only catches the latter.

It's not a general problem, though. The slit sets a strut and fluxbox (well, 1.3.6 meanwhile ;-) respects it on maximization as well as on placing (now)

Original comment by: baghira-style

sillysloft commented 8 years ago

Original comment by: akir

sillysloft commented 8 years ago

Additional coverage by https://github.com/luebking/fluxbox/commit/d7328f32f5b04f578a939e861a6bfb15446cf341 (in case the windows are oversized)

Original comment by: baghira-style

sillysloft commented 8 years ago

Original comment by: baghira-style

sillysloft commented 8 years ago

https://github.com/fluxbox/fluxbox/commit/299e098f5f6fc6d33684b3d4e80185c8a7899664

Assuming fixed in 1.4.0 by the recent sanitation patches. Otherwise please re-open the bug.

Original comment by: baghira-style