Re: modules=xwayland.so ignored (Was: Xfig menus don't appear - bug?)

2015-04-08 Thread Pekka Paalanen
On Wed, 8 Apr 2015 14:41:10 +0100
"Felix E. Klee"  wrote:

> On Wed, Apr 8, 2015 at 11:16 AM, Pekka Paalanen 
> wrote:
> > try removing that tab from your .ini.
> 
> I tried with spaces, with tab, and without; But probably when I first
> tried without indentation, I didn’t save, because: After removing the
> tab, now it works!
> 
> > Should probably fix that one day...
> 
> Don’t know. Perhaps without indentation is how ini files have to be
> formatted. I presume you use some ini parser library. There are various.

No, we don't. :-P
And it's probably not worth the trouble to add a new library dependency
at this point.

> In the meantime, someone could fix documentation for [XServer][1] which
> currently reads:
> > weston.ini
> > ==
> >
> > Add this to ~/.config/weston.ini (or use the --modules=xwayland.so
> > command line argument):
> >
> > [core]
> > modules=xwayland.so
> 
> [1]: http://wayland.freedesktop.org/xserver.html

Ah ah. Yes. Fixed!


Thanks,
pq
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: modules=xwayland.so ignored (Was: Xfig menus don't appear - bug?)

2015-04-08 Thread Felix E. Klee
On Wed, Apr 8, 2015 at 11:16 AM, Pekka Paalanen 
wrote:
> try removing that tab from your .ini.

I tried with spaces, with tab, and without; But probably when I first
tried without indentation, I didn’t save, because: After removing the
tab, now it works!

> Should probably fix that one day...

Don’t know. Perhaps without indentation is how ini files have to be
formatted. I presume you use some ini parser library. There are various.

In the meantime, someone could fix documentation for [XServer][1] which
currently reads:
> weston.ini
> ==
>
> Add this to ~/.config/weston.ini (or use the --modules=xwayland.so
> command line argument):
>
> [core]
> modules=xwayland.so

[1]: http://wayland.freedesktop.org/xserver.html
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: modules=xwayland.so ignored (Was: Xfig menus don't appear - bug?)

2015-04-08 Thread Pekka Paalanen
On Wed, 8 Apr 2015 08:47:41 +0100
"Felix E. Klee"  wrote:

> On Wed, Apr 8, 2015 at 8:20 AM, Pekka Paalanen 
> wrote:
> > if you check Weston's output, it says which config file it is reading.
> > Is it reading the one you are editing?
> 
> To create the attached log file I ran:
> 
> $ weston-launch –-verbose >/tmp/weston.log 2>&1
> 
> Starting `xterm` from within the Weston terminal emulator fails:
> 
> $ xterm
> xterm  Xt error: Can’t open display:
> xterm  DISPLAY is not set

Hi,

try removing that tab from your .ini. The parser is more picky that
you'd expect.

That is, instead of:

[core]
modules=xwayland.so

try:

[core]
modules=xwayland.so

Should probably fix that one day...


Thanks,
pq
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


modules=xwayland.so ignored (Was: Xfig menus don't appear - bug?)

2015-04-08 Thread Felix E. Klee
On Wed, Apr 8, 2015 at 8:20 AM, Pekka Paalanen 
wrote:
> if you check Weston's output, it says which config file it is reading.
> Is it reading the one you are editing?

To create the attached log file I ran:

$ weston-launch –-verbose >/tmp/weston.log 2>&1

Starting `xterm` from within the Weston terminal emulator fails:

$ xterm
xterm  Xt error: Can’t open display:
xterm  DISPLAY is not set


weston.ini
Description: Binary data


weston.log
Description: Binary data
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Xfig menus don't appear - bug?

2015-04-08 Thread Pekka Paalanen
On Tue, 7 Apr 2015 23:54:17 +0100
"Felix E. Klee"  wrote:

> By the way, what also doesn’t work is loading XWayland based on
> configuration settings in my `~/.config/weston.ini`:
> 
> [core]
> modules=xwayland.so
> 
> What works is specifying XWayland on the command line:
> 
> $ weston-launch -- --modules=xwayland.so

Hi,

if you check Weston's output, it says which config file it is reading.
Is it reading the one you are editing?


Thanks,
pq
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Xfig menus don't appear - bug?

2015-04-07 Thread Felix E. Klee
On Tue, Apr 7, 2015 at 7:39 PM, Jasper St. Pierre
 wrote:
> Menus appear fine on my machine.

I just tried again, after updating my Arch system yesterday: Some of the
menus work, for example the view menu. Others are accessible as well
when clicking the middle mouse button, but they are placed in off
positions.

> I assume it's the recent Xwayland bugs. Try weston from master
> combined with:
>
> http://lists.freedesktop.org/archives/xorg-devel/2015-February/045701.html

May try that, or just wait for fixes to appear.

By the way, what also doesn’t work is loading XWayland based on
configuration settings in my `~/.config/weston.ini`:

[core]
modules=xwayland.so

What works is specifying XWayland on the command line:

$ weston-launch -- --modules=xwayland.so
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Xfig menus don't appear - bug?

2015-04-07 Thread Jasper St. Pierre
Menus appear fine on my machine. I assume it's the recent Xwayland
bugs. Try weston from master combined with:

http://lists.freedesktop.org/archives/xorg-devel/2015-February/045701.html

On Mon, Apr 6, 2015 at 10:27 AM, Jasper St. Pierre
 wrote:
> No, sorry. I'll take a look today.
>
> On Mon, Apr 6, 2015 at 10:22 AM, Felix E. Klee  wrote:
>> Should I report this somewhere?
>> ___
>> wayland-devel mailing list
>> wayland-devel@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
>
>
> --
>   Jasper



-- 
  Jasper
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Xfig menus don't appear - bug?

2015-04-06 Thread Jasper St. Pierre
No, sorry. I'll take a look today.

On Mon, Apr 6, 2015 at 10:22 AM, Felix E. Klee  wrote:
> Should I report this somewhere?
> ___
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel



-- 
  Jasper
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Xfig menus don't appear - bug?

2015-04-06 Thread Felix E. Klee
Should I report this somewhere?
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Xfig menus don't appear - bug?

2015-04-02 Thread Felix E. Klee
When I click on a menu in [Xfig][1] running in xwayland, then it doesn’t
appear. The same Xfig installation in X.org runs fine.

I start Wayland directly from the console, i.e. with DRI/KMS:

$ weston-launch

`weston.ini`:

[core]
modules=xwayland.so

System:

  * VMware Player guest

  * `uname -a`: Linux felix-arch 3.19.2-1-ARCH #1 SMP PREEMPT Wed Mar 18
16:21:02 CET 2015 x86_64 GNU/Linux

  * weston 1.7.0

[1]: http://www.xfig.org/
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel