English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 08 June 2021, 05:10   #1
Warty
Registered User
 
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
AmigaOS 3.2 TextEdit - black text on black background?

Anybody else getting this? Or know how to adjust palette to fix it?

Installed 3.2 over 3.1.4, just running in UAE so far. with NTSC 8 or 16 color screen, when I open TextEdit, the tab contents are black on black. If I type some text, amiga-A or select with mouse, I can see the text there inversed. So not frozen or anything like that.

Palette has light gray for background, text black. color 0 is light gray, 1 is black, 3 is another gray, 4 is blue. If I modify color 1 so it's dark red: the text in TextEdit is now dark red, but the background is black. This is with 16 colors. If I switch to 8 colors, quit and restart TextEdit, I'll get red text with dark gray background. In other words, color 1 as text, and color 5 as background.

It doesn't appear to be reading the prefs for "dark edges" (the only WB pref I have set to color 5 dark gray. I changed dark edges to be white, restarted TextEdit, and still got dark gray.

A3000, FS-UAE, Kick 3.1 rom (will try with 3.2 in a bit), no graphics card simulated.
Warty is offline  
Old 08 June 2021, 05:22   #2
Warty
Registered User
 
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
I get same results with 3.2 ROM.

Also same effect with 4 colors and 2 colors in ScreenMode.
Warty is offline  
Old 08 June 2021, 14:22   #3
Tigerskunk
Inviyya Dude!
 
Tigerskunk's Avatar
 
Join Date: Sep 2016
Location: Amiga Island
Posts: 2,770
Have you tried setting one of the 'themes' in the palette prefs menu?
I had all kinds of weird colors as well in my apps before I set one of these ('ice' in my case).
Tigerskunk is offline  
Old 08 June 2021, 15:34   #4
Warty
Registered User
 
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
oh, this is kind of weird. So, using the presets works.

Modifying my own color palette to match the preset also works.

But here's the weirdness (all below in 4 color mode):
if color 0 (which I have background assigned to) is 13/12/12 or 13/13/12, TextEdit picks color 3 as the background (in this setup, blue, so black text on blue background)
if color 0 is 12/12/12, TextEdit uses color 0 as the background (desired behavior)
if color 0 is 13/13/13 or 13/12/13 TextEdit uses color 1 as the background (which I am using for text, so I get black-on-black)

I am saving colors in palette and restarting TextEdit on each change.

It's reproducible, at least on my emulated machine.
Warty is offline  
Old 08 June 2021, 15:38   #5
bubbob42
Registered User
 
Join Date: Oct 2012
Location: Germany
Posts: 585
This problem is known; you’ll also observe it with RAWBInfo’s tooltype text gadget.
bubbob42 is offline  
Old 08 June 2021, 15:56   #6
boemann
Camilla, AmigaOS Dev.
 
Join Date: Mar 2020
Location: Frederiksberg
Posts: 327
Thanks for the detailed descriptions - I'll try it out tonight - i fear it may require a new version of texteditor.gadget to fix - so meanwhile please work around it with different palettes - sorry for the inconvenience
boemann is offline  
Old 08 June 2021, 16:01   #7
Warty
Registered User
 
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
No worries Boemann! I'm still amazed I can file a bug report and someone looks at it. <Salute>

Is there a particular forum or post that the team would prefer to see bug reports?
Warty is offline  
Old 08 June 2021, 17:30   #8
boemann
Camilla, AmigaOS Dev.
 
Join Date: Mar 2020
Location: Frederiksberg
Posts: 327
Okay I've had a look and it is not encouraging

What texteditor uses for background is reaction half-light if set or otherwise background

The text color should never be anything but what the user chooses

half light is 300/256 times background (done individually for r,g,b). Unfortunately it seems there is an overflow error, so values 13,14 or 15 will wrap around to 0,1,2

so 13/13/12 will be 0,0,14 making aka blue
and 13/13/13 will be 0,0,0 aka black
and 13/12/13 will be 0,14,0 aka green

intuition will try and allocate these colors or the closest it can get which sort of explains the results you are seeing.

So bottom line is don't use background color with more than 12 (217 for AGA or RTG) in any of the color components. I'll make sure to have a fix for 3.2.1

Last edited by boemann; 08 June 2021 at 18:01.
boemann is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
AmigaOS 3.2 + A600 + Furia + Indivision ECS v2 = black screen ugrnm support.Hardware 26 01 November 2021 21:48
FS-UAE 2.83 + AmigaOS 4.1 = Black Screen D1mch support.FS-UAE 12 16 September 2020 19:49
Amiga 500 - black background in Workbench moochamerth support.Hardware 7 17 February 2018 19:36
[Found: Black Lamp] Game with "Greensleeves" as the background music Jonathan Drain Looking for a game name ? 2 14 February 2010 06:39
Black background for disk scans for HOL! Codetapper HOL suggestions and feedback 11 26 March 2003 08:59

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:58.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.31105 seconds with 13 queries