FVWM: SmartPlacement ignores FvwmIconMan

From: Jakob Ess <jakob_ess_at_hotmail.com>
Date: Tue, 02 Dec 1997 02:23:35 PST

Hi FVWM-list!

I think I have found a bug: I use SmartPlacement (and
SmartPlacementIsReallySmart), and at the same time I have a FvwmIconMan
and a FvwmButtons module, both are StaysOnTop. When placing new
windows, Fvwm should avoid overlap with StaysOnTop windows, this works
fine with FvwmButtons, but apparently the smartplacement algorithm
cannot see the FvwmIconMan window, it is not even avoided as a normal
window would be.

Below I have attached a rather minimal .fvwmrc that shows the problemm
it is too minimal to be of any other use :-)

[Brady Montz: I reported this earlier to the list, and promised you to
send a minimal .fvwm2rc if I could reproduce it with 2.0.46 and
FvwmIconMan 1.0. Well after upgrading I must say that I can, and that I
have not been able to modify my config so that I do not see it, although
I didn't try very hard.]

Best regards, and thanks for any help.

Jakob

--------------------- .fvwm2rc ------------------------
PixmapPath
/home/schiotz/pixmaps:/usr/include/X11/pixmaps:/usr/local/include/X11/pixmaps
IconPath /home/schiotz/bitmaps:/usr/include/X11/bitmaps

HilightColor #fff0dc \#904048
Style "*" Color #fff0dc/#407080

MenuStyle black grey slategrey 7x13bold fvwm

WindowFont 9x15
IconFont 9x15

Style "*" SloppyFocus

EdgeScroll 0 0
EdgeResistance 500 20

DeskTopSize 2 2

Style "*" SmartPlacement
GlobalOpts SmartPlacementIsReallySmart

Style "*" BorderWidth 5, HandleWidth 5

Style "Fvwm*" NoTitle, Sticky, WindowListSkip, HandleWidth 0,
StaysOnTop

AddToFunc "InitFunction"
+ "I" Module FvwmButtons
+ "I" Wait FvwmButtons
+ "I" Exec xterm
+ "I" Module FvwmIconMan
+ "I" Wait FvwmIconMan

AddToFunc "RestartFunction"
+ "I" Module FvwmButtons
+ "I" Module FvwmIconMan
+ "I" Next [!iconic CurrentScreen] Focus


## Buttons actually being used (duplicated below)
# Large up Triangle
ButtonStyle 2 4 50x25_at_1 75x75_at_0 25x75_at_0 50x25_at_1
# Large down Triangle
ButtonStyle 4 4 50x75_at_1 25x25_at_1 75x25_at_1 50x75_at_0
# Stylized X
ButtonStyle 3 16 20x20_at_1 30x20_at_1 50x40_at_1 70x20_at_1 80x20_at_1 80x30_at_0 60x50_at_0
80x80_at_0 70x80_at_0 50x60_at_0 30x80_at_0 20x80_at_0 20x70_at_0 40x50_at_1 20x30_at_0 20x20_at_1


############################################################################
# FvwmButtons
#
# Colors
*FvwmButtonsFore Black
*FvwmButtonsBack grey75

# Font
*FvwmButtonsFont 7x13

# Geometry-- really likes to pick its own size, but giving a position is
OK
*FvwmButtonsGeometry -2+0

# Layout: specify rows or columns, not both
*FvwmButtonsColumns 1

# Define the buttons to use.....
*FvwmButtons(Swallow "FvwmPager" "FvwmPager 0 0")
*FvwmButtons(Size 0 55, Swallow "xclock" "Exec xclock -padding 1 -bg
grey75 -fg black -hd Blue -hl black -geometry -1500-1500 &")
*FvwmButtons xterm xterm_sm.xpm Exec "xterm" xterm -sb -sl 500 -j &


############################################################################
# FvwmPager
#
*FvwmPagerBack grey75
*FvwmPagerHilight grey50
*FvwmPagerFore black
*FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmPagerGeometry +1500+1500

# Setting the font to 0x0 or nil2 results in no text
*FvwmPagerFont none


*FvwmIconMan*nummanagers 1
*FvwmIconMan*background #c0c0c0
*FvwmIconMan*foreground black
*FvwmIconMan*format "%i (%c)"
*FvwmIconMan*buttongeometry 320x0
*FvwmIconMan*managergeometry 3x1+0-0
*FvwmIconMan*drawicons false
*FvwmIconMan*resolution page
*FvwmIconMan*followfocus true
*FvwmIconMan*focusbutton down black #c0c0c0
*FvwmIconMan*focusandselectbutton down black #e0e0e0
*FvwmIconMan*selectbutton up black #e0e0e0




______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Dec 02 1997 - 04:24:29 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST