-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PTRun] System.Runtime.InteropServices.COMException: {Desktop composition is disabled} #31226
Comments
[2024-02-01 00:10:25.7737] [FATAL] Exception
Environment
|
This is a duplicate of #30507 |
/needinfo Hi, I tried to force PTRun with some benchmark and stress tests but I couldnt reproduce it. Can you share your machine specs to check and compare? I also found same issues in other apps too. Does this issue still persist? If so, please share the Task Manager screenshot with GPU priority and /bugreport to check PTRun settings you have. Also please update your graphics card driver and try again. Thanks, |
ok, 3.8 MB of XML to read. Gmail blocked the attachment for security
reasons - it doesn't like ZIP files - I need to upload it to Google Drive
and send the link to you. Sorry, I supposed this Bug Report was
automatically sent to you. Anyway, here they are:
Just wait.
…On Mon, Feb 5, 2024 at 12:32 PM microsoft-github-policy-service[bot] < ***@***.***> wrote:
Hi there!
We need a bit more information to really debug this issue. Can you add a
"Report Bug" zip file here? You right click on our system tray icon and
just go to report bug. Then drag the zipfile from your desktop onto the
GitHub comment box in this issue. Thanks!
[image: Report Bug]
<https://user-images.githubusercontent.com/11349917/133042052-4975be21-4699-4363-83c9-a8e1869d079d.png>
—
Reply to this email directly, view it on GitHub
<#31226 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QPHYDKNTGLOMNYVS5PYR3YSD3QPAVCNFSM6AAAAABCUJLKO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRXGI3DMOJYHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
ok dokey, here we go... I am sending two of them, just in case
PowerToysReport_2024-02-05-15-10-42.zip
<https://drive.google.com/file/d/1FmL4ZqPAS-NZUxRJB4yxdqzJd1bhB1rm/view?usp=drive_web>
PowerToysReport_2024-02-05-15-02-11.zip
<https://drive.google.com/file/d/1Lb8Z6lxR5oRU4rRgckEyDlZDlF3Fy2B3/view?usp=drive_web>
On Mon, Feb 5, 2024 at 3:23 PM Alex de Moura ***@***.***>
wrote:
… ok, 3.8 MB of XML to read. Gmail blocked the attachment for security
reasons - it doesn't like ZIP files - I need to upload it to Google Drive
and send the link to you. Sorry, I supposed this Bug Report was
automatically sent to you. Anyway, here they are:
Just wait.
On Mon, Feb 5, 2024 at 12:32 PM microsoft-github-policy-service[bot] <
***@***.***> wrote:
> Hi there!
>
> We need a bit more information to really debug this issue. Can you add a
> "Report Bug" zip file here? You right click on our system tray icon and
> just go to report bug. Then drag the zipfile from your desktop onto the
> GitHub comment box in this issue. Thanks!
> [image: Report Bug]
> <https://user-images.githubusercontent.com/11349917/133042052-4975be21-4699-4363-83c9-a8e1869d079d.png>
>
> —
> Reply to this email directly, view it on GitHub
> <#31226 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/A2QPHYDKNTGLOMNYVS5PYR3YSD3QPAVCNFSM6AAAAABCUJLKO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRXGI3DMOJYHA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Please update issue title to be more specific? :) |
I can't. This is the only message that PowerToys left. I copied the message
from the PowerToys error notification and pasted it as a title, I have no
idea what it could be to be more specific. As explained in the details it
was just 1 to 2 seconds flickering/dark screen and then the PT error,
nothing else. All other open apps were still running, and Excel (a more
sensitive one) had some visual elements missing. I restarted the Excel and
continued to work as before.
…On Tue, Feb 6, 2024 at 10:56 AM Jay ***@***.***> wrote:
Please update issue title to be more specific? :)
—
Reply to this email directly, view it on GitHub
<#31226 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QPHYGHBBY7OSKNOH33CDDYSIZCVAVCNFSM6AAAAABCUJLKO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRZG4YTKOBXG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
That's okay. Maybe one of the core people can :-) |
I have the same issue and it happened while installing a new Graphics Driver for my Intel Arc A770, maybe his graphics card that is not active still got some update or something like that |
Hello had the same error message regarding desktop composition:
Happened while switching screens from HDMI to internal on my laptop (Ryzen CPU, AMD graphics). |
Also get this regularly (at least since Powertoys 0.72 until now). Also vmware. Seems to be connected to doing a cut/copy/paste-action at the same time as a dwminit happens and you get the black screen effect for a few seconds. Black screen often happens while debugging processes with Visual Studio 2022 but the copy/paste keypresses is what bring Powertoys down (humble guess). Only have Text extractor and Run installed. Granted, vmware has had this display driver problem for ages so it won't get fixed anytime soon if ever. But not having a display available really should't crash Powertoys. Either retry a few times during 10 seconds or silently ignore whatever you need the display/something for. |
Firstly, I'd like to express my gratitude to the PowerToys team for finally addressing the issue plaguing many users, including myself, for almost a year. The persistent System.Runtime.InteropServices.COMException: {Desktop composition is disabled} was not only affecting PowerToys but also causing severe disruptions in other applications, including Office apps and even the entire Windows environment. I understand that the team initially switched to WinUI for its better performance and modern features than older frameworks. However, this switch introduced significant new issues, including the one I and many others experienced. Special thanks to @jaimecbernardo for merging the essential changes and to @mantaionut for their contributions. Your efforts are appreciated. (Sr. Bernardo, de coração, agradeço MESMO. Talvez o senhor não tenha déia do que passei mantendo "fielmente" o PT ativo, usando diariariamente algumas das ferramentas e vendo o Excel perder sua visualização durante o trabalho. Que Deus o abençoe e ao Sr. Manta). While I appreciate these efforts, it's incredibly disheartening that it took almost a year to resolve such a critical issue. The prolonged delay in addressing this has been both frustrating and unacceptable, considering the impact on productivity and the severe disruptions caused. The PowerToys team must prioritize resolving significant issues promptly, especially when they are aware of the underlying causes. Thank you for finally addressing this, and I look forward to a more stable experience with PowerToys moving forward. Best regards and Merry Christmas. |
Reopening as we're still seeing reports :( |
Hi @AlexDeMoura , thanks for your kind words. |
Happy Holidays too! ❤ 😄 |
Hi, @jaimecbernardo My hardware is still the same, with GPU0 Intel 530 as the only active one. GPU1 Nvidia is not in use for anything, no games or AI here. I can confirm there is no relation with none of those GPU updates: the Nvidia one because it needs my permission to install anything, so I can monitor it. But the Intel one is a concern for me because this is a Lenovo computer, and Lenovo unauthorized ANY update on the GPU driver despite Intel launching at least one update after the installed one. Some strong delays happen in my Custom Toolbar Menus (I have two of them) and also in the Desktop recovering from screensaver, restarting, logout/login, etc. In a few words, the Desktop is slow to complete. However, I cannot confirm they are related. I hope this helps. |
Microsoft PowerToys version
0.78.0.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
When I was choosing a font in the font menu of Excel, the screen went dark for one second or something, and it came back showing this window: Power Toys Run ran into an issue. Something went wrong. The attached log contents:
2024-02-01.txt
The following software was running under an updated Windows 10 (8 MB RAM, 18 GB fixed VM, GPU0 Intel HD 530, GPU1 NVidia not active):
Stand-alone installation (USB), but the opera is installed in a C: folder (I love portable stuff, you know - portable means freedom);
The fonts menu in Excel contains many Asian fonts, mainly Hebraic versions of the most common MS Office fonts. I was choosing one of them (Arial, Calibri, or Roboto) for a single cell.
The screen background contains a static picture (no Slideshow) from the Pinnula Dynamic Theme (background management, last version) installed from the Microsoft Store.
✔️ Expected Behavior
Such things shouldn't be happening. It gives me the creeps and sometimes a heart attack. But I like the PowerToys so much, I don't want to uninstall it. The ones I use the most are (in this order):
Is there any Browser Selector (by link, domain, or user's choice) in your roadmap? Or is it against THE company's policy?
Am I asking too much? I appreciate your work, but you guys opened Pandora's box - it was full of users' wishes.
❌ Actual Behavior
Thank God the computer didn't freeze this time, but it already happened once this year. I didn't lose the work - I continued to work on the Excel spreadsheet. No other app was closed - however, I had to restart Excel since its visual elements and components, such as buttons, menus, bars, and a few others, went black or empty (with their background color only).
Thanks for your excellent work, and best regards.
Other Software
No response
The text was updated successfully, but these errors were encountered: