Project

General

Profile

unexist.dev

subtle

Assorted tidbits and projects

Bug #304

Strange spacing for sublets

Added by René Neumann over 11 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Urgent
Category:
Bugfix
Target version:
Start date:
09/22/2012
Due date:
% Done:

0%

Estimated time:
0.00 h

Description

It seems like the spacing of sublets is sometimes calculated in a strange way. For example the clock is not shown completly (see http://data.necoro.eu/subtle_spacing.png ). On different resolutions I have to experiment with different min_width values to get it working -- but this is not the way it should be, as the panel is empty...

Configuration attached.

Btw - the clock is also cut off, if the tray is populated...

subtle.rb (24.1 KB) subtle.rb René Neumann, 09/22/2012 12:24 AM

History

#1 Updated by Christoph Kappel over 11 years ago

Tried this specific font in any other window? subtle uses the font metrics to define width and it works with almost all fonts. It just fails when the font specs are kind of broken.

#2 Updated by René Neumann over 11 years ago

It seems like the problem is triggered when a sublet (here 'clock') uses a font different from the rest.

For example when I defined the font to be "Arial-8" for style :all and then explicitly set the font for the clock to be "Arial Black-8", parts of the clock vanished.

(This is just an example and not my real usage. But I expect the Arial family to be non-broken and they differ enough to show the error.)

#3 Updated by Christoph Kappel over 6 years ago

  • Target version set to Omicron

#4 Updated by Christoph Kappel over 6 years ago

  • Assignee set to Non member users
  • Status changed from Unconfirmed to Fixed
  • Category set to Bugfix

Well, I cannot see and x-offset problems here in the current version. There was still a y-offset problem, when the fonts of panel items differs.

Also available in: Atom PDF