[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#673021: marked as done (negative fraction in kb geometry emitted badly)



Your message dated Fri, 22 Apr 2022 16:27:26 +0200
with message-id <YmK7Tut+WB1aoxBi@jcristau-z4>
and subject line Re: Bug#673021: negative fraction in kb geometry emitted badly
has caused the Debian Bug report #673021,
regarding negative fraction in kb geometry emitted badly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
673021: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673021
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: x11-xkb-utils
Version: 7.5+5
Severity: normal

When generating .xkb source-style output, xkbcomp incorrectly serialises
negative fractional dimensions in the keyboard geometry.  Negative
integer dimensions (as seen in the "kinesis" geometry file) are fine.
For example:

$ cat t0.xkb
xkb_keymap {
xkb_keycodes "evdev" { include "evdev" };
xkb_types "complete" { include "complete" };
xkb_compatibility "complete" { include "complete" };
xkb_symbols "us" { include "us" };
xkb_geometry "test" {
    width = 100;
    height = 100;
    shape "K" { { [  20,  20 ] } };
    section "a" {
        top = 50;
        left = 50;
        row {
            top = -3.6;
            left = -3;
            keys { { <ESC>, "K" } };
        };
    };
};
};
$ xkbcomp -w0 t0.xkb t0.xkm
$ xkbcomp t0.xkm t1.xkb
$ sed -n '1,/geometry/d;/= *-/p' t1.xkb
            top=  -3.-5;
            left= -3;

-zefram



--- End Message ---
--- Begin Message ---
Closing this old bug.  xkbcomp & co are in deep maintenance mode, and
especially the geometry related stuff is unlikely to see changes.
Feel free to report / submit a patch upstream though.

Cheers,
Julien

On Tue, May 15, 2012 at 02:28:50PM +0100, Zefram wrote:
> Package: x11-xkb-utils
> Version: 7.5+5
> Severity: normal
> 
> When generating .xkb source-style output, xkbcomp incorrectly serialises
> negative fractional dimensions in the keyboard geometry.  Negative
> integer dimensions (as seen in the "kinesis" geometry file) are fine.
> For example:
> 
> $ cat t0.xkb
> xkb_keymap {
> xkb_keycodes "evdev" { include "evdev" };
> xkb_types "complete" { include "complete" };
> xkb_compatibility "complete" { include "complete" };
> xkb_symbols "us" { include "us" };
> xkb_geometry "test" {
>     width = 100;
>     height = 100;
>     shape "K" { { [  20,  20 ] } };
>     section "a" {
>         top = 50;
>         left = 50;
>         row {
>             top = -3.6;
>             left = -3;
>             keys { { <ESC>, "K" } };
>         };
>     };
> };
> };
> $ xkbcomp -w0 t0.xkb t0.xkm
> $ xkbcomp t0.xkm t1.xkb
> $ sed -n '1,/geometry/d;/= *-/p' t1.xkb
>             top=  -3.-5;
>             left= -3;
> 
> -zefram
> 

--- End Message ---

Reply to: