Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Linux: widths of toolbar items

Hello,

We have a long-standing problem that opening the Log window in SmartGit caused to hang with 100% CPU on Linux under special conditions. Now it could be narrowed by users to a screen scaling factor of 1.25.

After being able to reproduce and intensive debugging I've found out that this problem was also toolbar related. Setting a separator's width so the overall toolbar width came at ~1200 pixels at the wrong time (not yet visible) caused an endless loop of always the same event being received and processed. Unfortunately, I've did not yet succeeded in extracting a snippet to reproduce outside SmartGit. I just mention it because there is something really odd going on with toolbars and toolitem width on Linux.

--
Best regards,
Thomas Singer
=============
syntevo GmbH
http://www.syntevo.com
http://www.syntevo.com/blog


On 2017-02-24 20:31, Thomas Singer wrote:
Hello,

I've played a little bit with texts of toolbar items on Ubuntu 16.04 and
noticed some really unexpected behavior. Sometimes it looks like all
items are made as wide as the largest item, sometimes it looks like the
toolbar has some overall size that is distributed among the containing
items, sometimes the item's image was centered horizontally within the
item while the text was left-aligned. A real logic I haven't found out.

Please take a look at the screenshots I've added to following bug:

<https://bugs.eclipse.org/bugs/show_bug.cgi?id=512716>

illustrating one part of the problem.

I vaguely remember to have seen a similar problem years ago, where some
"key words" have increased the tool items significantly - I even thought
to have reported this bug, but could not find it again.

--
Best regards,
Thomas Singer
=============
syntevo GmbH
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top