View Issue Details

IDProjectCategoryView StatusLast Update
0002295CCdcielGeneralpublic20-03-03 10:09
Reporterhan Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version1.0 
Summary0002295: tabs in menu "preferences" are moving around depending on the selection
DescriptionIn menu preferences, the location of the tabs is flexible making it very difficult to systematic check the menus. The tabs move around and don't have a fixed position. Would suggest to keep them at a fixed place.

note, the "temperature compensation" has been moved to tab #sequences. In the documentation i have added a link under #focus and # autofocus making it easier to find them. The link goes to #sequence but maybe should go directly to "Focuser temperature compensation"
TagsNo tags attached.

Activities

Patrick Chevalley

20-03-02 15:17

administrator   ~0006359

Thank you for the change in the documentation.
I have changed the link to go directly to "Focuser temperature compensation", this required to change this to a subtitle with ===

This moving tabs is how multi-line tabs work on Windows. ASTAP Stack tabs do the same If you reduce the window width so the tabs show on three lines.
On Linux Gtk2 or Mac Cocoa multi-line tabs are not supported so they are all aligned on one row but the inconvenience is you must scroll them to show all.

Maybe a better solution is to align the tabs vertically on the left? I try to see how this look.

han

20-03-02 15:29

reporter   ~0006360

In the past this moving this didn't happen. There are more tabs now. If the window is wider and the tabs are in one row it doesn't happen. Maybe you can force one line of tabs. Yesterday (2:00 am) I saw three lines of tabs.

Patrick Chevalley

20-03-02 15:29

administrator   ~0006361

Too bad, the tabs on the left work as expected on Linux but on Windows it draw the same moving mess with vertical text :(
I search for other solution.

Patrick Chevalley

20-03-02 15:30

administrator   ~0006362

Yes, I think as long there is only to rows of tabs the position is consistent.

han

20-03-02 15:31

reporter   ~0006363

For pagecontrol1 it is multiline=false.

han

20-03-02 15:33

reporter   ~0006364

that's wrong, only for the caption

han

20-03-02 15:35

reporter   ~0006365

pagecontrol.options,nboMultiLine:=false works here.

Patrick Chevalley

20-03-02 15:40

administrator   ~0006366

Yes with nboMultiLine:=false this work the same as with Linux.
But I have a preference for a solution that can show all the tabs at once.
Maybe just hide the tabs and add some speedbutton on the left to select the pages?

han

20-03-02 15:48

reporter   ~0006367

An other option is to make the window.width by default wider. A value of maybe 1200 pixels will do.

han

20-03-02 16:09

reporter   ~0006368

Yes width=1200 works but doesn't look nice. An optional nboMultiLine setting at tab preferences? Or save the width of the f_option form. As soon the user makes it wider preserve that width......

han

20-03-02 16:21

reporter   ~0006369

Noted that the Lazarus IDE itself has nboMultiLine:=false
Difficult decision. A speedbutton is maybe too much different from the standard interface. My personal preference would to set nboMultiLine:=false and preserve the f_option.width in the settings. So no new menu options since there are probably already too many.

Patrick Chevalley

20-03-02 17:10

administrator   ~0006370

nboMultiLine:=false and enlarging the window make many control to look very strange.

I implement the change with the SpeedButton to have a easy Down property, and for me this look good, similar to the interface we see in many applications. I also do the same for the device setup. I thing this make much more easy to have an overview of the available settings.
See screenshot.

The implementation is very simple:
https://github.com/pchev/ccdciel/commit/36ddfcc2bed4f70370d195603126746e3adbe285#diff-68b1a9dafbc37a0a9c4da2f09dd57e63

I still have to test on the Mac.
tabs_left.png (24,862 bytes)   
tabs_left.png (24,862 bytes)   

han

20-03-02 17:42

reporter   ~0006371

Last edited: 20-03-02 18:00

Looks excellent! In principle you have build vertical tabs.

I always found the option "all configurations" in CDC very elegant and accessible making many other menus redundant.

Patrick Chevalley

20-03-02 18:16

administrator   ~0006372

Thank you.
Yes I like the TreeView in CdC but this is much more complicate to implement and the number of options here do not justify this interface.

I like how it is now and will redo the screenshot for the documentation.

Patrick Chevalley

20-03-03 10:09

administrator   ~0006373

I added two button with arrow on top and bottom for navigation in the pages. And also the capability to scroll the option list with the mouse wheel.

Issue History

Date Modified Username Field Change
20-03-02 02:45 han New Issue
20-03-02 15:17 Patrick Chevalley Assigned To => Patrick Chevalley
20-03-02 15:17 Patrick Chevalley Status new => assigned
20-03-02 15:17 Patrick Chevalley Target Version => 1.0
20-03-02 15:17 Patrick Chevalley Note Added: 0006359
20-03-02 15:29 han Note Added: 0006360
20-03-02 15:29 Patrick Chevalley Note Added: 0006361
20-03-02 15:30 Patrick Chevalley Note Added: 0006362
20-03-02 15:31 han Note Added: 0006363
20-03-02 15:33 han Note Added: 0006364
20-03-02 15:35 han Note Added: 0006365
20-03-02 15:40 Patrick Chevalley Note Added: 0006366
20-03-02 15:48 han Note Added: 0006367
20-03-02 16:09 han Note Added: 0006368
20-03-02 16:21 han Note Added: 0006369
20-03-02 17:10 Patrick Chevalley Note Added: 0006370
20-03-02 17:10 Patrick Chevalley File Added: tabs_left.png
20-03-02 17:42 han Note Added: 0006371
20-03-02 18:00 han Note Edited: 0006371
20-03-02 18:16 Patrick Chevalley Status assigned => resolved
20-03-02 18:16 Patrick Chevalley Resolution open => fixed
20-03-02 18:16 Patrick Chevalley Note Added: 0006372
20-03-03 10:09 Patrick Chevalley Note Added: 0006373