BUGS
author Stiletto <blasux@blasux.ru>
Wed, 02 Feb 2011 22:33:33 +0300
branchstil
changeset 1533 e2e1cbb46541
parent 1513 1456ca0c94b7
child 1539 e2a9bd720b6e
permissions -rw-r--r--
Man, why the fuck you put the binaries and your config in the repo?
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1512
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
     1
---
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
     2
1504
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
     3
18:17 < Biolunar> when i change my resolution in dwm (to a smaller one) and then back to the native, the top bar is not repainted. that's since 5.7.2, in 5.6 it worked fine
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
     4
18:19 < Biolunar> is it just happening to me or a (known) bug?
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
     5
18:24 < Biolunar> and in addition, mplayers fullscreen is limited to the small resolution after i changed it back to the native
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
     6
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
     7
reproducible with xrandr -s but not with --output and --mode, strange
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
     8
1512
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
     9
---
1504
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
    10
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
    11
> enternotify is handled even when the entered window is already focused
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
    12
> (eg moving the mouse to the bar and back, scrolling on the border..)
1512
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    13
>
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    14
> focusing might be expensive for some clients (eg dim/light up)
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    15
>
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    16
> a possible solution is to modify enternotify:
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    17
>
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    18
> +       c = wintoclient(ev->window);
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    19
>        if((m = wintomon(ev->window)) && m != selmon) {
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    20
>                unfocus(selmon->sel);
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    21
>                selmon = m;
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    22
>        }
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    23
> +       else if (c == selmon->sel || c == NULL)
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    24
> +               return;
1504
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
    25
1512
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    26
---
1504
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
    27
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
    28
> another corner case:
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
    29
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
    30
a tiled client can be resized with mod+right click, but it only works
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
    31
on the main monitor
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
    32
1512
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    33
---
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    34
1504
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
    35
dmenu appears on the monitor where the pointer is and not on selmon
25cb0e9856e6 added BUGS, next version is 5.8
Anselm R Garbe <anselm@garbe.us>
parents:
diff changeset
    36
1512
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    37
---
1505
486b35f01568 added nsz's last bug corner case
Anselm R Garbe <garbeam@gmail.com>
parents: 1504
diff changeset
    38
486b35f01568 added nsz's last bug corner case
Anselm R Garbe <garbeam@gmail.com>
parents: 1504
diff changeset
    39
yet another corner case:
486b35f01568 added nsz's last bug corner case
Anselm R Garbe <garbeam@gmail.com>
parents: 1504
diff changeset
    40
open a terminal, focus another monitor, but without moving the mouse
486b35f01568 added nsz's last bug corner case
Anselm R Garbe <garbeam@gmail.com>
parents: 1504
diff changeset
    41
pointer there
486b35f01568 added nsz's last bug corner case
Anselm R Garbe <garbeam@gmail.com>
parents: 1504
diff changeset
    42
if there is no client on the other monitor to get the focus, then the
486b35f01568 added nsz's last bug corner case
Anselm R Garbe <garbeam@gmail.com>
parents: 1504
diff changeset
    43
terminal will be unfocused but it will accept input
1507
72e52c5333ef another bug report
Anselm R Garbe <garbeam@gmail.com>
parents: 1505
diff changeset
    44
72e52c5333ef another bug report
Anselm R Garbe <garbeam@gmail.com>
parents: 1505
diff changeset
    45
---
72e52c5333ef another bug report
Anselm R Garbe <garbeam@gmail.com>
parents: 1505
diff changeset
    46
72e52c5333ef another bug report
Anselm R Garbe <garbeam@gmail.com>
parents: 1505
diff changeset
    47
Donald Allen reported this:
72e52c5333ef another bug report
Anselm R Garbe <garbeam@gmail.com>
parents: 1505
diff changeset
    48
72e52c5333ef another bug report
Anselm R Garbe <garbeam@gmail.com>
parents: 1505
diff changeset
    49
starting emacs from dmenu in archlinux results in missing configure of emacs, but mod1-space or mod1-shift-space fix this problem. this problem is new and did not happen in 1.6 xorg servers
72e52c5333ef another bug report
Anselm R Garbe <garbeam@gmail.com>
parents: 1505
diff changeset
    50
72e52c5333ef another bug report
Anselm R Garbe <garbeam@gmail.com>
parents: 1505
diff changeset
    51
Starting emacs from xterm doesnt show this problem, he uses tag 8 for emacs
1508
0bee7022aca5 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
Anselm R Garbe <anselm@garbe.us>
parents: 1507
diff changeset
    52
0bee7022aca5 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
Anselm R Garbe <anselm@garbe.us>
parents: 1507
diff changeset
    53
---
0bee7022aca5 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
Anselm R Garbe <anselm@garbe.us>
parents: 1507
diff changeset
    54
0bee7022aca5 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
Anselm R Garbe <anselm@garbe.us>
parents: 1507
diff changeset
    55
2009/12/7 Alexandr Krylovskiy <wing_AT_tversu.ru>: 
0bee7022aca5 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
Anselm R Garbe <anselm@garbe.us>
parents: 1507
diff changeset
    56
>  Fullscreen mode with flash applications (youtube, for example) doesn't 
0bee7022aca5 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
Anselm R Garbe <anselm@garbe.us>
parents: 1507
diff changeset
    57
> work properly neither in tiled nor in floating mode. 
0bee7022aca5 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
Anselm R Garbe <anselm@garbe.us>
parents: 1507
diff changeset
    58
>  Fullscreen window closes immediately after opening. 
0bee7022aca5 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
Anselm R Garbe <anselm@garbe.us>
parents: 1507
diff changeset
    59
0bee7022aca5 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
Anselm R Garbe <anselm@garbe.us>
parents: 1507
diff changeset
    60
This is a known bug (for some curiosity I received the same report via 
0bee7022aca5 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
Anselm R Garbe <anselm@garbe.us>
parents: 1507
diff changeset
    61
privmail from 2 other people within one week, really strange). 
0bee7022aca5 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
Anselm R Garbe <anselm@garbe.us>
parents: 1507
diff changeset
    62
The quick fix is commenting out the code in lines 817/818 in hg tip 
0bee7022aca5 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
Anselm R Garbe <anselm@garbe.us>
parents: 1507
diff changeset
    63
dwm. I cannot confirm this has no side effects (I think it does) and I 
0bee7022aca5 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
Anselm R Garbe <anselm@garbe.us>
parents: 1507
diff changeset
    64
will address this issue shortly with a real fix. 
1512
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    65
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    66
---
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    67
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    68
SDL seems to not like non-reparenting WMs:
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    69
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    70
> I would like to mention SDL problems, however SDL is not crucial to
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    71
> me anymore; people that really care about it should speak up and
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    72
> propose dwm / SDL patch or cooperation scheme in that matter. 
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    73
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    74
Patching SDL, bugging them?
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    75
f8871a8b8cd8 pretty printing bugs a bit
Anselm R Garbe <anselm@garbe.us>
parents: 1508
diff changeset
    76
---
1513
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    77
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    78
voltaic reports this:
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    79
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    80
When I use two monitors, one larger in resolution than the other, the
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    81
bar is drawn using the smaller x-dimension on both screens. I think
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    82
what's happening is that there are two bars drawn, but the short bar
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    83
is always on top of the long bar such that I can't see the information
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    84
under the short bar. If I switch to the small screen, hide the short
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    85
bar, and then switch to the large screen, the long bar is drawn
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    86
correctly.
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    87
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    88
A similar problem occurs when I have started dwm on a small resolution
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    89
monitor (laptop screen) and then I switch to a large external display.
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    90
When I do this, the bar itself is drawn for the original smaller
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    91
resolution, but the information to be printed on the bar is
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    92
right-aligned for a longer bar. So what I see is a bar that has the
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    93
right hand side of it cut-off. See attached screenshot.
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    94
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    95
I am using standard options for xrandr such as --output VGA1 --auto, etc.
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    96
1456ca0c94b7 added the related bug reported by voltaic
Anselm R Garbe <anselm@garbe.us>
parents: 1512
diff changeset
    97
---