Background color not working

Discuss the spreadsheet application
Post Reply
Perplexed
Posts: 4
Joined: Thu Oct 31, 2019 7:21 pm

Background color not working

Post by Perplexed »

I cannot get the background color function to work at all on spreadsheet. It works fine on writer.

If I copy some letters with background from writer and paste into spreadsheet, I get only the letters-no color.
If I use keys like "control", "Alt", "system", it highlights the cell black but still no background color.
I tried the format cell dialog box, no luck there either.

I just downloaded 4.1.7, same thing, no luck.

Any ideas please?
OpenOffice 4.1.7 on windows10
User avatar
Lupp
Volunteer
Posts: 3756
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: background color not working

Post by Lupp »

Calc spreadsheets simply don't support a character property for coloring the background. The spreadsheet cell itself supports a respective property for its area.

Texportions in Writer support the property .CharBackColor . TextTable cells can have colored areas. You need to set the color via the Table Properties dialog.

The color you defined this way should also copy paste to a spreadsheet if you copy complete cell ranges (may consist of a single cell explicitly selected). (I only tested with LibreOffice. Behavior should be the same.)
On Windows 10: LibreOffice 25.8.4 and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
Perplexed
Posts: 4
Joined: Thu Oct 31, 2019 7:21 pm

Re: Background color not working

Post by Perplexed »

Thanks so much for the reply,,, however,,,, I still cant get it to work..? Im 95% sure I did what you described.
OpenOffice 4.1.7 on windows10
User avatar
Lupp
Volunteer
Posts: 3756
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Background color not working

Post by Lupp »

Have a look into the attached documents.

The target:
aoo99853targetsheet.ods
(11.93 KiB) Downloaded 171 times
The source:
aoo99853sourcetext.odt
(28.5 KiB) Downloaded 139 times
On Windows 10: LibreOffice 25.8.4 and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
Perplexed
Posts: 4
Joined: Thu Oct 31, 2019 7:21 pm

Re: Background color not working

Post by Perplexed »

Thanks Lupp.

Attached is how those docs look on my machine.

I assume they both had color on your end? Not mine, which causes me to think perhaps something on my machine has a conflict????
My first guess is some software which is Java based..??? Or bluetooth perhaps?
Attachments
support  OpenOffice.jpg
OpenOffice 4.1.7 on windows10
User avatar
Hagar Delest
Moderator
Posts: 33633
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Background color not working

Post by Hagar Delest »

Can you upload a sample file (see: How to attach a document here)? It sounds rather weird.
 Edit: I had read to fast the previous post. Hadn't seen that it was the result with the attachments from Lupp. 
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
User avatar
Lupp
Volunteer
Posts: 3756
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Background color not working

Post by Lupp »

My example documents were made with AOO 4.1.5 and the .ods (freshly downloaded from my above post) still opens and displays correctly (including the colors) in that version.

Therefore I have to suspect AOO V4.1.7 (your version) has a regression bug concerning the way it reads/writes spreadsheet CellBackColor from/to the .ods files.

What happens if you color some cells directly and save/reload the file?
If that works for you, reopen the original download example, color cell D12 (only!), save the .ods file, and attach it to your next post as our basis for further research.

If you don't shy away from the task, you may also downgrade to AOO V 4.1.6 or 4.1.5 for your testing. If the example thn shows as it does for me, you will have also excluded the very faint possibility of your system (Win?) interfering with the document.
On Windows 10: LibreOffice 25.8.4 and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
User avatar
Zizi64
Volunteer
Posts: 11505
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Background color not working

Post by Zizi64 »

you may also downgrade to AOO V 4.1.6 or 4.1.5 for your testing.
There are Portable versions for trying - if you want not prompt uninstall the latest version.
https://portableapps.com/apps/office/op ... e_portable
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
RoryOF
Moderator
Posts: 35210
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Background color not working

Post by RoryOF »

The two documents opened correctly for me on OO4.1.7 running on Xubuntu 18.04.3 Perhaps a reset of the User Profile might help?
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
User avatar
DiGro
Posts: 224
Joined: Mon Oct 08, 2007 1:31 am
Location: Hoorn NH, The Netherlands

Re: Background color not working

Post by DiGro »

The two documents opened correctly for me on OO4.1.7
Same here on AOO4.1.7 and Win 10
____________
DiGro

AOO 4.1.16 (Dutch) on Windows 11 64-bit. Scanned with Ziggo Safe Online (F-Secure)
User avatar
Hagar Delest
Moderator
Posts: 33633
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Background color not working

Post by Hagar Delest »

Perplexed wrote:I just downloaded 4.1.7, same thing, no luck.
I understand that you were using a former version before.
For the record, the attachments from Lupp work fine on my portable version 4.1.5 (Windows 10), I get the colors in the ods.
Resetting the profile may indeed help.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
Perplexed
Posts: 4
Joined: Thu Oct 31, 2019 7:21 pm

Re: Background color not working

Post by Perplexed »

Thanks for all the above helpful comments,
Yes, that is correct Hagar, I did upgrade to see if that would solve the problem.
I also reset the profile, as suggested, , by renaming the old file, then start the program, but still no change.

I did notice while reading instructions, that open office is not 64bit based yet...??
I do have 64 bit OS and Processor. Could that have anything to do with it?

As the problem is minor, I dont want to do too much to my PC to solve it, but if anything simple pops up, that would be great.
OpenOffice 4.1.7 on windows10
User avatar
Hagar Delest
Moderator
Posts: 33633
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Background color not working

Post by Hagar Delest »

There is no 64bit version on Windows and it works fine nonetheless.
Very strange. No feature for high contrast? Couldn't explain why it would impact Calc and not Writer.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
User avatar
Zizi64
Volunteer
Posts: 11505
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Background color not working

Post by Zizi64 »

I did notice while reading instructions, that open office is not 64bit based yet...??
There is 64 bit version of the LibreOffice for Windows.

Try it, at least a portable version of the LO to see: if it works fine or not on your PC, in same environment.
There are winPenPack and PortableApps versions available.
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Post Reply