You are not logged in.

#1 2017-10-28 18:32:27

spsf64
Member
From: FL, US or SP, BR
Registered: 2012-05-18
Posts: 100
Website

SOLVED: pango updte breaks File Managers ability to shorten file names

pango1.40.13 update breaks File Managers ability to shorten file names
If you have file with a VERY long name, with this update, thunar cannot shorten the name in icon view.
It will increase the icon spacing to accommodate the file name in a single line...
Downgrading the package to 1.40.12 fixes the problem.
Is this a thunar problem or it is related to pango?
TIA

Edit: change the subjetc from "thunar" to "File Managers" because other users reported same issue

Last edited by spsf64 (2017-10-31 20:39:37)


Sergio S.

Offline

#2 2017-10-28 18:42:30

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

Try to reproduce the issue with some other file manager that depends on pango. If you are unable to reproduce it, then perhaps it's a compatibility issue between thunar and the latest pango.

Offline

#3 2017-10-28 18:53:46

spsf64
Member
From: FL, US or SP, BR
Registered: 2012-05-18
Posts: 100
Website

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

x33a wrote:

Try to reproduce the issue with some other file manager that depends on pango. If you are unable to reproduce it, then perhaps it's a compatibility issue between thunar and the latest pango.

Thanks for the quick reply, just tested with nemo/cinnamon, same issue...
Probably a problem with pango?
Anyone else can confirm this, so we can file a bug report?


Sergio S.

Offline

#4 2017-10-28 19:34:27

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

Can confirm with Nemo.

Offline

#5 2017-10-28 19:38:59

pulp
Member
Registered: 2010-07-22
Posts: 5

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

Same with Nautilus

Offline

#6 2017-10-29 01:04:50

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

I can reproduce the issue with thunar, but nautilus works as it should...

EDIT. I suppose it's worth mentioning I'm on wayland, where nautilus runs natively, while thunar is run via Xwayland. I can't test nautilus on X at this second, but it seems that native wayland gtk3 applications wouldn't have this issue.

Last edited by ooo (2017-10-29 01:10:58)

Offline

#7 2017-10-29 01:30:15

Pastah
Member
Registered: 2017-04-16
Posts: 41

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

I wrote a bug on this already, but I just noticed that this does not only happen in Thunar.
https://bugs.archlinux.org/task/56147

I updated my system via "sudo pacman -Syu", rebooted, then installed discord and libc++ via AUR. When I opened Thunar, I saw the icons are not filling out columns and rows for most folders, only for Home. Thunar didn't display files in a single column like this before the update, this is when you view files as icons. This also happens in Nautilus and Nemo. I believe the long filenames are creating this issue. Again, this didn't happen before the update.

https://bugs.archlinux.org/task/56147?getfile=15810

https://bugs.archlinux.org/task/56147?getfile=15811

https://bugs.archlinux.org/task/56147?getfile=15813

Edit: https://bbs.archlinux.org/viewtopic.php?pid=1745681
Just downgraded to pango-1.40.12-1-x86_64.pkg.tar.xz and it fixed my issue.

Last edited by Pastah (2017-10-29 02:10:05)

Offline

#8 2017-10-29 01:58:32

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

I can confirm the bug with spacefm as well (gtk3).

Offline

#9 2017-10-29 02:01:20

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

See https://bbs.archlinux.org/viewtopic.php?id=231332

Also, please change your pictures to thumbnails or links, since they are too large to be allowed by the code of conduct.

Offline

#10 2017-10-29 02:03:54

Pastah
Member
Registered: 2017-04-16
Posts: 41

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

Confirmed the bug:

Pastah wrote:

I wrote a bug on this already, but I just noticed that this does not only happen in Thunar.
https://bugs.archlinux.org/task/56147

I updated my system via "sudo pacman -Syu", rebooted, then installed discord and libc++ via AUR. When I opened Thunar, I saw the icons are not filling out columns and rows for most folders, only for Home. Thunar didn't display files in a single column like this before the update, this is when you view files as icons. This also happens in Nautilus and Nemo. I believe the long filenames are creating this issue. Again, this didn't happen before the update.

https://bugs.archlinux.org/task/56147?getfile=15810

https://bugs.archlinux.org/task/56147?getfile=15811

https://bugs.archlinux.org/task/56147?getfile=15813

EDIT: Just downgraded to pango-1.40.12-1-x86_64.pkg.tar.xz and it fixed my issue.

Last edited by Pastah (2017-10-29 02:09:40)

Offline

#11 2017-10-29 02:04:37

Pastah
Member
Registered: 2017-04-16
Posts: 41

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

circleface wrote:

See https://bbs.archlinux.org/viewtopic.php?id=231332

Also, please change your pictures to thumbnails or links, since they are too large to be allowed by the code of conduct.

Ugh...how do you thumbnail?

Offline

#12 2017-10-29 02:14:26

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

The forum itself does not support thumbnailing, so the only way I know to do it is to edit the image first.  But links are just as useful, so I usually just do that.

Last edited by circleface (2017-10-29 02:16:24)

Offline

#13 2017-10-29 03:19:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

Merging with existing thread.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#14 2017-10-29 08:18:45

Milos_Rootsman
Member
Registered: 2015-09-29
Posts: 1

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

Can confirm for PcManFm.

Offline

#15 2017-10-29 15:07:55

Serioga
Member
Registered: 2017-05-25
Posts: 4

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

Same here. Thunar and PCManFM.

Offline

#16 2017-10-29 15:09:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

Yes, we have established it affects all of them. Stop empty posting: https://wiki.archlinux.org/index.php/Co … mpty_posts


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#17 2017-10-29 17:29:41

loqs
Member
Registered: 2014-03-06
Posts: 17,328

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

PKGBUILD with bad commit reverted

# $Id$ 
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=pango
pkgver=1.40.13+1+g5769000d
pkgrel=1
pkgdesc="A library for layout and rendering of text"
url="https://www.pango.org/"
arch=(i686 x86_64)
license=(LGPL)
depends=(libthai cairo libxft harfbuzz)
makedepends=(harfbuzz fontconfig cairo libxft libthai gobject-introspection help2man gtk-doc git meson)
checkdepends=(ttf-dejavu cantarell-fonts)
_commit=377b6e7e853a05715e1a53f0739042eb23418da7  # tags/1.40.13^0
source=("git+https://git.gnome.org/browse/pango#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  mkdir build
  cd $pkgname
  git revert --no-edit c4619480e536e393e2d4a8e26a6ceb5af1fe80e3
}

build() {
  cd build
  arch-meson ../$pkgname -Denable_docs=true
  ninja
}

check() {
  cd build
  meson test
}

package() {
  cd build
  DESTDIR="$pkgdir" ninja install
}

commit causing the issue was a fix for https://bugzilla.gnome.org/show_bug.cgi?id=788115 unclear if change it is intended behavior or not.

Online

#18 2017-10-30 02:50:36

Hacksaurus_Babu
Member
Registered: 2017-01-21
Posts: 106

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

I have noticed the same behavior with Thunar, and I'm also noticing also weird affects on lightdm-gtk-greeter
Can someone confirm this behavior?

Offline

#19 2017-10-30 07:21:14

trytipARCH
Banned
Registered: 2017-06-05
Posts: 38

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

Hacksaurus_Babu wrote:

I have noticed the same behavior with Thunar, and I'm also noticing also weird affects on lightdm-gtk-greeter
Can someone confirm this behavior?

i just noticed when i logoff, the clock in not in middle like before and also the shut OFF button is gone.  what other effects are you experiencing?

Offline

#20 2017-10-30 07:26:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: SOLVED: pango updte breaks File Managers ability to shorten file names


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#21 2017-10-30 17:59:32

trytipARCH
Banned
Registered: 2017-06-05
Posts: 38

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

jasonwryan wrote:

you're no Anarchist that's fer sure. the man tried to hit 2 birds with one stone, take that stick out you'ss and don't micromanage something that doesn't need managing.

Last edited by trytipARCH (2017-10-30 18:02:15)

Offline

#22 2017-10-30 18:05:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: SOLVED: pango updte breaks File Managers ability to shorten file names


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#23 2017-10-30 20:13:11

loqs
Member
Registered: 2014-03-06
Posts: 17,328

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

Fixed in pango 1.40.13-2.

Online

#24 2017-10-31 01:03:35

Hacksaurus_Babu
Member
Registered: 2017-01-21
Posts: 106

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

I believe that this thread can be  fclosed now, the new pango release seems to completely fix this bug. It also seems that the lightdm problem was not caused by pango, but by a separate update that needs to be addressed in another thread.

Offline

#25 2017-10-31 01:08:57

loqs
Member
Registered: 2014-03-06
Posts: 17,328

Re: SOLVED: pango updte breaks File Managers ability to shorten file names

Hacksaurus_Babu wrote:

I believe that this thread can be  fclosed now, the new pango release seems to completely fix this bug.

Threads are normally marked as SOLVED by prepending [SOLVED] to the title by editing the first post, 
it is up to spsf64 as the thread starter to decide if the issue is solved for them and marked the topic as such.

Online

Board footer

Powered by FluxBB