Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Cocoa-based progress bars, system colors, inactive windows
Cocoa-based progress bars, system colors, inactive windows
 
   NeoOffice Forum Index -> NeoOffice Testing
View previous topic :: View next topic  
Author Message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Aug 21, 2013 12:15 pm    Post subject: Cocoa-based progress bars, system colors, inactive windows

As part of our plans to use Cocoa instead of the Apple's deprecated HITheme functions, I have reimplemented NeoOffice's native progress bars, system colors, and controls in inactive windows.

Specifically, the test patches below include the following 3 changes:

1. Cocoa-based progress bars - If there are no bugs, you should see no changes.

2. Cocoa-based system colors - You should see no changes when running on Mac OS X 10.6 Snow Leopard. However, if you are running Mac OS X 10.7 Lion or higher, you should see 2 changes:
  • The text in a selected tab will be white instead of black
  • The background color for the selected item in a context menu will be set to same color as selected items in the Mac OS X menubar
3. Cocoa-based inactive controls - Previously, when a NeoOffice window was not the active window, all native controls in that window would be drawn as disabled. Now you should see such controls drawn as enabled but without any of highlight coloring.

Can anyone install either of the following test patches and tell us if progress bars, system colors, or controls in inactive windows appear to be drawn incorrectly?:

NeoOffice 3.3:
http://juliette.neooffice.org/test/NeoOffice-3.3-Patch-9-Test-3-Intel.dmg

NeoOffice 2013:
http://juliette.neooffice.org/test/NeoOffice-2013-Test-3-Intel.dmg

Patrick
Back to top
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Wed Aug 21, 2013 3:50 pm    Post subject:

I've downloaded NeoOffice 3.3 Patch 9 Test 3.

A very quick test shows that your item two seems to display as you describe.

The progress bar on launch looks the same as it always did, but I'll try to produce some others tomorrow.

I'm not sure which windows I need to have open to produce item 3. Sorry!

Yours,

Andy
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Aug 21, 2013 7:04 pm    Post subject:

amayze wrote:
I'm not sure which windows I need to have open to produce item 3. Sorry!


The attached screen snapshots will hopefully illustrate what to look for.

In the first snapshot, the Tools :: Options menu's dialog is the active window and so selected controls like the "Printer" radio button and "Transparency" checkbox are drawn with the system highlight color.

In the second snapshot, the same dialog is inactive (I clicked on another application's window). The "Printer" radio button and the "Transparency" checkbox are not drawn like the disabled "High print quality" radio button but are, instead, drawn enabled without the system highlight color.

Patrick
Back to top
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Thu Aug 22, 2013 2:00 am    Post subject:

Thanks, Patrick.

That's such a subtle change, I doubt I would have noticed it without your screen shots. I see the same thing.

I'll keep looking for any anomalies over the next few days.

Andy
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Sep 23, 2013 2:01 pm    Post subject:

FYI. I have included the new code in NeoOffice 3.3 Patch 10. The patch can be downloaded from the NeoOffice patch download page.

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Testing All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.