[Users] GTK3 branch...
Pierre Fortin
pf at pfortin.com
Thu May 21 20:16:37 CEST 2020
On Thu, 21 May 2020 12:16:01 -0000 Paul wrote:
>See toolbar_create() in src/toolbar.c
I'm puzzled... still haven't found how CM3 is failing to display its
icons; but I've been sidetracked with CM3 somehow trying to access a
file it should not know about... it's almost as if CM3's
filesel_select_file_open_folder call is triggering a Linux library
security bug...
Besides never having changed themes, I don't have folder
/home/pfortin/usr/share/claws-mail/themes
HOWEVER... current tests are being run as user pierre (/home/pierre)...
I can't find any way this gets redirected from userid pierre to userid
pfortin (my main userid)...
I access pierre from pfortin via:
$ alias
[snip]
alias pierre='ssh pierre at localhost'
which gives:
$ printenv | grep pfortin
DISPLAY=prf.pfortin.com:14.0
HOSTNAME=prf.pfortin.com
userid pierre is mainly for mail with next to nothing else in it...
Every userid has its own group, so I don't see how this crossing of
userid boundaries can occur... Each userid is also in its own group...
$ ll -d /home/*/.claws-mail*
drwx------ 12 cm cm 4096 Feb 18 2016 /home/cm/.claws-mail/
drwx------ 15 pf2 pf2 4096 Nov 27 23:33 /home/pf2/.claws-mail/
drwx------ 8 pf3 pf3 4096 May 21 11:21 /home/pf3/.claws-mail/
drwx------ 11 pf pf 4096 Mar 11 09:05 /home/pf/.claws-mail/
drwx------ 21 pfortin pfortin 4096 May 21 13:10 /home/pfortin/.claws-mail/
drwx------ 8 pfortin pfortin 4096 May 21 11:43 /home/pfortin/.claws-mail3/
drwx------ 21 pierre pierre 4096 May 21 12:58 /home/pierre/.claws-mail/
drwx------ 9 pierre pierre 4096 May 21 12:56 /home/pierre/.claws-mail3/
drwx------ 11 root root 4096 Jan 22 2015 /home/ROOT/.claws-mail/
drwx------ 11 steve steve 4096 Oct 2 2019 /home/steve/.claws-mail/
So it makes no sense to me why CM3 is trying to access folder
/home/pfortin/usr/share/claws-mail/themes as seen in the following
debugs...
----------- userid pierre (accessed via above alias):
$ cm3 --debug | grep -v already | grep -E 'open|read'
(cm3:28333): dbind-WARNING **: 13:27:19.053: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
** Message: 13:27:19.193: filtering log enabled
stock_pixmap.c:769:skipping theme scan, dir /home/pfortin/usr/share/claws-mail/themes could not be opened: Error opening directory “/home/pfortin/usr/share/claws-mail/themes”: No such file or directory (4)
toolbar.c:774:read Toolbar Configuration from toolbar_main.xml
(cm3:28333): Gtk-WARNING **: 13:27:19.347: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)
(cm3:28333): Gtk-WARNING **: 13:27:19.347: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)
msgcache.c:787:done. (0 items read)
msgcache.c:818:reading swapped mark file.
msgcache.c:912:reading swapped tags file.
folder.c:2742:TIMING folder_item_read_cache : 0s000ms
Trying from another almost virgin userid:
---------- userid pf3 (no alias; accessed via "ssh pf3 at prf"):
$ cm3 --debug | grep -v already | grep -E 'open|read'
(cm3:15727): dbind-WARNING **: 13:38:50.647: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
** Message: 13:38:50.763: filtering log disabled
prefs_gtk.c:145:Finished reading configuration.
stock_pixmap.c:769:skipping theme scan, dir /home/pf3/.claws-mail/themes could not be opened: Error opening directory “/home/pf3/.claws-mail/themes”: No such file or directory (4)
stock_pixmap.c:769:skipping theme scan, dir /home/pfortin/usr/share/claws-mail/themes could not be opened: Error opening directory “/home/pfortin/usr/share/claws-mail/themes”: No such file or directory (4)
toolbar.c:774:read Toolbar Configuration from toolbar_main.xml
(cm3:15727): Gtk-WARNING **: 13:38:50.845: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)
(cm3:15727): Gtk-WARNING **: 13:38:50.845: Negative content width -3 (allocation 17, extents 10x10) while allocating gadget (node button, owner GtkButton)
On the other hand, CM2 tries to access /usr/local/share/claws-mail/themes which makes sense...
(from userid pierre)
$ cm2 --debug | grep -v already | grep -E 'open|read'
** Message: 14:06:21.500: filtering log enabled
stock_pixmap.c:773:skipping theme scan, dir /usr/local/share/claws-mail/themes could not be opened: Error opening directory “/usr/local/share/claws-mail/themes”: No such file or directory (4)
toolbar.c:774:read Toolbar Configuration from toolbar_main.xml
msgcache.c:787:done. (0 items read)
msgcache.c:818:reading swapped mark file.
msgcache.c:912:reading swapped tags file.
folder.c:2742:TIMING folder_item_read_cache : 0s000ms
Need a break from this... :)
Pierre
More information about the Users
mailing list