Bug 110557 - korganizer->configure->time&date: Window has unusable width - more than 2000 pixel.
Summary: korganizer->configure->time&date: Window has unusable width - more than 2000 ...
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Reinhold Kainhofer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-11 10:01 UTC by Thomas Steudten
Modified: 2008-11-17 21:17 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
KOrganizer_TimeZoneCombo.png (79.99 KB, image/png)
2005-08-11 18:57 UTC, Reinhold Kainhofer
Details
picture left half (54.18 KB, image/png)
2005-08-12 22:13 UTC, Thomas Steudten
Details
picture right half (20.00 KB, image/png)
2005-08-12 22:14 UTC, Thomas Steudten
Details
Window if timezone button is selected (198.65 KB, image/png)
2005-08-12 22:14 UTC, Thomas Steudten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Steudten 2005-08-11 10:01:44 UTC
Version:            (using KDE KDE 3.4.2)
OS:                Linux

Reproducible bug:
The configure window for configure->time&date is very large - i think due to the timezone options-button.
Seems that a timezone-name is very long.
The new window if pressed the timezone button, fullfills the whole screen - so it is unusable, no choice can be made.

Solution: limit the name of the timezone, use smaller window to choose timezone settings.
Comment 1 Reinhold Kainhofer 2005-08-11 15:39:02 UTC
Can you please find out which timezone is the problem? 

Cheers,
Reinhold
Comment 2 Thomas Steudten 2005-08-11 18:32:44 UTC
Hi

Today I trace the korganizer. ok, the problem is not the length of the zonename, instead the number of entries to choose.
If you have more than 200 entries in /usr/share/zoneinfo/zone.tab (for FC4 it's the package tzdata) the selection window is very big. one column is ok, 3 gives you trouble and more than 6 columns - this means about 6x54 entries in zone.tab - gives big trouble.
However, I think it's a problem in the binding of this button to the left or to the right - you see that this button gets bigger at about 3 columns. Or a problem in the QT Library for this type of selection.

Reproduce:
Add package tzdate or add about 300 entries to zone.tab.

Solution:
1. Keep the button the same size
2. Create Subselection windows for more than 3 columns width windows.
Comment 3 Reinhold Kainhofer 2005-08-11 18:57:23 UTC
On Thursday 11 August 2005 18:32, Thomas Steudten wrote:
> Today I trace the korganizer. ok, the problem is not the length of the
> zonename, instead the number of entries to choose. If you have more than
> 200 entries in /usr/share/zoneinfo/zone.tab (for FC4 it's the package
> tzdata) the selection window is very big. one column is ok, 3 gives you
> trouble and more than 6 columns - 


Hmm, what do you mean by columns? Here my korganizer's config dialog has a 
combo box, which doesn't have multiple columns... See the attached 
screenshot.

> this means about 6x54 entries in zone.tab 
> - gives big trouble. 
> However, I think it's a problem in the binding of this 
> button to the left or to the right - you see that this button gets bigger
> at about 3 columns. Or a problem in the QT Library for this type of
> selection.
>
> Reproduce:
> Add package tzdate or add about 300 entries to zone.tab.


My zone.tab has 385 entries, and I don't have a problem.


> Solution:
> 1. Keep the button the same size
> 2. Create Subselection windows for more than 3 columns width windows.


There should only be one column used by the combo box. It will scroll if there 
are more entries.

Can you please use ksnapshot to make a screenshot of the dialog and the combo 
box?

Thanks,
Reinhold


Created an attachment (id=12177)
KOrganizer_TimeZoneCombo.png
Comment 4 Thomas Steudten 2005-08-12 22:13:48 UTC
Created attachment 12200 [details]
picture left half
Comment 5 Thomas Steudten 2005-08-12 22:14:12 UTC
Created attachment 12201 [details]
picture right half
Comment 6 Thomas Steudten 2005-08-12 22:14:52 UTC
Created attachment 12202 [details]
Window if timezone button is selected
Comment 7 Thomas Steudten 2005-08-12 22:16:10 UTC
Hi

Sure, you're box looks good. A scrollbar has only the work from- to selection,
not this window. 
korganizer --version
Qt: 3.3.4
KDE: 3.4.2-0.fc4.1 Red Hat
KOrganizer: 3.4.2
 
See screenshoots.
Comment 8 Reinhold Kainhofer 2005-08-12 22:40:26 UTC
Ah, thanks, that seems to be a problem with your widget style. Which style do you use? (See the "Appearance & Themes" -> "Style" section in the control center)


Cheers,
Reinhold
Comment 9 Thomas Steudten 2005-08-15 14:13:00 UTC
It's gnome. Bluecurve-Tangerine. Window border crux.
Comment 10 Thomas Steudten 2005-08-25 10:31:12 UTC
with style keramik the window looks fine, like yours. How can we fix the other bug? Please check your widgets/gadgets with "korganizer --style bluecurve".
Thanks.
Comment 11 Reinhold Kainhofer 2005-08-26 23:12:00 UTC
That's a bug in the widget style, which obviously isn't able to cope with combo boxes with lots of entries. Please report that bug as a bug in the widget style to whoever wrote that style (bluecurve is not one of the styles that are developed by the KDE project, but as far as I remember, by Redhat as part of their "corporate identify"ing KDE and gnome to a similar look). 

KOrganizer relies on the widget style to behave properly also for extreme cases like this.

Cheers,
Reinhold
Comment 12 Artur R. Czechowski 2007-03-03 23:48:27 UTC
This bug still exists in some styles. How can I check where I should submit a bug to the style? The one I am using is Motif.
Comment 13 Olivier Vitrat 2007-03-05 15:06:18 UTC
This bug should not be closed. Please reopen.
Comment 14 Reinhold Kainhofer 2007-03-05 16:49:25 UTC
Ah, thanks for the hint that the problem appears in the motif style. The real problem is that that style does not properly handle combo boxes with hundreds of entries...
I'm able to reproduce the bug with
  korganizer --style motif
now. If you display the combo box contents, it doesn't fit on the screen, so there is another problem with the style: How can you select some entry from the end of the list???

Cheers,
Reinhold
Comment 15 Artur R. Czechowski 2007-03-05 18:30:31 UTC
> If you display the combo box contents, it doesn't fit on the screen, so there is another problem with the style: How can you select some entry from the end of the list??? 
I do not do that :) As far as I remember I set the proper value before I set my widget style to Motif. Or perhaps it was just copied from my global KDE settings. I really cannot remember :)

On the other hand, as far as I remember the original Motif worked this way. The question is: should the KDE style copy that behavior for sake of compatibility or should KDE have this tyle working in the userfriendly manner. I prefer the last option :)

And the problem is stil open for other styles. I checked all styles available in my default installation (KDE 3.5.5 from Debian unstable) without additional themes. Affected by this problem are: CDE, Motif, Motif Plus and SGI.

Best regards
    Artur
Comment 16 Christophe Marin 2008-11-17 21:17:36 UTC
Resolved in KDE4 even if I test with the "motif" style. Closing.