Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272310 - rox-extra/memo-2.1 windows does not show
Summary: rox-extra/memo-2.1 windows does not show
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-02 20:49 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2013-10-08 16:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/tmp/emerge--info (emerge--info,11.47 KB, text/plain)
2009-06-02 20:50 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2009-06-02 20:49:48 UTC
After updating my system, Memo does not show on screen.

I start (and stop) it this way:

dhp@moon-gen-3:~$ /usr/bin/Memo
Xlib:  extension "RANDR" missing on display ":0.0".
^CTraceback (most recent call last):
  File "/usr/lib/rox/Memo/AppRun", line 23, in <module>
    main.main()
  File "/usr/lib/rox/Memo/main.py", line 86, in main
    rox.mainloop()
  File "//usr/lib/ROX-Lib2/python/rox/__init__.py", line 265, in mainloop
    g.main()
KeyboardInterrupt
dhp@moon-gen-3:~$

but i dont get any new window anywhere.

Using my old 0conf/0launch backup, it get similar console output:

dhp@moon-gen-3:~$ .bin/Rox-apps/Memo/AppRun
Xlib:  extension "RANDR" missing on display ":0.0".
^CTraceback (most recent call last):
  File "/home/dhp/.cache/0install.net/implementations/sha1=424f32be29f3c7b40013c1563851e66a84c7d48a/Memo/AppRun", line 8, in <module>
    main.main()
  File "/home/dhp/.cache/0install.net/implementations/sha1=424f32be29f3c7b40013c1563851e66a84c7d48a/Memo/main.py", line 52, in main
    rox.mainloop()
  File "//usr/lib/ROX-Lib2/python/rox/__init__.py", line 265, in mainloop
    g.main()
KeyboardInterrupt
dhp@moon-gen-3:~$

but, with this, i get the windows on screen :)

The Xlib message is produced by many applications; it should not be related.

Expected behaviour: show a windows, or tell why not.

Updated around 130 ebuilds; can't really say what could cause the problem. I will dig more. But maybe you could tell me what to test. Straces for both commande are similar (did not read full detail of those logs).
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2009-06-02 20:50:37 UTC
Created attachment 193321 [details]
/tmp/emerge--info
Comment 2 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-06-02 21:08:22 UTC
One of the new features in Memo-2.1 is a systray applet.  If your window manager or desktop environment has a system tray, you may just see it appear in there.

If this is the case, you can change the default behaviour to NOT start minimized, in the options.  Right-click on the systray icon and choose "Options...", then take a look at the "Systray Icon" page, under "Main window".  Hopefully the options there should be pretty obvious.
Comment 3 DEMAINE Benoît-Pierre, aka DoubleHP 2009-06-02 21:24:21 UTC
That's a good idea, and an idea I did not think of.

E17 has a systray (I can minimise windows in there), but, I disactivated the Ibar; in this cases, apps are usually "forbidden" to start in the non existing bar: they are forced to "screen" (Skype for example, does this).

But Memo does not start in the tray.

Or maybe it just bugs (misdetects that I have systray but no ibar - i dont know how E decides to put which apps where). My tray is for minimised windows. E also have a "lost windows recovery" feature (all WM should have one), and memo is not in there either :)
Comment 4 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-06-03 11:41:08 UTC
Interesting!  Maybe I'll have to install E17 and try it out.

In the mean time, you could try looking at:

~/.config/rox.sourceforge.net/Memo/Options.xml

Make sure Memo isn't running, then open it up and change:

  <Option name="systray_enable">True</Option>

To:

  <Option name="systray_enable">False</Option>

And try running Memo once again.
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2009-06-03 21:59:45 UTC
dhp@moon-gen-3:~$ ls -lha /home/dhp/.config/rox.sourceforge.net/Memo/
total 104K
drwx------ 2 dhp dhp 4.0K 2009-06-03 23:57 .
drwxr-xr-x 8 dhp dhp 4.0K 2008-01-10 19:07 ..
-rw------- 1 dhp dhp  88K 2009-06-03 23:36 Entries
-rw-r--r-- 1 dhp dhp  512 2008-03-31 20:18 Options.xml
dhp@moon-gen-3:~$

Option file does not contain the pattern "sys" at all. Entries are up to date because I use the 0install version (I need to "work" !!! )
Comment 6 DEMAINE Benoît-Pierre, aka DoubleHP 2009-07-15 18:05:34 UTC
ah no; i thought it was working fine, but in fact no, i can still reproduce the bug.
Comment 7 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-07-15 20:13:35 UTC
(In reply to comment #6)
> ah no; i thought it was working fine, but in fact no, i can still reproduce the
> bug.

Can you post the contents of your ~/.config/rox.sourceforge.net/Memo/Options.xml
Comment 8 DEMAINE Benoît-Pierre, aka DoubleHP 2009-07-15 20:59:47 UTC
dhp@moon-gen-3:~$ cat ~/.config/rox.sourceforge.net/Memo/Options.xml
<?xml version="1.0" ?><Options><Option name="line1_font">None</Option><Option name="max_future">1.0</Option><Option name="set_program">gksu time-admin</Option><Option name="tip">%c</Option><Option name="line2">%x</Option><Option name="line1">%X</Option><Option name="time_format">digital</Option><Option name="line2_color">#000000</Option><Option name="line1_color">#000000</Option><Option name="max_visible">84.0</Option><Option name="line2_font">None</Option><Option name="main_sticky">False</Option></Options>dhp@moon-gen-3:~$
dhp@moon-gen-3:~$

Let's format this in a readable way:
<?xml version="1.0" ?>
<Options>
<Option name="line1_font">None</Option>
<Option name="max_future">1.0</Option>
<Option name="set_program">gksu time-admin</Option>
<Option name="tip">%c</Option>
<Option name="line2">%x</Option>
<Option name="line1">%X</Option>
<Option name="time_format">digital</Option>
<Option name="line2_color">#000000</Option>
<Option name="line1_color">#000000</Option>
<Option name="max_visible">84.0</Option>
<Option name="line2_font">None</Option>
<Option name="main_sticky">False</Option>
</Options>
Comment 9 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-07-17 16:08:44 UTC
Thank you, though I still have no idea why this would be happening.

Can you add the following lines to your Options.xml file just before the </options> tag, and try running Memo again, please, to see if you get the window:

  <Option name="systray_enable">False</Option>
  <Option name="systray_hide_on_startup">False</Option>
Comment 10 DEMAINE Benoît-Pierre, aka DoubleHP 2009-07-17 16:15:13 UTC
dhp@moon-gen-3:~$ locate Options.xml | grep home
/home/dhp/.rox_choices/Launch/Options.xml
/home/dhp/.rox_choices/NetStat/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=b0122b10b4bdf0848fda519ff10bc68fcc534a77/Mail/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=fcab409db9f527687c71c954b9b64d27bced57fc/Find/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=47a298a41e194011d3b22425b03f50347fa1c0c6/DownloadManager/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=56b9dee7bef8f9c4850abc9015f03d47fe877377/Volume/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=7d08520b3fd1693de539d2a532c66d3f44c87b30/Configure/Windows/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=7d08520b3fd1693de539d2a532c66d3f44c87b30/Configure/Keybindings/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=7d08520b3fd1693de539d2a532c66d3f44c87b30/Configure/Workspaces/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=250e4c05cbd10684dcc456aab52319071ceffb36/Memo/Options.xml
/home/dhp/.cache/0install.net/implementations/tmp-sXs36-/Menu/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=ecbcc84c5c0dc461ff1745eb5451fe5ca5aa0433/ROX-Session/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=ad4f10c268bce904eb470b9af8dead4451d42b23/ROX-Filer/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=650a307d52bf5f4fe7fd5d6b9da9abd3fa165be7/NetStat/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=572419f9d1e842fbd3552381a407538c4cbc2fa0/Fetch/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=0a7c28cacf82a4cbfe0742c0645fc6eba72342b7/Launch/Options.xml
/home/dhp/.cache/0install.net/implementations/tmp-mWMKud/Menu/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=424f32be29f3c7b40013c1563851e66a84c7d48a/Memo/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=d22a35871bad157e32aa169e3f4feaa8d902fdf2/ROX-Filer/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=9156006c249330d11c3f13b34abaa2ecc3b3cce6/Volume/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=7406e9e210bc6e2cd20735ee067a37a4089b18fe/Find/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=adb87fff4ba2266d0a66bd0fd34d9f0f94f67d1d/Volume/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=329e6c0191f65ef2996b49837d04c4cfe6934758/Edit/Options.xml
/home/dhp/.cache/0install.net/implementations/sha1=4fff9af2af35071d0ffabb0e37d25b3a7331eaea/Memo/Options.xml
/home/dhp/.config/rox.sourceforge.net/Memo/Options.xml
/home/dhp/.config/kerofin.demon.co.uk/VideoThumbnail/Options.xml
/home/dhp/.config/rox4debian.berlios.de/Weather/Options.xml
dhp@moon-gen-3:~$

which one ???
Comment 11 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-07-17 16:49:26 UTC
(In reply to comment #10)
> which one ???
 
Sorry, thought it would be obvious that I meant
  ~/.config/rox.sourceforge.net/Memo/Options.xml

since we're talking about the Memo application, and I had just asked you to post the contents of that file :)
Comment 12 DEMAINE Benoît-Pierre, aka DoubleHP 2009-07-17 16:55:33 UTC
Does not cost very much to check.

After adding what you said, the windows shows up.

Now, when I run the old /home/dhp/.bin/Rox-apps/Memo/AppRun  get:
systray_enable=False
systray_hide_on_startup=False
its harmless. And options remain in the file. Old Memo does not remove them.

Before I can consider this bug closed, we need the "official ebuild" to check if those options are in the conf, and if not, add them with the default values you gave me.

Thanks.
Comment 13 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-07-17 17:22:24 UTC
(In reply to comment #12)
> Before I can consider this bug closed, we need the "official ebuild" to check
> if those options are in the conf, and if not, add them with the default values
> you gave me.

Agreed.  Though I'm also curious why only e17 actually has this problem.  It implies that Memo thinks there is a systray and then somehow fails to actually create the systray icon.

If you have a chance, I'd appreciate a little more testing on your end.  Can you please try editing that same Memo/Options.xml file and changing:

 <Option name="systray_enable">False</Option>
 <Option name="systray_hide_on_startup">False</Option>

to:

 <Option name="systray_enable">True</Option>
 <Option name="systray_hide_on_startup">False</Option>

And then see if the problem still exists.
Comment 14 DEMAINE Benoît-Pierre, aka DoubleHP 2009-07-17 18:27:15 UTC
The problem may not be e17:
- i don't have systray at all; people usually use ibox, i hate it
- the issue could lay in the memorised options I made for Memo
- my X has "*many issues*"
- my user profile is >8 years old, and may contain "old things"
- my box always have "strange problems"

True => no window

The point where you could accuse e17 would be: memo asks to go in systray, and e17 does not refuse it ... unless e17 refuses it but memo does not listen for the refusal ...

You would have more chances testing this in a systray-less WM; maybe window maker or ion(2). I dont have them.
Comment 15 Pacho Ramos gentoo-dev 2013-06-21 09:42:01 UTC
What is the status of this with latest e17?
Comment 16 Pacho Ramos gentoo-dev 2013-08-23 10:50:53 UTC
(In reply to Pacho Ramos from comment #15)
> What is the status of this with latest e17?
Comment 17 DEMAINE Benoît-Pierre, aka DoubleHP 2013-10-08 16:23:41 UTC
I did not update E17 recently.