Giter VIP home page Giter VIP logo

wmfs's Introduction

next WMFS dev branch.

wmfs's People

Contributors

arpinux avatar duckunix avatar hobbestigrou avatar kidanger avatar linkdd avatar m-r-r avatar oblique avatar philpep avatar xorg62 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wmfs's Issues

Stripe appears at the bottom when client_titlebar_width is 1

If i declare client_titlebar_width 1, a stripe of the size of the statusbar appears at the bottom of the client. The colour is that I defined for the client frame.

The only way of getting rid of it is setting both client_titlebar_width and cllient_border_width to 0 (even though doing so I still have borders at the right and left sides).

Still, If now I add a bottom bar (with both variables set to 0) the stripe re-appears again just on top of the bottom bar.

eclipse & wmfs

Ok, here's the configuration:

  • I use two screens.
  • On the first screen, eclipse with editor.
  • On the second screen, 2 eclipse dialog boxes (project explorer and console), and a rxvt terminal.

Sometimes in eclipse, I have the following bugs :

  • CTRL left + CTRL right, CTRL space don't work on my editor window (must focus another window, then focus my editor window)
  • Can't save files because the dirty mode didn't detected the fact I made modification in the editor (must focus another editor tab then focus my editor tab)
  • Popup Windows for autocompletion appear and freeze my eclipse (must CTRL ALT R)

Fullscreen & original client size.

When a free client enters and then leaves the fullscreen mode, original size of the window don't get restored, though the original position do. This issue appears with the windows that don't bother to remember its original size themself. According to this http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html

_NET_WM_STATE_FULLSCREEN indicates that the window should fill the entire screen
and have no window decorations. Additionally the Window Manager is responsible for restoring
the original geometry after a switch from fullscreen back to normal window.

The tilda window shrinks when it appears

Hello,

I have a strange problem with the last version of WMFS²:

When i launch Tilda (a dropdown terminal emulator), it opens a terminal window with the good size, but when i make it disappear and reappear (with the keyboard shortcut), it shrinks...

I've made a video of the problem:

Here is the xprop output for the Tilda window:

_NET_WM_USER_TIME(CARDINAL) = 1971840
WM_STATE(WM_STATE):
        window state: 
        icon window: 0xf6c8089a
_WMFS_GEO(CARDINAL) = 211, 184, 872, 435
_WMFS_SCREEN(CARDINAL) = 0
_WMFS_TAG(CARDINAL) = 1
_NET_WM_DESKTOP(CARDINAL) = 4294967295
_NET_WM_STATE(ATOM) = _NET_WM_STATE_STICKY, _NET_WM_STATE_SKIP_TASKBAR
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: True
        Initial state is Normal State.
        bitmap id # to use for icon: 0x1200022
        bitmap id # of mask for icon: 0x1200025
        window id # of group leader: 0x1200001
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
_NET_WM_ICON(CARDINAL) =    Icon (48 x 48):








      ▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░  
      ▒ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ▒░  
      ▒ ░                                      ░▒░  
      ▒ ▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒░  
      ▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒░  
      ▒ ▒░░░░░░░░░░░░░░░▒▓▓████▓▓░░░░░░░░░░░░░▒░▒░  
      ▒ ▒░░░░░░░░░░░░░░▒▓████████▓░░░░░░░░░░░░░░▒░  
      ▒ ▒░░░░░░░░░░░░░▒▓██████████▒░░░░░░░░░░░░░▒░  
      ▒ ▒░░░░░░░░░░░░░▒███████████▓░░░░░░░░░░░░░▒░  
      ▒ ▒░░░░░░░░░░░░░▓████████████░░░░░░░░░░░░░▒░  
      ▒ ▒░░░░░░░░░░░░░▓█▓░▒▓█▓▒░▓██▒░░░░░░░░░░░░▒░  
      ▒ ▒░░░░░░░░░░░░░█▓   ░█░ ░ ▓█▒░░░░░░░░░░░░▒░  
      ▒ ▒░░░░░░░░░░░░░█▒ ▓▓ ▓ ▓▓ ▒█▒░░░░░░░░░░░░▒░  
      ▒ ▒░░░░░░░░░░░░░▓▒░██ ▒░██░▒█░░░░░░░░░░░▒░▒░  
      ▒ ▒░░░░░░░░░░░░░▓▓ ▓░   ░▒ ▓▓░░░░░░░░░░▒▒░▒░  
      ▒ ▒░░░░░░░░░░░░░▓█▒       ▒█▓░░░░░░░░░░▓░░▒░  
      ▒ ▒░░░░░░░░░░░░░▒█░       ░▓▒░░░░░░░░░▓█░░▒░  
      ▒ ░░░░░░░░░░░░░░░█▓░░░░░░▒▓█░░░░░░░░▒▓█▓░░▒░  
      ▒ ░         ░░▒▒▓███▓▒░▒▒▓█▓▒▒▒▒▒▒▒▓███▒░░▒░  
      ▒ ░      ░▒▓▓█████████████████████████▓░░░▒░  
      ▒ ░    ░▒▓████████████████████████████▒  ░▒░  
      ▒ ░   ▒▓█████████████████████████████▒   ░▒░  
      ▒ ░  ▒█████████████████████████████▓▒    ░▒░  
      ▒ ░ ░████████████████████████████▓▒░     ░▒░  
      ▒ ░ ▓██████▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒░        ░▒░  
      ▒ ░░███▓▒░                               ░▒░  
      ▒ ░▒▓▒░                                  ░▒░  
      ▒ ░▒░                                    ░▒░  
      ▒ ░                                      ░▒░  
      ▒ ░                                      ░▒░  
      ▒ ░                                      ░▒░  
      ▒ ░                                      ░▒░  
      ▒ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ▒░  
      ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░  








_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 18874374
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x1200005
WM_CLIENT_LEADER(WINDOW): window id # 0x1200001
_NET_WM_PID(CARDINAL) = 3253
WM_LOCALE_NAME(STRING) = "fr_FR.UTF-8"
WM_CLIENT_MACHINE(STRING) = "localhost"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        program specified location: 0, 0
        program specified minimum size: 1 by 1
        window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "tilda", "Tilda"
WM_ICON_NAME(STRING) = "tilda"
_NET_WM_ICON_NAME(UTF8_STRING) = "tilda"
WM_NAME(STRING) = "tilda"
_NET_WM_NAME(UTF8_STRING) = "tilda"

PS: I don't have the same problem with the stjerm terminal emulator... i can paste the xprop output for stjerm if you want ...

Closing up thundebird causes crash

When thunderbird creates a new window (to write an email, ...) and then tries to close it, wmfs crash. It seems to be coming from libX11. I tried reinstalling this library but it didn't change anything.

http://pastebin.com/0SZ7fNHc

My system is a Xubuntu 64bits with 3.0.0-16-generic linux kernel.

Thanks for this great window manager!

Manage correctly pcmanf --desktop

pcmanfm --desktop is used to manage a desktop (with icons, contextual menu, ...).

But, it seems to fail when WMFS try to manage it as a normal window.

Here is the result : http://omploader.org/vY3c5Nw
Here is the result of 'xprop' command : http://pastebin.com/YPtK5GD7
Version of WMFS : wmfs(-g04c3b93) 2 beta

If you don't want to open the pastebin link :

_NET_WM_USER_TIME(CARDINAL) = 4277244
WM_STATE(WM_STATE):
        window state: Normal
        icon window: 0x125c010
_WMFS_GEO(CARDINAL) = 395, 36, 1602, 915
_WMFS_SCREEN(CARDINAL) = 0
_WMFS_TAG(CARDINAL) = 5
_NET_WM_STATE(ATOM) = _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: True
        Initial state is Normal State.
        window id # of group leader: 0x3400001
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 54525957
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DESKTOP
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x3400004
WM_CLIENT_LEADER(WINDOW): window id # 0x3400001
_NET_WM_PID(CARDINAL) = 7508
WM_LOCALE_NAME(STRING) = "C"
WM_CLIENT_MACHINE(STRING) = "goldorak"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        program specified location: 0, 0
        program specified minimum size: 1600 by 900
        program specified maximum size: 1600 by 900
        window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "pcmanfm", "Pcmanfm"
WM_ICON_NAME(STRING) = "pcmanfm"
_NET_WM_ICON_NAME(UTF8_STRING) = "pcmanfm"
WM_NAME(STRING) = "pcmanfm"
_NET_WM_NAME(UTF8_STRING) = "pcmanfm"

New_feature: client_free_theme

could you add an option to customize free clients or maybe something like "client_free_fg/bg/statusline " options in [theme] section.

Dots appear in the top left corner of bordered clients

Another aesthetic bug: for any client with a border of any size (most commonly for me 1px), an apparently 1x1 dot appears in the top left corner. It appears regardless of the border's color: for example, it shows up as a dark dot (as shown); for a dark border, it appears as a bright dot. However, the dots fail to show up on clients w/o borders. The bug can be recreated by spawning a bordered client (or two), then switching to another tag; upon returning to the tag, the dots will be present. They disappear upon shifting focus to the affected client(s).

This bug apparently doesn't affect some people, but I don't know why.

Examples:
https://goput.it/qs7.png
http://goput.it/tyd.png
http://goput.it/pao.gif (notice Firefox and the top right urxvt)

theme managment

as wmfsrc allow @include files, would it be possible to have a .config/wmfs/themes directory where we can put single-themes in separate files, then wmfs could list and read those files to add it automatically in wmfsrc [themes] section ?

well, i know it's possible by hand (and that's what i do) but, it could be cool to have a real theme-managment handled by wmfs itself.

Bug: screen size not updating after changing number of screens with xrandr

Under wmfs-clasic, I could have my laptop docked with an external screen, then use xrandr to turn off the laptop screen for just one screen on the external monitor. All my clients and the bar resized just fine.

However, using wmfs2, if I do the same thing, the resulting clients and bar are still the size of the laptop screen.

I am willing to help debug this issue, as I cannot move to wmfs2 without this working for me (I tend to dock/undock many times during the day). However, I have not done much (any?) X debugging, so you will have to tell me what to do..

Thanks!

Bug : X crash with some software such as nvidia-settings or nitrogen

GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/local/bin/wmfs...(no debugging symbols found)...done.
(gdb) 
(gdb) run
Starting program: /usr/local/bin/wmfs 
wmfs: /home/alex/.config/wmfs/wmfsrc read
wmfs: /home/alex/.config/wmfs/conf.d/bars read
wmfs: /home/alex/.config/wmfs/conf.d/client read
wmfs: /home/alex/.config/wmfs/conf.d/keys read
wmfs: /home/alex/.config/wmfs/conf.d/launchers read
wmfs: /home/alex/.config/wmfs/conf.d/rules read
wmfs: /home/alex/.config/wmfs/conf.d/tags read
wmfs: /home/alex/.config/wmfs/conf.d/themes read
wmfs: Can't load font 'snap'
wmfs: Can't load font 'snap'
wmfs: Can't load font 'snap'

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7ad2e87 in XNextEvent () from /usr/lib/x86_64-linux-gnu/libX11.so.6
(gdb) bt
#0  0x00007ffff7ad2e87 in XNextEvent () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#1  0x000000000041c000 in wmfs_loop ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

number of desktop

Hi!
WMFS didn't set the _NET_WM_DESKTOP properties for a windows, but set the _WMFS_TAG. It's no good, because it is nonstandarted.

Sorry! My english is bad. =(

Unicode support.

I looks like wmfs2 is not unicode friendly.
For example, setting window title in the xterm via echo -n "\033]0; привет \007" results in completely different and completely unreadable title. This behavior is consistent with every window that has unicode title, even chrome's title with this github page fails to properly draw dot character.

LibreOffice 3.5 error

I try to run LibreOffice 3.5 and I have this error :

The program 'soffice' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAtom (invalid Atom parameter)'.
(Details: serial 231 error_code 5 request_code 17 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

With LibreOffice 3.4 no error in wmfs, LibreOffice 3.5 work with others windowmanager like gnome.

Thanks

Closing an app causes crash

Closing thunar leafpad or firefox (maybe others too) thows me back to login. Here is a log:

Reading symbols from /usr/bin/wmfs...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/wmfs 
wmfs: /home/vojta/.config/wmfs/wmfsrc read
wmfs: /home/vojta/.config/wmfs/wmfs_rules read
wmfs: /home/vojta/.config/wmfs/wmfs_themes read


*** glibc detected *** /usr/bin/wmfs: malloc(): memory corruption: 0x08091e08 ***



Program received signal SIGINT, Interrupt.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fdd424 in __kernel_vsyscall ()
#1  0xb7d610a1 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb7ce310e in _L_lock_6922 () from /lib/libc.so.6
#3  0xb7ce14e3 in malloc () from /lib/libc.so.6
#4  0xb7fe348f in local_strdup () from /lib/ld-linux.so.2
#5  0xb7fe6634 in _dl_map_object () from /lib/ld-linux.so.2
#6  0xb7ff0d7d in dl_open_worker () from /lib/ld-linux.so.2
#7  0xb7feccef in _dl_catch_error () from /lib/ld-linux.so.2
#8  0xb7ff0816 in _dl_open () from /lib/ld-linux.so.2
#9  0xb7d8bca1 in do_dlopen () from /lib/libc.so.6
#10 0xb7feccef in _dl_catch_error () from /lib/ld-linux.so.2
#11 0xb7d8bd97 in dlerror_run () from /lib/libc.so.6
#12 0xb7d8be27 in __libc_dlopen_mode () from /lib/libc.so.6
#13 0xb7d664d8 in init () from /lib/libc.so.6
#14 0xb7d66755 in backtrace () from /lib/libc.so.6
#15 0xb7cd6e30 in __libc_message () from /lib/libc.so.6
#16 0xb7cdd5f2 in malloc_printerr () from /lib/libc.so.6
#17 0xb7cdf0b5 in _int_malloc () from /lib/libc.so.6
#18 0xb7ce14ec in malloc () from /lib/libc.so.6
#19 0xb7c55528 in ?? () from /usr/lib/libxcb.so.1
#20 0xb7c5346f in ?? () from /usr/lib/libxcb.so.1
#21 0xb7c54d08 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#22 0xb7eb6782 in _XReply () from /usr/lib/libX11.so.6
#23 0xb7eb1ec6 in XSync () from /usr/lib/libX11.so.6
#24 0x08050f3c in ?? ()
#25 0x08051cfb in ?? ()
#26 0x0805e52f in ?? ()
#27 0x0805ed76 in ?? ()
#28 0xb7c84483 in __libc_start_main () from /lib/libc.so.6
#29 0x0804a441 in ?? ()
(gdb) 

Build WMFS statically

It could be nice to add an option "--enable-static" in the configure script.

To build WMFS statically, I added that line in the Makefile.in :

LDFLAGS+= -lxcb -lpthread -lm -ldl -lfreetype -lXext -lX11 -lXau -lXdmcp -lz -static

If you build with glibc, you will get this :

/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libX11.a(CrGlCur.o): In function `open_library':
(.text+0x2a): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
src/parse.o: In function `include':
parse.c:(.text+0xacb): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libX11.a(xim_trans.o): In function `_XimXTransSocketUNIXConnect':
(.text+0xa92): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

If you want a full static binary, you should build with uClibc

Feature : Support for multiple X displays

Wmfs works great with xinerama, twinview or sli mosaic.
However, multi screen configuration works well when using many monitors.

Would it be possible to make wmfs working when using a multi X screen displays configuration (xrandr sees one screen at a time)
Awesome, flux box, gnome etc. support such configuration.

Thanks a lot for reading/answering

border display error when use client_resize_top

If i use the function client_resize_top with key shortcut, the resize top border not work correctly. The behavior is as follows:

1st call = show border resize
2nd call = resize + 20 (absolution position for my explication)
3th call = return to initial border postion
4th call = resize + 40 (absolution position for my explication)
5th call = return to initial border postion
6th call = resize + 60 (absolution position for my explication)
7th call = return to initial border postion
8th call = resize + 20*x calls

Sorry can't put the screenshot :)

Borders of tiled windows ignore preset width

The borders of any tiled clients ignore the width defined in wmfsrc and change width with each resize. I can only mitigate the issue by not tiling; in turn, I can recreate it merely by tiling - it becomes far more pronounced with padding enabled. Furthermore, the issue occurs even when I define the client border width as 0.

I am unaware if this is an intended feature or a slight bug.

Screenshots of issue:
http://goput.it/b4f.gif
http://goput.it/tyd.png

My wmfsrc(s):
https://github.com/phallus/bkp/blob/master/configs%2Bdotfiles/wmfsrc-bright
https://github.com/phallus/bkp/blob/master/configs%2Bdotfiles/wmfsrc-deafheaven

A potentially related issue:
#38

UPDATE: The issue appears to only affect terminals (for example, urxvt and lxterminal); other applications seem unaffected.

Feature : autofocus tab

[key] mod = {"Alt", "Shift"} key = "h" func = "client_tab_left" [/key]

I tab 2 terminal with this binding, then i need to click on the tab bar to get the other terminal.
Is it possible to get the focus on the 2nd terminal when the mouse is over the tab wihtout any clic ?

Thanks.

feature: tag_toggle_additional feature in wmfs version 1

toggle_additional is one of my favorite features which can be found on wmfs version 1.
With this feature I can keep windows of different types under different tags and joins them together temporarily without having to move one window to another tag.
Will this feature be supported in wmfs version 2 ?

WM Error casuing X to crash

Hello,

I think this is a problem with wmfs and it's causing my system to crash, the error is:

X Error of failed request: RenderBadPicture (invalid Picture parameter)
Major opcode of failed request: 148 (RENDER)
Minor opcode of failed request: 26 (RenderFillRectangles)
Picture id in failed request: 0x100001c
Serial number of failed request: 2866753
Current serial number in output stream: 2866757

It seemingly randomly occurs when I switch tags, X crashes obviously taking all programs with it. It occurs usually a few times a day could be quite an issue if someone has unsaved work.

X crashes few or less randomly

Hi everyone

I experienced some crashes this last days with wmfs. Mostly, the crashes are in two situations :

  • when I click on a trayicon (claws-mail or gajim works well for that :P ), the X server kills himself
    ---> http://paste.debian.net/174523/ for the debug log
    ---> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677192 , my original bug report for claws-mail...
  • when I go in /dev/tty[1-6] and come back on X, it happens WMFS hangs (the principal symptom is that my statusbar disappears and all keybindings don't work, but I can continue to use the focused app...).

If you need more informations, don't hesitate to contact me.
Best regards

Bests

Oracle Java 1.6 unmap window behaviour

Summary

There is a common practice among Java developers to hide dialog windows instead of disposing them, but Oracle JVM 1.6 breaks ICCCM spec here.
Basically JVM 1.6 do this:
004:>:0287: Event UnmapNotify(18) event=0x04000016 window=0x04000016 from-configure=false(0x00)
While JVM 1.7 additionally send this signal after:
005:<:0565: 44: Request(25): SendEvent propagate=false(0x00) destination=0x0000015b event-mask=SubstructureNotify,SubstructureRedirect UnmapNotify(18) event=0x0000015b window=0x04000013 from-configure=false(0x00)
Workaround for JVM 1.6 is important because of major incompatibilities between 1.7 and 1.6 (switching between major vm versions for vendors in "Java" world is subject for years :) )

Current behaviour

When java hides window it leaves frame (as wmfs is reparenting vm, I suppose this is parent window==frame)
When you switch between workspaces and back closed window appears again, unusable

Expected behaviour

Window hidden, until program shows it programmatically

More information

There is similar bug filed in awesome wm bugtracker, unfortunately developers there prioritize standards compliance over software compatibility.

Configure clients theme according to WM_CLIENT_MACHINE

Let's say I'm on machine A, with hostname A-host.

I open a terminal, its window will has the X Property WM_CLIENT_MACHINE(STRING) set to A-host

Now, I open a SSH connection on machine B, with hostname B-host, with X11 forwarding, and I open a web-browser (for example), its window will has the X Property WM_CLIENT_MACHINE(STRING) set to B-host.

It would be nice to have in the configuration something like that :

[rules]
    [rule]
        client_machine = "B-host"
        theme = "other-theme"
        # tag = <special tag for clients from B-host>
    [/rule]
[/rules]

[tag] autohide option or tag_next_visable functionality

Just made the switch to wmfs2, though I was on wmfs for > 1 year.
The only thing that has me wanting to switch back is the inability to auto hide empty tags.
I wouldn't mind this, except that there is no UICB for tag_next_visible in WMFS2 that sends me to the next occupied tag.
So, is the autohide = true/tag_next_visible combo a gambit of the past, which I can no longer count on?
Am I doing something wrong? Is there a way to have only occupied tags without losing the ability to name them? If my [rule] says tag=7, but i haven't declared such a tag in [tags], will it still honor that tag distinction?

EDIT: tried with only 1 tag declared, and the result was only 1 tag (ever).
I wouldn't mind the launching of an app making a new tag, but I want things to be in the same order with respect to one another... every time.

EDIT2: After some fiddling, I've found that all I need to be happy is for a newly created tag to take focus. I've come to terms with everything else, but I hate having a 3 step operation to open an app in a new tag. Or, ideally, there would be an option in the [rules] section that allows chosen apps to open in a new tag (and take focus, or not). Thanks again

Thanks for your help... this is the first time I've filed an issue, so please forgive any lack of etiquette.

Wrong theme

If I defined a theme after the default theme and set this theme in client, when i launch a client the default theme is used. If I reload WMFS the good theme is applied.

If I defined my theme before the default theme the bug doesn't occur.

Building debian package failed

On a fresh installation of Debian Sid, I cloned wmfs and tried to build the debian package.

# cd wmfs
# dpkg-buildpackage
...

It gave me that : http://pastie.org/3678691

The solution I found is this one :

# ./configure && make dist
# mv wmfs-*.tar.gz ../wmfs_2~beta.orig.tar.gz
# dpkg-buildpackage

The user don't have to do this, it should be great to update the debian folder in order to do that alone.

Crash upon switching Tags

I have yet to get a backtrace but I have noticed that when switching clients to new tag and then clicking said tag with mouse in a semi-fast manner causes WMFS to crash hard.

How to be able to choose WMFS on GDM

Hello

I had some problems to get WMFS available on my debian squeeze with Gnome Display Manager.

WMFS were simply absent.

I've edited the wmfs.desktop in /usr/share/xsessions/ if it's not present move it to this location.

Before it was

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=wmfs
Comment=Window Manager From Scratch
TryExec=wmfs
Exec=wmfs

I edited with

[Desktop Entry]
Encoding=UTF-8
Name=wmfs
Comment=Window Manager From Scratch
Exec=wmfs
Type=XSession

Now it's work.

;)

shell absolute path

My $SHELL varaible is "bash", but the wmfs needs an absolte path for lunching commands.
So you should change:

util.c:108
if(!(sh = getenv("SHELL")))
sh = "/bin/sh";

in
if(!(sh = getenv("SHELL")))
sh = "/bin/sh";
if(sh[0] != '/')
sh = "/bin/sh";

Restore qt-apps from tray.

When i try restore qt-app from tray (psi, qbittorrent, vlc), i cant did it. I double-click on icon, but nothing do.
version: wmfs(-gecb0f82) 2 beta , from git.

Option to enable Click to Raise feature

When having floating clients, any floating client the mouse gets over will raise on top of all floating clients, an option to have sloppy focus without auto-raise would make my life a lot easier ^^

Bar as clickable/switchable area

As you can assign mousebinds to elements in the statusbar, it might be a good idea to assign mousebinds to the bar itself, which might be applied to every part of the bar which isn't occupied by tags with mousebind or tags.

Additional a command to switchout bars would be helpful, so I could f.e. define a bar with special information or commands which would be displayed only on a special key-combo or a right click on the bar area.

Finally, binding mouse-actions which are executed on release of the mousebutton would for example in combination with the upper ideas enable the possibillity to build f.e. a amiga-style rightclick menu in the bar.

Chrome bookmark dialog will not show.

Using Chrome 17, and when adding a book mark, the bookmark dialog with which we can choose which folder to store will never appear.

I tried chromium and the issue remains.

When using xfce or musca, etc. it works just fine.


I've googled for answers, it seem to be a bug seems the first version of wmfs, but the issue page is out of date, and thus I got no solution but to report here.

Best Regards.

Fonts in a bar

Hello!
Firstly, i'd like to give you an apologize about my english which is very bad.
What's about a fonts in a bar? I need change this because if i setted barwidht more then 14 px (i need this because i dislike a bar bottom of client window), f.e. 24 px, it (font) would look bad - it is tiny and flattish. In the 1 generation of WMFS size of a bar and font make me happy! Fonts, which i setted in theme section don't work in a bar (or i make something wrong).
Best wishes!

Free client's wrong positioning on second screen

Running on Archlinux with dualscreen using Xinerama and Wmfs2.

On my second screen, when some client open a free client, this newly opened client may appear nearly outside the display area, depending of the current layout.

For instance, having pcmanfm opened in my second screen with one other client on its right, if I open an item's property window, it won't appear centred in the screen, but nearly outside.

On the other hand, if the pcmanfm client is still on the left but takes enough width on the screen, or if it's on the right side of the other client, the property window will open centred.

This behavior is the same with others pcmanfm's functions like the renaming window or with other applications like Geany and its "Open document" window or Firefox and the save window.

Sorry if there isn't enough details, I'm a pretty new linux user !

Thanks for all the work done so far !

open urxvtc ranger + mplayer then rox crash wmfs

process:
open ranger in urxvtc, then navigate to a video, open it with mplayer in free mode, then open rox-filer... crash

backtrace:
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /home/arp/wmfs/wmfs/wmfs...done.
(gdb) run
Starting program: /home/arp/wmfs/wmfs/wmfs
wmfs: /home/arp/.config/wmfs/wmfsrc read
wmfs: /home/arp/.config/wmfs/wmfs_rules read
wmfs: /home/arp/.config/wmfs/wmfs_themes read
wmfs: Can't load font 'snap'
wmfs: Can't load font 'snap'

Program received signal SIGSEGV, Segmentation fault.
0x0804d7f8 in client_gb_titlebar (w=2097227) at src/client.c:165
165 if(c->titlebar->win == w)
(gdb) bt
#0 0x0804d7f8 in client_gb_titlebar (w=2097227) at src/client.c:165
#1 0x0805d0a9 in mouse_check_client (c=0x8095e30) at src/mouse.h:23
#2 0x0805db26 in uicb_mouse_move (cmd=0x0) at src/mouse.c:230
#3 0x08051a11 in event_buttonpress (e=0xbfffd4d0) at src/event.c:40
#4 0x0805eec0 in wmfs_loop () at src/wmfs.c:392
#5 0x0805f6bf in main (argc=1, argv=0xbffff6b4) at src/wmfs.c:629

(gdb)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.