Bug 124735 - My Wish is Possibility to set the Backgroundcolor for the Tab-Pages in a Tab-Page-Container
Summary: My Wish is Possibility to set the Backgroundcolor for the Tab-Pages in a Tab-...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
6.2.1.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-14 13:57 UTC by Juergen Klatt
Modified: 2019-08-07 11:04 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Basic-Macro that creates a Dialog (11.48 KB, application/vnd.oasis.opendocument.text)
2019-04-14 13:57 UTC, Juergen Klatt
Details
tabbed Pages -- Description and Screenshots (40.00 KB, application/vnd.oasis.opendocument.text)
2019-06-29 20:21 UTC, Juergen Klatt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Klatt 2019-04-14 13:57:06 UTC
Created attachment 150747 [details]
Basic-Macro that creates a Dialog

My Wish is Possibility to set the Backgroundcolor 
for the Tab-Pages in a Tab-Page-Container.

Have a look at my Basic-Programm in my example file.

Best Regards

Juergen
Comment 1 Xisco Faulí 2019-05-02 10:50:59 UTC
Hello,
Please use http://ask.libreoffice.org/ for questions.
Closing as RESOLVED NOTABUG
Comment 2 Juergen Klatt 2019-05-02 13:28:22 UTC
Hello  Xisco Faulí,

that‘s rigth. It isn‘t a Bug. But I have a wish.
according to:
<qoute> 
https://www.libreoffice.org/get-help/feedback/
File an enhancement request
Missing a feature or thinking of a new feature that would make LibreOffice even better than it is today? Let us know!
So I select under „Severity =  enhancement“.
<\qoute>

I my Example-Makro, I set the Backgroundcolor to the TabPageModel.
I never will do this in my Programs, but I‘m missing the Property „Backgroundcolor“ for the Tabpages itself. In my Dialogs it looks sometimes a little strange, when I set a other BG-Color for the Dialog and the Tabpages always colored in white.
At the moment there is no way to change this. MRI and XRAY don‘t list a BG-Color for the Tabpages, only the TabpageModel have this Property.

Best Regards

Juergen
Comment 3 Xisco Faulí 2019-06-27 16:35:35 UTC
Could you please check bug 123175 to see if it's the same issue ?
Comment 4 Juergen Klatt 2019-06-29 20:21:46 UTC
Created attachment 152470 [details]
tabbed Pages -- Description and Screenshots

Hello Xisco Faulí,
a) 
At first, I have thougth it is the same issue with the Background-Color, but it is‘nt.
The difference is, the Command-Button-Model and the  Command-Button itself, 
have the Backgroundcolor Property, you can see the BG-Color only in the Dialog-Designer, in that Moment the Command-Button is drawn and the Property is set by the Property-Sidebar. 
But if you run the Code or the Dialog-Preview, the BG-Color of the Command-Button disappears. 
Maybe you can see a very thin colored border. 
It seems, like the color is being overlaid by a label (the Textlabel). 

b)
It isn‘t possibel to draw a Tabpage-Control in the Basic-Ide. 
There is no Symbol to click and draw it  in the Dialog-Designer. 
So I always code it „on the fly“. Everything works fine, 
but I miss the Background Color property for the TabPages. 

In my new Attachment I inserted a Despription and some Screenshots.

I tested a) and b) with:
Windows 10 Pro 1903 (18362.175)

Version: 6.2.3.2 (x64)
Build-ID: aecc05fe267cc68dde00352a451aa867b3b546ac
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: CL

Version: 6.3.0.0.beta2+ (x64)
Build ID: f4d2e17c89a7c1b789aa824e1b26748a985872ea
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:libreoffice-6-3, Time: 2019-06-29_12:15:07
Locale: de-DE (de_DE); UI-Language: en-US
Calc: CL

-----------------------------

1) 
The Background Color Property for the TabPages in both LibO-Versions are not available.

2) 
The issue with the CommandButton is fixed in v6.3. Looks very good. Thank you!

Best Regards

Juergen Klatt
Comment 5 QA Administrators 2019-06-30 02:51:32 UTC Comment hidden (obsolete)
Comment 6 Xisco Faulí 2019-08-06 14:48:56 UTC
@Caolán, I thought you might be interested in this issue...
Comment 7 Xisco Faulí 2019-08-06 14:49:23 UTC Comment hidden (obsolete)
Comment 8 Caolán McNamara 2019-08-07 11:04:44 UTC
https://opengrok.libreoffice.org/xref/core/toolkit/source/controls/tabpagecontainer.cxx?r=cf07303e#49 has...

ImplRegisterProperty( BASEPROPERTY_BACKGROUNDCOLOR );

while https://opengrok.libreoffice.org/xref/core/toolkit/source/controls/tabpagemodel.cxx?r=cf07303e#50 doesn't

its possible that adding that line there will make the property available, though whether that actually would give the desired behaviour is an exercise for someone else brave to explore