Clipped text on (application) menu [SOLVED]

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
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 LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
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 15
Level 15
Posts: 5939
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 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
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.
Locked

Return to “Cinnamon”