You are not logged in.

#1 2018-05-13 05:51:21

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,550
Website

[RESOLVED]Erratic folder icons

hhh wrote:

https://cdn.scrot.moe/images/2018/05/12/Screenshot_2018-05-11_18-25-01.th.png
The scrot shows a bug in the Paper icon theme (maybe? Or in tint2?) where Paper is confused as to which folder icon to use for tint2. I've even seen no icon displayed. They should all look like the second one down.

I was getting the same problem on Hydrogen/Jessie, but it's reappeared on Helium/Stretch. Folder/Thunar icons in tint2 are sometimes wrong, and sometimes just missing.

It's a sporadic issue, so hard to track down, but it might be a bug with the Bunsen-Paper icon theme, or Paper icon theme (which ours inherits), or Thunar, or Tint2. Trying other icon themes, or file managers, or panels should pin it eventually.

One thing to try if anyone notices this happening: use Alt+Tab and see what icon is being displayed in the popup window. If it's the same as in tint2 then it's not tint2's fault.

Last edited by johnraff (2018-05-17 10:31:35)


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#2 2018-05-13 07:47:24

unklar
Member
Registered: 2015-10-31
Posts: 722

Re: [RESOLVED]Erratic folder icons

John, it's not tint2  smile
In both installations (386 and amd64) the display is correct.

2018-05-13-09-36-21_scrot.th.png

Offline

#3 2018-05-13 08:56:32

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,550
Website

Re: [RESOLVED]Erratic folder icons

johnraff wrote:

use Alt+Tab and see what icon is being displayed in the popup window. If it's the same as in tint2 then it's not tint2's fault.

The bug showed up soon enough:
R39u0eTm.png
See the folder icons at the bottom left? One is a generic folder, but the other is a "home" icon, even though the file manager is in "git". The Alt+Tab popup shows the correct icons.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#4 2018-05-13 21:42:09

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [RESOLVED]Erratic folder icons

Does this problem occur if the bl-tint2-session abstraction is removed and replaced with a straight `tint2 -c /path/to/configuration_file` call instead?

Perhaps replace the other bl- abstractions also.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#5 2018-05-13 22:12:25

hhh
Dr. Lecter? Dr. Lecter?
Registered: 2015-09-17
Posts: 5,733
Website

Re: [RESOLVED]Erratic folder icons

Other icon sets like Gnome and Faenza work fine, I think the fault is Paper's. I'll submit a bug there and see what his response is...

https://github.com/snwh/paper-icon-theme/issues/666

Well, there's your answer... The Beast is causing it. wink

I'll try xfce4-panel and see if it happens there too.

Offline

#6 2018-05-13 22:29:54

hhh
Dr. Lecter? Dr. Lecter?
Registered: 2015-09-17
Posts: 5,733
Website

Re: [RESOLVED]Erratic folder icons

WFM using xfce4-panel, so maybe it is tint2...

Screenshot_2018-05-13_18-25-40.th.png

Using this panel seems to have cured another bug I've seen where a terminal window will open behind another window (and do it's alert red-flash border thing) if there is another terminal already open.

Offline

#7 2018-05-14 03:00:46

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,550
Website

Re: [RESOLVED]Erratic folder icons

hhh wrote:

another bug I've seen where a terminal window will open behind another window (and do it's alert red-flash border thing) if there is another terminal already open.

I've sometimes got this when opening Thunar - when Firefox is open, the new Thunar window opens behind. Only occasionally though.

Are you using the default Stretch tint2? Maybe upgrading to the backports version will fix these - haven't tried that yet.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#8 2018-05-14 04:49:47

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,550
Website

Re: [RESOLVED]Erratic folder icons

BTW

Head_on_a_Stick wrote:

Does this problem occur if the bl-tint2-session abstraction is removed and replaced with a straight `tint2 -c /path/to/configuration_file` call instead?

Yes. (tested)
Damo's tint2 manager is just a convenience for handling multiple tint2 profiles; tint2 is ultimately launched the same way.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#9 2018-05-14 05:04:24

ohnonot
...again
Registered: 2015-09-29
Posts: 3,051
Website

Re: [RESOLVED]Erratic folder icons

hhh wrote:

Other icon sets like Gnome and Faenza work fine, I think the fault is Paper's. I'll submit a bug there and see what his response is...

https://github.com/snwh/paper-icon-theme/issues/666

Well, there's your answer... The Beast is causing it. wink

I'll try xfce4-panel and see if it happens there too.

some people don't take well to being presented with a link instead of a problem description.
maybe, in addition to what you already put there, you could put together the most relevant bits from this thread and post them there?

Offline

#10 2018-05-14 05:05:52

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,550
Website

Re: [RESOLVED]Erratic folder icons

johnraff wrote:

Are you using the default Stretch tint2? Maybe upgrading to the backports version will fix these - haven't tried that yet.

Now running tint2 16.2-1+deb9 and the issue seems to have gone away.

A case for moving that package from backports to our default repo? (It supports some new syntax in our tint2rc also.) It would be an exception to our Debian-Stable-by-default rule though.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#11 2018-05-14 20:48:34

hhh
Dr. Lecter? Dr. Lecter?
Registered: 2015-09-17
Posts: 5,733
Website

Re: [RESOLVED]Erratic folder icons

@ohnonot, good idea, I've added a summary there.

Offline

#12 2018-05-15 00:31:10

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,550
Website

Re: [RESOLVED]Erratic folder icons

But anyway, it looks very much as if the issue was with tint2, not the icon theme - or at least a combination of the two.
It seems fixed by a tint2 upgrade from the BL stretch-backports. Anyone confirm this?


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#13 2018-05-15 02:14:39

hhh
Dr. Lecter? Dr. Lecter?
Registered: 2015-09-17
Posts: 5,733
Website

Re: [RESOLVED]Erratic folder icons

johnraff wrote:

It seems fixed by a tint2 upgrade from the BL stretch-backports. Anyone confirm this?

I'll give that a "Yes" vote...

Screenshot_2018-05-14_22-08-24.th.png

rachel@TyrellCorp:~$ apt-cache policy tint2
tint2:
  Installed: 16.2-1+deb9
  Candidate: 16.2-1+deb9
  Version table:
 *** 16.2-1+deb9 100
        100 http://pkg.bunsenlabs.org/debian stretch-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     0.12.12-3 500
        500 https://deb.debian.org/debian stretch/main amd64 Packages
rachel@TyrellCorp:~$

I'll close the bug at GitHub for now, we should leave this thread for a week or so and then label it RESOLVED if there are no more reports.

I haven't gotten any unfocused terminal windows so far, either. smile

Offline

#14 2018-05-15 07:42:26

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,550
Website

Re: [RESOLVED]Erratic folder icons

Just had a Thunar window opening under Firefox, and earlier something under leafpad, so that might be an unrelated issue, maybe openbox, or the individual apps?


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#15 2018-05-15 19:35:51

hhh
Dr. Lecter? Dr. Lecter?
Registered: 2015-09-17
Posts: 5,733
Website

Re: [RESOLVED]Erratic folder icons

Try using xfce4-panel or lxpanel for a while and see if it happens.

It might have to do with the icon size setting in tint2. With the backport version, I haven't had it happen yet, but I'm not using our default tint2 and I playing with icon size before the upgrade at least fixed my issue of no Thunar icon appearing.

Offline

#16 2018-05-16 06:16:06

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,550
Website

Re: [RESOLVED]Erratic folder icons

I don't really see how a window stacking issue could be the fault of the panel, though.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#17 2018-05-16 15:16:47

hhh
Dr. Lecter? Dr. Lecter?
Registered: 2015-09-17
Posts: 5,733
Website

Re: [RESOLVED]Erratic folder icons

Me neither. smile But so far no issues with xfce4-panel. I'll post if I can reproduce with this panel or lxpanel (installing it now...)

Offline

#18 2018-05-16 21:30:18

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,029

Re: [RESOLVED]Erratic folder icons

You aren't getting any ~/.xsession-error spam when this happens? I get this GDK warning all the time:

(bl-file-manager:2160): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

In order to troubleshoot, I would tail -f ~/.xsession-errors for a bit and see if it throws that warning when the icons disappear. Unfortunately, I have moved off of Thunar and back to pcmanfm for a bit because Thunar likes to lock up when an editor opens a temporary file in the working directory that Thunar is pointing too, so it might be difficult for me to diagnose, although the above-mentioned ~/.xsession-error spam continues, even with pcmanfm installed (the whole locking up thing doesn't happen with pcmanfm though).

Offline

#19 2018-05-17 01:20:14

hhh
Dr. Lecter? Dr. Lecter?
Registered: 2015-09-17
Posts: 5,733
Website

Re: [RESOLVED]Erratic folder icons

(bl-file-manager:2160): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

A reported bug, and the dev is stubbornly marking it Won't Fix. Delete the two Paper 512x512 folders and the errors stop.

I haven't investigated if it's pertinent to the issues in this thread.

Offline

#20 2018-05-17 01:27:22

hhh
Dr. Lecter? Dr. Lecter?
Registered: 2015-09-17
Posts: 5,733
Website

Re: [RESOLVED]Erratic folder icons

I think this is actually a fairly minor bug. It would be nice if our defaults worked perfectly, and I think we should keep striving for that, but changing the icon theme, and the other themes and the wallpaper, is encouraged.

https://forums.bunsenlabs.org/viewtopic.php?id=1996
https://forums.bunsenlabs.org/viewforum.php?id=8

Offline

#21 2018-05-17 01:36:10

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 510

Re: [RESOLVED]Erratic folder icons

hhh wrote:
(bl-file-manager:2160): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

A reported bug, and the dev is stubbornly marking it Won't Fix. Delete the two Paper 512x512 folders and the errors stop.

I haven't investigated if it's pertinent to the issues in this thread.

Those are really huge icons and I can't see why the need for such large icons unless using a HiDPI screen.


Real Men Use Linux

Offline

#22 2018-05-17 01:58:23

hhh
Dr. Lecter? Dr. Lecter?
Registered: 2015-09-17
Posts: 5,733
Website

Re: [RESOLVED]Erratic folder icons

We do offer an HiDPI theme-set OOTB. Those are warnings, they won't hurt anything except for slowly making the errors file larger. There's a way to lock the .xsession-errors file so it won't grow, but I can't remember how ATM. Also, I don't get those errors using xfce4-panel.

~/.xsession-errors ...

Xsession: X session started for rachel at Wed May 16 21:47:41 EDT 2018
localuser:rachel being added to access control list
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
OpenGL version: 2.
dbus-update-activation-environment: setting USER=rachel
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting HOME=/home/rachel
dbus-update-activation-environment: setting DESKTOP_SESSION=lightdm-xsession
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-BrJZTqzPnr,guid=c959184d7fec00c3726c70695afcdf3e
dbus-update-activation-environment: setting QT_QPA_PLATFORMTHEME=gtk2
dbus-update-activation-environment: setting LOGNAME=rachel
dbus-update-activation-environment: setting PATH=/home/rachel/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=lightdm-xsession
dbus-update-activation-environment: setting XAUTHORITY=/home/rachel/.Xauthority
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/rachel
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting GDMSESSION=lightdm-xsession
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting PWD=/home/rachel
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
export DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-BrJZTqzPnr,guid=c959184d7fec00c3726c70695afcdf3e'
export DESKTOP_SESSION='lightdm-xsession'
export DISPLAY=':0'
export GDMSESSION='lightdm-xsession'
export GPG_AGENT_INFO='/run/user/1000/gnupg/S.gpg-agent:0:1'
export HOME='/home/rachel'
export LANG='en_US.UTF-8'
export LOGNAME='rachel'
export PATH='/home/rachel/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'
export PWD='/home/rachel'
export QT_ACCESSIBILITY='1'
export QT_LINUX_ACCESSIBILITY_ALWAYS_ON='1'
export QT_QPA_PLATFORMTHEME='gtk2'
export SHELL='/bin/bash'
export SSH_AGENT_PID='690'
export SSH_AUTH_SOCK='/tmp/ssh-qnSI9jKdmJ8h/agent.640'
export USER='rachel'
export XAUTHORITY='/home/rachel/.Xauthority'
export XDG_GREETER_DATA_DIR='/var/lib/lightdm/data/rachel'
export XDG_RUNTIME_DIR='/run/user/1000'
export XDG_SEAT='seat0'
export XDG_SEAT_PATH='/org/freedesktop/DisplayManager/Seat0'
export XDG_SESSION_DESKTOP='lightdm-xsession'
export XDG_SESSION_ID='2'
export XDG_SESSION_PATH='/org/freedesktop/DisplayManager/Session0'
export XDG_SESSION_TYPE='x11'
export XDG_VTNR='7'
/usr/bin/bl-tint2restart: no tint2 processes running
xfce4-panel: Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
conky: desktop window (96) is root window
conky: window type - desktop
conky: drawing to created window (0x2400001)
conky: drawing to double buffer
conky: forked to background, pid is 769


(xfce4-panel:757): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

(xfce4-panel:757): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

(xfce4-panel:757): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

(xfce4-panel:757): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

(xfce4-panel:757): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

(xfce4-panel:757): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

(xfce4-panel:757): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

(firefox:1543): GLib-GIO-WARNING **: /home/rachel/.local/share/applications/defaults.list contains a [Added Associations] group, but it is not permitted here.  Only the non-desktop-specific mimeapps.list file may add or remove associations.

(bl-file-manager:2312): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

(bl-file-manager:2312): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

(xfce4-panel:757): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

(xfce4-panel:757): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

(bl-file-manager:2312): GLib-GIO-WARNING **: /home/rachel/.local/share/applications/defaults.list contains a [Added Associations] group, but it is not permitted here.  Only the non-desktop-specific mimeapps.list file may add or remove associations.

I'm going to remove references to 512x512 icons from Paper's index.theme and try again.

Offline

#23 2018-05-17 02:00:02

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,550
Website

Re: [RESOLVED]Erratic folder icons

The "erratic folder icons" issue hasn't shown up once for me since upgrading tint2.
Can I mark the title [resolved] and open a new topic on whether to use the backports tint2 by default or not?

Other issues are distractions IMO and should be the topics of new threads if important enough  - for example the window stacking thing.

Otherwise, what posters are talking about when they say "this bug" is not absolutely clear.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#24 2018-05-17 02:13:50

hhh
Dr. Lecter? Dr. Lecter?
Registered: 2015-09-17
Posts: 5,733
Website

Re: [RESOLVED]Erratic folder icons

Absolutely. I haven't had any issues either, and the Gdk warning messages are harmless. @johnraff, do the honors, I'm seeing a (weather) storm here, exciting!

Offline

#25 2018-05-17 10:31:01

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,550
Website

Re: [RESOLVED]Erratic folder icons

Window stacking bug report: https://forums.bunsenlabs.org/viewtopic.php?id=4824

Tint2 upgrade suggestion: https://forums.bunsenlabs.org/viewtopic.php?id=4825

Last edited by johnraff (2018-05-17 10:36:57)


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

Board footer

Powered by FluxBB