Thunar right-click menu length

Message
Author
User avatar
timkb4cq
Developer
Posts: 3617
Joined: Wed Jul 12, 2006 4:05 pm

Re: Thunar right-click menu length

#21 Post by timkb4cq »

Code: Select all

sudo apt-get install gir1.2-gtk-3.0/buster libgtk-3-0/buster libgtk-3-common/buster gtk-update-icon-cache/buster
Is how to revert to the current version if you don't like the upgrade.
To test the upgrade add

Code: Select all

http://mxrepo.com/mx/repo/
temp
main
as a repository in Synaptic, Reload, Mark all updates, Apply.
Or you can add it manually

Code: Select all

deb http://mxrepo.com/mx/repo/ temp main
to /etc/apt/sources.list , check for updates and update.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Thunar right-click menu length

#22 Post by JayM »

I just tested this in a VirtualBox MX-19.1 installation. What I did was add

Code: Select all

#deb http://mxrepo.com/mx/repo/ temp main
to my /etc/apt/sources.list.d/mx.list (editing that file as root) then temporarily enabled it in MX Repo Manager, right-clicked on my MX Updater icon in the panel, checked for upgrades, applied them, then disabled the repo again in MX Repo Manager instead of leaving it permanently enabled (I'm paranoid about permanently enabling any kind of testing repos.)

My results, after logging out/in, is that I no longer get scrolling arrows when right-clicking on text files, most archives, directories, etc, but I do get them the first time I right-click on a music, image or video file, but if I dismiss the action menu and right-click on one of those files a second (third, fourth, etc.) time I no longer get them. This only works in my current login session though: if I log out or reboot the scroll arrows are back, only for files with certain mime types, and only the first time I right-click on them in that session.

It's way better than it was.

Edit: I also installed this on my production system just now, after having tested it in two VM installations of MX.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Thunar right-click menu length

#23 Post by JayM »

BTW, don't use my css hack, use Tim's solution instead. It turns out that GTK3 only supports a subset of css operands (or whatever they're called) and "auto" isn't one of them. That's probably why it didn't work reliably: it needs a number whether pixels or percentage. Anyway it was a (poor as it turns out) attempt at working around the problem which is how GTK-3.24.5 handles scrolling in and sizing of submenus which Tim found a (mostly-working) solution for that's a lot better. I can live with it. :happy:
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
radonrose
Posts: 182
Joined: Thu Dec 12, 2019 6:59 am

Re: Thunar right-click menu length

#24 Post by radonrose »

timkb4cq wrote: Thu Feb 27, 2020 2:46 pm I have rebuilt our GTK-3.0 3.24.5 with some relevant changes pulled from 3.24.7. It improves the Thunar right-click menu issue quite a lot although it's still not quite perfect. I don't believe these changes will affect anything else. So far it hasn't on my install, but the only way to know for sure is to test it a while.

It's currently available in the temp repo if you want to test it. 64bit only for now and it's the only thing in that repo so you can just update.

Code: Select all

http://mxrepo.com/mx/repo/  temp  main
Don't forget you have reboot (or at least log out & back in) for Thunar to use the new libs because it installs itself as a persistent daemon when started.
Works well so far; everything adjusts to content. How do I know when to disable the temp repo? Is it when 3.24.7 is available in the regular main repo?
AND1s, tuna, blast processing.
Αν δε βρίσκεις αυτό που ψάχνεις στα Ελληνικά, στείλε μου μήνυμα. Ίσως μπορώ να βοηθήσω.

User avatar
timkb4cq
Developer
Posts: 3617
Joined: Wed Jul 12, 2006 4:05 pm

Re: Thunar right-click menu length

#25 Post by timkb4cq »

I would disable it right away after updating.
Packages in the temp repo are there temporarily. It was used for the first tests of the updated systemd earlier this month and may switch to something else as needed. If I figure out what's causing the remaining glitches I'll make sure to announce it here.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
oops
Posts: 1985
Joined: Tue Apr 10, 2018 5:07 pm

Re: Thunar right-click menu length

#26 Post by oops »

... Cool, tested here too, and it is better too ... but more testing is needed.

Code: Select all

geany /etc/apt/sources.list &
# then add:
deb http://mxrepo.com/mx/repo/ temp main
#...
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils MX Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19-23_x64 & antiX23_x32 runit

User avatar
tascoast
Posts: 508
Joined: Sat Aug 06, 2011 4:58 am

Re: Thunar right-click menu length

#27 Post by tascoast »

I'll keep an eye on progress as I noticed the Thunar context menu abbreviation/scrolling recently on two different machines /HDD installs.
I've removed Panel padding to resolve tool-tip and Notification Area icon rendering.
VLC's failure to close unless via menu and exit entry is my only other glitch in MX-19.
Inspiron 15 5000-5593- (i7-1065G7) MX 23..2 AHS/MX-21//W10 - Lenovo ThinkCentre A58 4GBRAM (64-bit), MX-23.2/MX21.3./antiX 23/Mint 21.3, Ubuntu 22.04.4, openSUSE Tumbleweed,

User avatar
nraygun
Posts: 133
Joined: Tue Jul 16, 2019 5:02 pm

Re: Thunar right-click menu length

#28 Post by nraygun »

I added the temp repo and updated/upgraded and I still get part of the issue.
I now get a scroll arrow at the bottom of the list instead of at the top and bottom of context menus.
But if I right click a different file (like a directory) that doesn't have as many options, then go back to say, a text file, there are no scroll arrows.

It's getting there, but not quite fixed.

Any further updates on the problem and a possible permanent fix? I'm concerned that I'll click the wrong thing as a result of these scroll arrows.

User avatar
yonosoyesa
Posts: 10
Joined: Wed May 11, 2016 2:47 am

Re: Thunar right-click menu length

#29 Post by yonosoyesa »

Unfortunately the solution presented in this thread doesn't work very well for my needs. This bug is so annoying that I went back to MX 18.3 in my productive computer.

I hope Debian team or Gnome team resolve the issue before MX 18 support ends. :-)

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Thunar right-click menu length

#30 Post by JayM »

yonosoyesa wrote: Sun Apr 05, 2020 6:56 pm Unfortunately the solution presented in this thread doesn't work very well for my needs. This bug is so annoying that I went back to MX 18.3 in my productive computer.

I hope Debian team or Gnome team resolve the issue before MX 18 support ends. :-)
If anybody figures this out it'll probably be the MX team.
timkb4cq wrote: Fri Feb 28, 2020 8:39 am If I figure out what's causing the remaining glitches I'll make sure to announce it here.
The patch works, but not the first time you right-click on a particular file or folder. You have to right-click on it a second time to be rid of the scroll arrows. Maybe a timing issue of some sort?
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

Post Reply

Return to “Software / Configuration”