Clipped text on (application) menu [SOLVED]

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Post Reply
User avatar
mchandler
Level 1
Level 1
Posts: 18
Joined: Fri Feb 01, 2019 4:55 pm
Location: Colorado, USA

Clipped text on (application) menu [SOLVED]

Post by mchandler »

Has anyone noticed text getting clipped on the application menu? Any character with a descender (q,y,p) looks like it's cut off.

Screenshot (text is q u i p):
Screenshot from 2019-02-15 18-48-43.png
I have large text enabled in Accessibility > Visual and my system info is as follows:

Code: Select all

Kernel: 4.15.0-45-generic x86_64 bits: 64 compiler: gcc 
v: 7.3.0 Desktop: Cinnamon 4.0.9 wm: muffin dm: LightDM Distro: Linux Mint 19.1 Tessa 
base: Ubuntu 18.04 bionic 

Device-1: Intel driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5a85 
Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
resolution: 1920x1080~60Hz
Last edited by mchandler on Sat Feb 16, 2019 1:26 pm, edited 2 times in total.
User avatar
smurphos
Level 17
Level 17
Posts: 7332
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Clipped text on (application) menu

Post by smurphos »

That's a deficiency in your Desktop theme in that the search entry box doesn't expand for scaled fonts.

You can change this in your Themes GUI accessible from the menu.

The stock Cinnamon theme suffers the issue. The stock alternatives Linux-Mint, Mint-Y and Mint-X should be OK.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
User avatar
roblm
Level 13
Level 13
Posts: 4539
Joined: Sun Feb 24, 2013 2:41 pm

Re: Clipped text on (application) menu

Post by roblm »

Another solution is to increase the height of the Search window by editing the cinnamon.css file for the Cinnamon theme. First use this command in the Terminal to make a copy of that file:

Code: Select all

sudo cp /usr/share/cinnamon/theme/cinnamon.css /usr/share/cinnamon/theme/cinnamon.css.copy

Use this command to open the cinnamon.css file for editing:
xed admin:///usr/share/cinnamon/theme/cinnamon.css

In the Search > Find window, type: menu-search-entry {

Change the value of 15 to 18 in this line: height: 15px;

Save the file. Restart Cinnamon by pressing Alt+F2, type the letter R and press ENTER.
User avatar
smurphos
Level 17
Level 17
Posts: 7332
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Clipped text on (application) menu

Post by smurphos »

height: 1.5em; or similar 1+ em value is what it should really be in the first place to scale the box height with the font size...or a min-height...or not defined at all.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
User avatar
mchandler
Level 1
Level 1
Posts: 18
Joined: Fri Feb 01, 2019 4:55 pm
Location: Colorado, USA

Re: Clipped text on (application) menu

Post by mchandler »

smurphos wrote:
Sat Feb 16, 2019 3:44 am
That's a deficiency in your Desktop theme in that the search entry box doesn't expand for scaled fonts.

You can change this in your Themes GUI accessible from the menu.

The stock Cinnamon theme suffers the issue. The stock alternatives Linux-Mint, Mint-Y and Mint-X should be OK.
Thanks. Switching to the stock Linux Mint desktop fixed the issue.
Post Reply

Return to “Cinnamon”