Ilya Schurov | 1 Oct 2005 11:25
Picon

Ion2 delays on startup with -i18n and UTF-8 locale


Hi there,

I have the following problem with ion2 (2-20040729): it delays for 5-10
seconds on startup or restart every time when I start it with '-i18n'
switch from UTF-8 locale. No frames displayed and no mouse/keyboard
events are handled during this period.

strace shows the following:

====
read(4,
"\1\0N\0\0\0\0\0\0\0\307\0\0\0\0\0\1\0\0\0\0\0\0\0)\0\0"...,
32) = 32
writev(4, [{"1\0\7\0\1\0\21\0", 8}, {"*-JISX0208.1983-0", 17},
{"\0\0\0", 3}], 3) = 28
read(4,
"\1\0O\0\0\0\0\0\0\0\307\0\0\0\0\0\1\0\0\0\0\0\0\0\21\0"...,
32) = 32
writev(4, [{"1\0\7\0\1\0\23\0", 8}, {"*-*-JISX0208.1983-0",
19}, {"\0", 1}], 3) = 28
read(4,
"\1\0P\0\0\0\0\0\0\0\307\0\0\0\0\0\1\0\0\0\0\0\0\0\23\0"...,
32) = 32
writev(4, [{"1\0\10\0\1\0\25\0", 8}, {"*-*-*-JISX0208.1983-0",
21}, {"\0\0\0", 3}], 3) = 32
read(4,
"\1\0Q\0\0\0\0\0\0\0\307\0\0\0\0\0\1\0\0\0\0\0\0\0\25\0"...,
32) = 32
writev(4, [{"1\0\10\0\1\0\27\0", 8},
(Continue reading)

Javier Linares | 1 Oct 2005 16:45

Minor BUG: ion3 man page says -sessionname, is -session

Hi,

ion3 man page says option to set the session is "-sessionname" but I think
it is -session. Not an important bug, but an inconsistency. I'm using the
20050820-4 package from Debian.

Thanks in advance,

--

-- 
Javier Linares     http://interactors.coop | http://javierlinares.com

clemens | 6 Oct 2005 23:22

xft-for-ion-20051006.diff

Here is an update of Nikolai's last Xft patch for the current developer
snapshot of ion3 (as of 20051006).

Patch:
http://clemens.endorphin.org/patches/xft-for-ion-20051006.diff

Shots:
http://clemens.endorphin.org/ion-on-xft.png
http://clemens.endorphin.org/ion-on-xft-ios.png

Look file's:
http://clemens.endorphin.org/patches/look_xft.lua
http://clemens.endorphin.org/patches/look_cleanios-xft.lua

You have to load the look files to see any change. (Hint: Change
~/.ion3/default-session--0/look.lua)

Regards, Clemens

P.S.: For reference, here is the snapshot of 20051006 of the darcs
repository I used to diff the patch. 
http://clemens.endorphin.org/patches/ion-3ds-20051006.tar.bz2

Chris Ball | 7 Oct 2005 16:38
Picon
Picon
Favicon

WFrame.set_shaded()

Hi,

In ion2, double-clicking on a WIonWS tab would shade the tab, via:

    mdblclick("Button1", WIonFrame.toggle_shade, "tab"),

but there doesn't seem to be a default binding to do this in ion3.
I tried:

    defbindings("WIonWS", {
        mdblclick("Button1 <at> tab", "WFrame.set_shaded(_, 'toggle')"),

after seeing that toggle_shade is now set_shaded, but this doesn't seem
to work.  Any tips?

Thanks,

- Chris.
--

-- 
Chris Ball   <cjb@...>    <http://www.mrao.cam.ac.uk/~cjb/>

Chris Ball | 7 Oct 2005 17:07
Picon
Picon
Favicon

Re: WFrame.set_shaded()

Michael,

>> On 07 Oct 2005, Michael Cadilhac <michael.cadilhac@...> said:

   > Don't know which version you downloaded, but this behavior IS the
   > default and is set in cfg_floatws.lua :

I'm asking about WIonFrames, rather than WFloatFrames.

Thanks,

- Chris.
--

-- 
Chris Ball   <cjb@...>    <http://www.mrao.cam.ac.uk/~cjb/>

Michael Cadilhac | 7 Oct 2005 17:01
Face
Picon
Picon
Picon

Re: WFrame.set_shaded()

Chris Ball <cjb@...> writes:

> Hi,
>
> In ion2, double-clicking on a WIonWS tab would shade the tab, via:
>
>     mdblclick("Button1", WIonFrame.toggle_shade, "tab"),
>
> but there doesn't seem to be a default binding to do this in ion3.
> I tried:
>
>     defbindings("WIonWS", {
>         mdblclick("Button1 <at> tab", "WFrame.set_shaded(_, 'toggle')"),
>
> after seeing that toggle_shade is now set_shaded, but this doesn't seem
> to work.  Any tips?

  Don't know which version you downloaded, but this behavior IS the
  default and is set in cfg_floatws.lua :

defbindings("WFloatFrame", {
    bdoc("Toggle shade mode"),
    mdblclick("Button1 <at> tab", "WFloatFrame.set_shaded(_, 'toggle')"),

    [...]
})

  Regards,

--

-- 
(Continue reading)

. . | 7 Oct 2005 19:26
Picon
Favicon

RE: WFrame.set_shaded()

>From: Chris Ball <cjb@...>
>
>     defbindings("WIonWS", {

That is attempting to shade a workspace.  Change it to "WFrame-on-WIonWS".

I notice this doesn't always work.  If I vertically split two terminals with 
hidden tabs, and I maximize the top frame, it will probably shrink the 
bottom frame but not shade it.  Setting the bottom frame directly to shaded 
in this case will also fail.

If the top frame contains a browser window and a terminal, I can first 
switch to the browser window, then maximize, then switch back to the 
terminal to get the desired effect.

Geoffrey Alan Washburn | 10 Oct 2005 21:35
Favicon

Problems with ion3 on

I'm trying to get ion-3ds-20050820 working on a new system I use and 
I've been encountering some strange problems.  So far things have worked 
perfectly on my other (Debian) system.

I explode the package, set PREFIX and LUA_DIR in system.mk, run make, 
and then make install.  This goes flawlessly.  However, then when I go 
to run ion3, I get the following error.

% ion3
 >> Errors starting ion-statusd:

/mnt/eclipse/unsupported/linux/ion-3ds-20050820/lib/ion3/bin/ion-statusd: 
MAIL environment variable not set and no spool given.

/mnt/eclipse/unsupported/linux/ion-3ds-20050820/lib/ion3/bin/ion-statusd: 
Stack trace:
    0 [C]: in 'warn'
    1 statusd_mail.lua:30: in 'check_spool'
    2 statusd_mail.lua:36
      [Skipping unnamed C functions.]

 >> Stack trace:
    0 [C]: in 'warn'
    1 mod_statusbar.lua:305: in 'launch_statusd'
    2 ...ed/linux/ion-3ds-20050820/etc/ion3/cfg_statusbar.lua:32
      [Skipping unnamed C functions.]
    5 [C]: in 'dopath'
    6 mod_statusbar.lua:379
      [Skipping unnamed C functions.]
    9 [C]: in 'dopath'
(Continue reading)

Tuomo Valkonen | 10 Oct 2005 22:21
Picon
Picon
Favicon

Re: Problems with ion3 on

On 2005-10-10, Geoffrey Alan Washburn <geoffw@...> wrote:
> *** glibc detected *** corrupted double-linked list: 0x0819df18 ***
> zsh: 27351 segmentation fault
...
> % ion3
> *** glibc detected *** double free or corruption: 0x0819dcd8 ***

WTF? Do you have some broken memory checker library LD_PRELOADed 
or something? 

--

-- 
Tuomo

Geoffrey Alan Washburn | 10 Oct 2005 22:48
Favicon

Re: Problems with ion3 on

Tuomo Valkonen wrote:
> On 2005-10-10, Geoffrey Alan Washburn <geoffw@...> wrote:
> 
>>*** glibc detected *** corrupted double-linked list: 0x0819df18 ***
>>zsh: 27351 segmentation fault
> 
> ...
> 
>>% ion3
>>*** glibc detected *** double free or corruption: 0x0819dcd8 ***
> 
> 
> WTF? Do you have some broken memory checker library LD_PRELOADed 
> or something? 
> 

	There isn't anything in my LD_LIBRARY_PATH that should be doing this. 
The system's /etc/ld.so.conf looks like

/usr/X11R6/lib/Xaw95
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/i486-linux/lib
/usr/i486-linux-libc5/lib=libc5
/usr/i486-linux-libc6/lib=libc6
/usr/i486-linuxaout/lib
/usr/i386-suse-linux/lib
/usr/local/lib
/usr/openwin/lib
/opt/kde/lib
(Continue reading)


Gmane