Window doesn't update in Windows under high contrast mode #42545

Closed
opened 2014-11-08 22:52:49 +01:00 by Aaron Carlisle · 33 comments
Member

System Information
Windows 8.0 Intel Graphics 4600

Blender Version
Broken: 2.72b
Worked: (optional)

Short description of error
Using this high contrast theme will cause blender to not open correctly and will not take commands for the mouse or keyboard

Exact steps for others to reproduce the error

  1. Use the attached theme for windows
  2. Open Blender
**System Information** Windows 8.0 Intel Graphics 4600 **Blender Version** Broken: 2.72b Worked: (optional) **Short description of error** Using this high contrast theme will cause blender to not open correctly and will not take commands for the mouse or keyboard **Exact steps for others to reproduce the error** 1. Use the attached theme for windows 2. Open Blender
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @Blendify

Added subscriber: @Blendify

#53492 was marked as duplicate of this issue

#53492 was marked as duplicate of this issue

#45799 was marked as duplicate of this issue

#45799 was marked as duplicate of this issue
Author
Member

sorry forgot to attach the theme{F122778}

sorry forgot to attach the theme{[F122778](https://archive.blender.org/developer/F122778/Blue.deskthemepack)}

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2014-11-09 15:19:58 +01:00

Please do not use third-party windows themes with Blender, many of them are known to 'hack' into windows and hence to break Blender, which also needs access to the GPU (unlike most applications).

Please do not use third-party windows themes with Blender, many of them are known to 'hack' into windows and hence to break Blender, which also needs access to the GPU (unlike most applications).
Author
Member

Mont29,
The attached theme is not a third party theme it is simply a high contrasts theme that I have saved into a file. So I know that it is not hacking my computer. However I do not know if turning on high contrast will disable some gpu functions such as OpenGL. I will Research and if I find anything i will reopen this bug.

Mont29, The attached theme is not a third party theme it is simply a high contrasts theme that I have saved into a file. So I know that it is not hacking my computer. However I do not know if turning on high contrast will disable some gpu functions such as OpenGL. I will Research and if I find anything i will reopen this bug.
Author
Member

Alright so I did some research and apparently when you turn on high contrast it disables desktop window manager. However there should be a possibility that it could be coded around.

I found this out from this forum
http://en.sfml-dev.org/forums/index.php?topic=12101.0

Alright so I did some research and apparently when you turn on high contrast it disables desktop window manager. However there should be a possibility that it could be coded around. I found this out from this forum http://en.sfml-dev.org/forums/index.php?topic=12101.0
Author
Member

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

Added subscribers: @MartijnBerger, @Sergey

Added subscribers: @MartijnBerger, @Sergey

Martijn, Sergey, is this considered a bug? I don’t think so, but…

Martijn, Sergey, is this considered a bug? I don’t think so, but…
Bastien Montagne removed their assignment 2014-11-09 18:14:13 +01:00

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Seems this effects other opengl apps (C4d, MSI, Sculptris) - https://forum-en.msi.com/index.php?topic=170408.0 - http://en.sfml-dev.org/forums/index.php?topic=12101.5;wap2 - http://www.zbrushcentral.com/showthread.php?176768-Sculptris-and-Windows-8-problem - http://www.eightforums.com/customization/21955-classic-theme-windows-8-a-2.html#post295785 Looks like there isn't any known workarounds
Author
Member

Update:
Blender will not work if you turn on high contrast then open Blender. However if you open Blender then turn on high contrast it will work.

Update: Blender will not work if you turn on high contrast then open Blender. However if you open Blender then turn on high contrast it will work.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2014-11-14 09:32:16 +01:00

I do not see the point in keeping this open much longer, we cannot do anything about it currently, this sounds like MS bug to me anyway.

I do not see the point in keeping this open much longer, we cannot do anything about it currently, this sounds like MS bug to me anyway.

Added subscribers: @JulianEisel, @jameswilddev

Added subscribers: @JulianEisel, @jameswilddev
Campbell Barton changed title from Blender not responding to commands to Window doesn't update in Windows under high contrast mode 2015-08-19 08:43:20 +02:00

Added subscriber: @RandomShaper

Added subscriber: @RandomShaper

While contributing to another OSS project afflicted of the same, I found the cause for this and the solution.

As Microsoft explains in a document about compatibility with high contrast themes for Windows 8 and up the executable manifest must have certain items.

I applied those changes to the manifest of the application I'm contributing to and now it renders perfectly under a high contrast theme, when it did not show anything before the change.

I have just registered on this platform just to let you know this since as a recent Blender user I'd like a lot to be able to work with it under HC.

Regards!

While contributing to another OSS project afflicted of the same, I found the cause for this and the solution. As Microsoft explains in [a document about compatibility with high contrast themes ](https://msdn.microsoft.com/en-us/library/windows/desktop/hh404233(v=vs.85).aspx#_______supporting_high_contrast_themes_in_windows_8_and_later) for Windows 8 and up the executable manifest must have certain items. I applied those changes to the manifest of the application I'm contributing to and now it renders perfectly under a high contrast theme, when it did not show anything before the change. I have just registered on this platform just to let you know this since as a recent Blender user I'd like a lot to be able to work with it under HC. Regards!

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

@RandomShaper, thanks for the heads up.

Could you link to the commit that resolved the issue for the other application?

@RandomShaper, thanks for the heads up. Could you link to the commit that resolved the issue for the other application?

Of course!

[[ 85a5290ee8 ]]

Of course! [[ https://github.com/godotengine/godot/pull/5364/commits/85a5290ee8a4c95be19f086181379330baf0deed ]]

For a quick test create a blender.manifest file at the Blender installation directory with this content:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
        <security>
            <requestedPrivileges>
                <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
            </requestedPrivileges>
        </security>
    </trustInfo>
    <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
        <application>
            <!-- Windows 10 -->
            <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
            <!-- Windows 8.1 -->
            <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
            <!-- Windows 8 -->
            <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
            <!-- Windows 7 -->
            <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
            <!-- Windows Vista -->
            <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
        </application>
    </compatibility>
</assembly>

Now, as long as the manifest tool is in the PATH:

mt -manifest blender.manifest -outputresource:blender.exe;1

Then switch to a high contrast theme, run blender.exe and see it working. :)

For a quick test create a **blender.manifest** file at the Blender installation directory with this content: ``` <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> <application> <!-- Windows 10 --> <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> <!-- Windows 8.1 --> <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> <!-- Windows 8 --> <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> <!-- Windows 7 --> <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> <!-- Windows Vista --> <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> </application> </compatibility> </assembly> ``` Now, as long as the [manifest tool ](https://msdn.microsoft.com/en-us/library/aa375649(v=vs.85).aspx) is in the `PATH`: `mt -manifest blender.manifest -outputresource:blender.exe;1` Then switch to a high contrast theme, run **blender.exe** and see it working. :)
Member

so we should add this, thx for doing the research

so we should add this, thx for doing the research

Don't mention it!

Don't mention it!

@MartijnBerger, @mont29, are anyone of you looking into creating such a manifest? We can probably skip mt and ship manifest as a file next to executable for the simplicity?

@MartijnBerger, @mont29, are anyone of you looking into creating such a manifest? We can probably skip `mt` and ship manifest as a file next to executable for the simplicity?
Bastien Montagne removed their assignment 2016-06-28 09:55:08 +02:00
Martijn Berger was assigned by Bastien Montagne 2016-06-28 09:55:08 +02:00

Erf, this was only assigned to me because I archived that task two years ago! :P

Think this is task for platform maintainer ;)

Erf, this was only assigned to me because I archived that task two years ago! :P Think this is task for platform maintainer ;)

At Godot we have found issues on some old graphics card with the enhanced manifest.

You can follow our research at the page for the issue .

Anyway, I'll post here what we find.

At Godot we have found issues on some old graphics card with the enhanced manifest. You can follow our research at [the page for the issue ](https://github.com/godotengine/godot/issues/5452). Anyway, I'll post here what we find.

The setup known to give issues with Godot (Intel HD Graphics 3000 on 32-bit Windows 10) fails also for Blender with the modified manifest. It complains about no h/w acceleration.

That card is not officially supported for that platform so that is more or less expected.

The setup known to give issues with Godot (Intel HD Graphics 3000 on 32-bit Windows 10) fails also for Blender with the modified manifest. It complains about no h/w acceleration. That card is not officially supported for that platform so that is more or less expected.
Martijn Berger was unassigned by Aaron Carlisle 2017-04-14 21:06:17 +02:00
Ray molenkamp was assigned by Aaron Carlisle 2017-04-14 21:06:17 +02:00

Added subscribers: @nemesis326, @StephenSwaney

Added subscribers: @nemesis326, @StephenSwaney
Ray molenkamp was unassigned by Dalai Felinto 2019-12-23 16:37:58 +01:00

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Author
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Aaron Carlisle self-assigned this 2019-12-25 02:09:14 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#42545
No description provided.