date and time overlap

Bug #1625680 reported by Oliver R. on 2016-09-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
In Progress
xfce4-datetime-plugin (Ubuntu)

Bug Description

After installing Linux Mint 18 Xfce 64 bit (before: LM 13 32 bit), the date and time strings in the datetime plugin overlap (see screenshot, also for the settings). This is independent of the selected font and sizes.

xfce4-datetime-plugin 0.6.2-2ubuntu2
xfce4-panel 4.12.0-3ubuntu2

Any fix or workaround?

Having a short look at the code, maybe there has been a change in gtk_box?

Created attachment 2540
Time value is wrapped so it is really hard to read

On a horizontal small panel (18px) the datetime plugin wraps the time value
onto a new line when the format is "Date, then time". This looks weird and
makes it pretty much impossible to read, I would prefer to have both the date
and the time on the same line. Maybe this could be a preference.

See the attached screenshot.

Using 0.6.1 on Ubuntu Jaunty with Xfce 4.6.0.

Mass-reassign all bugs from florian@ to goodies-dev@, thanks for the maintenance work! (and sorry for the bugmail spam..)

I'm thinking about a "Side by side" checkbox in Layout section.
Once this option has been properly setup in preferences dialog, I need to define how to handle this here:

Currently what happens is:
  Horizontal/deskbar mode:
    Box is vertical
    Label is horizontal
  Vertical mode:
    Box is horizontal
    Label is vertical

If this side-by-side option is turned on, I guess this is what should happen:
  Horizontal/deskbar mode:
    Box is *horizontal*
    Label is horizontal
  Vertical mode:
    Box is horizontal
    Label is vertical

Is that fine?

Fine about:

> Horizontal/deskbar mode:
> Box is *horizontal*
> Label is horizontal

I wonder why the label is ever vertical? Even on a vertical panel it should be horizontal, IMO.

In my vertical panel, I use the clock plugin in the Analog mode because its Digital mode also displays the time vertically which doesn't make any sense to me and is unusable.
Attached is a screenshot showing the Digital mode of the Clock plugin as well as the Datetime plugin in a vertical panel. Both times are hard to read.

Created attachment 5980
Times of Clock(above)/Datetime(below) in a vertical panel

In , Hjudt-l (hjudt-l) wrote :

The HIG for panel plugins specify that it should be that way, and most plugins have been following those guidelines now:

I don't say the HIG is wrong, I personally just don't understand why it is preferably in general to have the labels vertically.
There might be valid usecases though.

Of course, displaying the labels vertically is easier as there is always enough space, displaying labels horizontally in a vertical panel is not that easy because the horizontal space is very limited. Still I guess most people can read horizontally more easy than vertically :).

By the way, the sensors plugin displays its labels horizontally and this is fine.

Making this configurable could be an easy solution.

In , Hjudt-l (hjudt-l) wrote :

Well, I didn't say the HIG is not not wrong. Personally, I do not use vertical mode exactly because of this, and also because the deskbar mode is much more useful on widescreen monitors anyway. Yet, most plugins have been changed to use vertical labels in vertical mode, so that all look similar. In fact, that was the one valid reason IMO for this change. You may want to discuss this on the mailing list. It is certainly a valid topic for other panel plugins too.

Created attachment 5982

I have implemented a preliminary version of this on:

Note that this fork includes the implementation of Bug 9487.

Screenshot attached shows the results. But the on deskbar mode things are messy.
I'll fix this as soon as possible, meanwhile I'd like to hear what you guys think about it.

@André: the horizontal version looks fine to me. Great!

@Harald: you are right. This is sort of off-topic here and we should discuss this rather on the mailing list. I will start a thread about it some time soon.

Oliver R. (oliverr) wrote :
Changed in xfce4:
importance: Unknown → Medium
status: Unknown → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.