text:
LC-MS metabolomics WDL development and Github deployment

LC-MS metabolomics WDL development

[ ] Based on the CLI command for LC-MS data dependent data process, create a WDL workflow declaration and configuration json input file.

The workflow should be fully functional, able to process test datasets, and generate molecular table data products with putative metabolites annotation using mini wdl or cromwell based on the metaMS

Hi @corilo.  Any update on this issue? Can this issue be closed today or by Tuesday?

Met with @corilo and he said this will continue to the next sprint.

@corilo I'll move this to the next sprint. If you don't plan to work on it please let me know so I can remove it from the sprint board. Thanks.

@corilo @lamccue I'll move this to the next sprint. If you don't plan to work on it please let me know so I can remove it from the sprint board. Thanks.

@corilo is this still in progress and actively being worked on?

Yuri is out the rest of the week so I will move this to the next sprint again.  @lamccue let me know if I should move it to the backlog instead.

Based on updates on Squad Lead meeting yesterday moving to the next squad. @corilo @shreddd

Based on updates on Squad Lead meeting yesterday moving to the next squad. @corilo @shreddd

@corilo Moving to current sprint. Please remove from sprint if you're not actively working on this.

Emailed Yuri to get status. Will remove from sprint by Monday.

@aclum said that Yuri mentioned in a meeting that he will not be working on this and focusing on the GROW data instead. I'm adding this to the backlog and removing from the sprint.

@aclum @corilo any suggestions for this issue? Can it be closed?

repo: microbiomedata/metaMS


text:
Corona Warn App requires an Play Service Update on latest microG

With the new app version of the  German Corona-Warn-App released today (1.5.0.47), it wants an update of the Google Play services and refuses to run otherwise.
Update: I was sucessfully able to enable exposure notification (but the warning persists) by entering the app and clickin on enable and immediatly leave (so microG at least continues to collect ids), but it sometimes disables itself. There are also sometimes communication errors, similar to #1171 (did not happen on older versions).
Software versions:
Lineage 17.1-20201016-microG-river
microG Services Core 0.2.12.203315

Works again with v0.2.13.203915

source: gharchive/issue

authors: Varbin mar-v-in

license_type: permissive

license_source: bigquery


text:
Is there any way to get more than 100 tracks?

Is there any way to get more than 100 tracks?

Sounds like a pretty generic question. Can you give us more context on this?
An example of a URL?

Sounds like a pretty generic question. Can you give us more context on this?
An example of a URL?

I am trying to add a spotify playlist that has more than 100 songs in it. The limit for the amount of songs that can be got from the metadata is 100. I am wondering if there is any way I can get the extra songs that are not in the metadata.

Hmm I don't know; if 100 comes from Spotify data that should be the limit for the preview on the browser

authors: ItzPray Kikobeats

repo: microlinkhq/spotify-url-info

license: MIT

license_source: github-api


text:
Jot schema

Use established standards as basis for schema. Icalendar provides good support for events and tasks:
https://tools.ietf.org/html/rfc5545
Also consider schema.org:
https://schema.org/Event
Vertices: event, task, note, reminders, user agent
Edges: organiser of, attendee to, author of, subject of,

Jot types:

text note
markdown note
secret
reminder
to do
image
receipt
bill
invoice
event
meeting
minutes
project

Actor types:

person
resource
room
device

Relation types:

author
attendee
organiser
subject of
vendor
employee

Jot properties:

title
note
labels
published

Folder

Hierarchical label
Parent and child folder links
Mime types

repo: micronode/jot


text:
Encrypt/Decrypt text in version 15

Hi,
In previous version of BC/NAV we used some system dotnet libraries to encrypt/decrypt text. Do we have any alternative for this in version 15 (Cloud)?
I know for built in function's Encrypt/Decrypt. But can we used same encryption key on the other side for opposite process?
Thanks

This repository no longer handles general questions and is only dedicated to bug reports for the latest preview version of the AL compiler and developer tools.
To get help for your question please use one of the following resources:
Business Central Community
mibuso forum
Dynamics User Group

authors: atoader tomasevicstefan

repo: microsoft/AL


text:
Compilation failed while using interface

Describe the bug
When adding a interface, there is a compilation error.
To Reproduce
Steps and to reproduce the behavior:

I created a project with a table and 2 enums for fields, then a simple interface:

interface isaHIE_Hierarchy
{
procedure GetCaption(): Text;
}
Expected behavior
Without the interface, the project compilation is OK; With interface then KO event if I add some implementations.
Compilator error
Processing of message 'al/createPackage' failed with error: 'Object reference not set to an instance of an object.'
Details:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Dynamics.Nav.CodeAnalysis.Translation.LabelWriterVisitor.VisitSymbolWithProperties(Symbol symbolWithProperties) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Translation\LanguageFile\LabelWriterVisitor.cs:line 144
at Microsoft.Dynamics.Nav.CodeAnalysis.Translation.LabelWriterVisitor.DefaultVisit(Symbol symbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Translation\LanguageFile\LabelWriterVisitor.cs:line 59
at Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.SymbolVisitor.VisitContainer(ContainerSymbol node) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Generated\SymbolVisitor.Generated.cs:line 291
at Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.SymbolVisitor.VisitType(TypeSymbol node) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Generated\SymbolVisitor.Generated.cs:line 296
at Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.SymbolVisitor.VisitObjectType(ObjectTypeSymbol node) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Generated\SymbolVisitor.Generated.cs:line 301
at Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.SymbolVisitor.VisitInterfaceType(InterfaceTypeSymbol node) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Generated\SymbolVisitor.Generated.cs:line 141
at Microsoft.Dynamics.Nav.CodeAnalysis.Translation.LabelWriterVisitor.VisitMembersOfSymbol(Symbol symbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Translation\LanguageFile\LabelWriterVisitor.cs:line 225
at Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.SymbolVisitor.VisitContainer(ContainerSymbol node) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Generated\SymbolVisitor.Generated.cs:line 291
at Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.SymbolVisitor.VisitModule(ModuleSymbol node) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Generated\SymbolVisitor.Generated.cs:line 161
at Microsoft.Dynamics.Nav.CodeAnalysis.Translation.LanguageFileOutputter.<>c__DisplayClass1_0.b__0() in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Translation\LanguageFile\LanguageFileOutputter.cs:line 40
at Microsoft.Dynamics.Nav.CodeAnalysis.Translation.XliffOutputter.<>c__DisplayClass2_0.b__3() in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Translation\LanguageFile\XliffOutputter.cs:line 100
at Microsoft.Dynamics.Nav.CodeAnalysis.Utilities.XmlUtilities.WriteStartEnd(XmlWriter writer, String nodeName, Action action, String namespace) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Utilities\XmlUtilities.cs:line 25
at Microsoft.Dynamics.Nav.CodeAnalysis.Translation.XliffOutputter.<>c__DisplayClass2_0.b__2() in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Translation\LanguageFile\XliffOutputter.cs:line 97
at Microsoft.Dynamics.Nav.CodeAnalysis.Utilities.XmlUtilities.WriteStartEnd(XmlWriter writer, String nodeName, Action action, String namespace) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Utilities\XmlUtilities.cs:line 25
at Microsoft.Dynamics.Nav.CodeAnalysis.Translation.XliffOutputter.<>c__DisplayClass2_0.b__1() in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Translation\LanguageFile\XliffOutputter.cs:line 96
at Microsoft.Dynamics.Nav.CodeAnalysis.Utilities.XmlUtilities.WriteStartEnd(XmlWriter writer, String nodeName, Action action, String namespace) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Utilities\XmlUtilities.cs:line 25
at Microsoft.Dynamics.Nav.CodeAnalysis.Translation.XliffOutputter.<>c__DisplayClass2_0.b__0() in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Translation\LanguageFile\XliffOutputter.cs:line 84
at Microsoft.Dynamics.Nav.CodeAnalysis.Utilities.XmlUtilities.WriteStartEnd(XmlWriter writer, String nodeName, Action action, String namespace) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Utilities\XmlUtilities.cs:line 25
at Microsoft.Dynamics.Nav.CodeAnalysis.Translation.XliffOutputter.WriteDefaultNodesAndContinue(XmlWriter writer, String appName, String targetLanguage, Action groupContentWriter) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Translation\LanguageFile\XliffOutputter.cs:line 78
at Microsoft.Dynamics.Nav.CodeAnalysis.Translation.LanguageFileOutputter.OutputLanguageFile(Compilation compilation, Stream outputStream, String appName, DiagnosticBag diagnosticBag) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Translation\LanguageFile\LanguageFileOutputter.cs:line 36
at Microsoft.Dynamics.Nav.CodeAnalysis.CommandLine.CommonCompiler.OutputLanguageFile(Compilation compilation, CompilerTextWriter consoleOutput, ErrorLogger errorLogger, DiagnosticBag diagnosticBag) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\CommandLine\CommonCompiler.cs:line 606
at Microsoft.Dynamics.Nav.CodeAnalysis.CommandLine.CommonCompiler.GenerateLanguageFile(Compilation compilation, CompilerTextWriter consoleOutput, ErrorLogger errorLogger) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\CommandLine\CommonCompiler.cs:line 560
at Microsoft.Dynamics.Nav.CodeAnalysis.CommandLine.CommonCompiler.RunCoreImpl(CompilerTextWriter consoleOutput, ErrorLogger errorLogger, Compilation compilation, AnalyzerDriver analyzerDriver, IEnumerable1 analyzerExceptionDiagnostics, IEnumerable1 additionalTextFiles, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\CommandLine\CommonCompiler.cs:line 521
at Microsoft.Dynamics.Nav.CodeAnalysis.CommandLine.CommonCompiler.RunCore(CompilerTextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\CommandLine\CommonCompiler.cs:line 476
at Microsoft.Dynamics.Nav.CodeAnalysis.CommandLine.CommonCompiler.Run(CompilerTextWriter consoleOutput, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\CommandLine\CommonCompiler.cs:line 332
at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.CreatePackageRequestHandler.Build(Project builtProject, StreamingTextWriter outputWriter, Boolean isRad, IList1 args, CancellationToken cancellationToken, Boolean forceBuild, PooledList1 outputFiles) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\CreatePackageRequestHandler.cs:line 174
at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.CreatePackageRequestHandler.HandleAsync(CreatePackageRequest request, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\CreatePackageRequestHandler.cs:line 103
at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.RequestHandlerBase`1.HandleAsync(JToken requestContents, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\MessageProtocol\RequestHandlerBase.cs:line 54
at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.Process(Message message) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\Endpoints\RequestRegistry.cs:line 80
5. Versions:

AL Language: 5.0.270354
Business Central: 16.0.11240.12474

Can you share a small project that reproduces this issue?

Just create a new project. In app.json add the option below:
"features": [
"TranslationFile","GenerateCaptions"
]
then create a simple interface like:
interface InterfaceTemplate
{
procedure GetCaption(): Text;
}
then you get the compilation error.
Remove the ,"GenerateCaptions" in app.json, then it will be Ok.

Any news on this bug?

Fixed

authors: PP1986 YvesDesrumaux atoader


text:
Evaluate extended value for enum gives error

1. Describe the bug
I have extended the Price Type Enum and get an error when trying to create a new price list:

The code that is giving the error is line 24 in codeunit 7018 "Price UX Management"
Evaluate(PriceSource."Price Type", PriceListHeader.GetFilter("Price Type"));
2. To Reproduce
I have created a simple app to show that evaluate does not except the value:
Create a enum extension for Price Type:
enumextension 50100 "K3A Price Type" extends "Price Type"
{
    value(50100; K3ARetail)
    {
        Caption = 'Retail';
    }
}

Create a page to test:
page 50100 "K3A Test Page"
{
    Caption = 'Test Page';
    PageType = Card;
    UsageCategory = Documents;
    ApplicationArea = All;

    layout
    {
        area(content)
        {
            group(General)
            {
                field(ChoosePriceType; PriceType)
                {
                    Caption = 'Price Type';
                    ApplicationArea = All;
                    ToolTip = 'Choose a price type to evaluate';

                    trigger OnValidate()
                    var
                        PriceListHeader: Record "Price List Header";
                        PriceSource: Record "Price Source";
                        PriceTypeFilterText: Text;
                    begin
                        PriceListHeader.SetRange("Price Type", PriceType);
                        PriceTypeFilterText := PriceListHeader.GetFilter("Price Type");
                        Evaluate(PriceSource."Price Type", PriceTypeFilterText);
                    end;
                }
            }
        }
    }
    var
        PriceType: Enum "Price Type";

}

3. Expected behavior
When you run the page it should allow you to pick one of the price types.

4. Actual behavior
I can choose standard value like Sales:

But not the extended value:

5. Versions:

AL Language: v9.0.615906
Visual Studio Code: 1.67.2
Business Central: 20.0.37253.38985

Hi, this issue is out of scope of for this repository. You should do one of the following:

Open a support request to CSS through the PartnerSource portal
Open a bug in Collaborate
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

As a reminder, this repository only handles issues to do with the compiler or VSCode development experience for AL.


text:
[Event Request] Table 37 at Function UpdateVATOnLines

Please add a new Function and a Publisher at UpdateVATOnLines as follows:
[External] UpdateVATOnLines(QtyType : 'General,Invoicing,Shipping';VAR SalesHeader : Record "Sales Header";VAR SalesLine : Record "Sales Line";VAR VATAmountLine : Record "VAT Amount Line")

+ IF IsUpdateVATAmountLinesHandled(SalesHeader,SalesLine,VATAmountLine) THEN
+ EXIT;

LineWasModified : Boolean
LineWasModified := FALSE;
IF QtyType = QtyType::Shipping THEN
  EXIT;
IF SalesHeader."Currency Code" = '' THEN
  Currency.InitRoundingPrecision
ELSE
  Currency.GET(SalesHeader."Currency Code");

TempVATAmountLineRemainder.DELETEALL;

New Function:
LOCAL IsUpdateVATAmountLinesHandled(SalesHeader : Record "Sales Header";VAR SalesLine : Record "Sales Line";VAR VATAmountLine : Record "VAT Amount Line") IsHandled : Boolean
IsHandled := FALSE;
OnBeforeUpdateVATAmountLines(SalesHeader,SalesLine,VATAmountLine,IsHandled);
EXIT(IsHandled);

New Publisher:
LOCAL [IntegrationEvent] OnBeforeUpdateVATAmountLines(SalesHeader : Record "Sales Header";VAR SalesLine : Record "Sales Line";VAR VATAmountLine : Record "VAT Amount Line";VAR IsHandled : Boolean)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

authors: Seyerjin bc-ghost

repo: microsoft/ALAppExtensions


text:
Table 99000832 VerifyChange, request new publishers onBefore and OnAfter

Hi, we would like to make additional conditions for triggering ReserveSalesLine.VerifyChange from table 37 OnModify trigger. We can control and solve our problem with adding new onBefore event in table 99000832 in funtion VerifyChange. Also we would neet IsHandled and CurrentFieldNo to control from were we want to trigger our conditions.

CurrentFieldNo is not available in scope of SalesLineReserve codeunit. And not useful in OnModify trigger of table Sales Line. Please create new request with required event definition/parameters/placement in the code. This requests cannot be processed.

authors: AlexanderYakunin VladimirVeljovic


text:
Codeunit 96 - CreatePurchHeader

Hello,
we have found an irritation of the Publishers in the function CreatePurchHeader of Codeunit 96.
There exists OnBeforePurchOrderHeader directly before the PurchOrderHeader.Modify.
An Publisher direct before the PurchOrderHeader.Insert is missing.
The same construct in Codeunit 86 for Sales is correct: OnBeforeInsert and OnBeforeModify.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

authors: TimExner bc-ghost


text:
[WPF] Rendering issues in Visual Studio extension (image & separator margins)

Platform

.NET WPF

Author or host
Host (Visual Studio Extension)
Version of SDK

AdaptiveCards.Rendering.Wpf 1.2.4
AdaptiveCards.Rendering.Wpf.Xceed 1.2.4

Details
Building a Visual Studio extension and sharing the same Host Config with VS Code.

Host Config used
Card template used
Populated Card JSON below, can be pasted into Designer to see expected result (change to Teams Dark)

Actual card rendered in WPF has two issues:

Unexpected large margin around the top "Projects" image
No margin at the bottom of the horizontal separators

{"type":"AdaptiveCard","body":[{"type":"Image","url":"https://s3.amazonaws.com/tw-desk/i/1/doclogo/197378.20190228210102000.197378.20190228210102000rlycm.png","size":"large"},{"type":"Container","items":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"TextBlock","size":"Medium","weight":"Bolder","wrap":true,"text":"[This task has comments and logs](https://msbuilddemo.teamwork.com//tasks/16756850)"},{"type":"FactSet","facts":[{"title":"Project:","value":"[Ignite Demo](https://msbuilddemo.teamwork.com//projects/453999)"},{"title":"TaskList:","value":"[General tasks](https://msbuilddemo.teamwork.com//tasklists/1491034)"},{"title":"Assigned to:","value":"Tim Cadenbach"},{"title":"Due date:","value":"20191027"}]},{"type":"TextBlock","spacing":"Small","text":"Description:","isSubtle":true},{"type":"TextBlock","text":"Example Task :)","wrap":true},{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"Image","style":"Person","url":"https://s3.amazonaws.com/TWFiles/558995/userAvatar/f4b323ae6f3dcdbba8e57ce81a29035a.jpg","size":"Small"}],"width":"auto"},{"type":"Column","items":[{"type":"TextBlock","text":"Created 2019-10-18T16:21:38Z","isSubtle":true,"wrap":true,"size":"Small"},{"type":"TextBlock","spacing":"None","text":"by [Tim Cadenbach](https://msbuilddemo.teamwork.com//people/259828)","isSubtle":true,"wrap":true}],"width":"stretch"}]}],"width":"stretch"}]}]},{"separator":true,"type":"Container","spacing":"Medium","items":[{"type":"ColumnSet","spacing":"Medium","columns":[{"type":"Column","spacing":"Medium","items":[{"type":"Image","spacing":"Medium","url":"https://tw-synthesiscore.us.teamworkops.com/img/projects/event.png"}],"width":"auto"},{"type":"Column","spacing":"Medium","items":[{"type":"TextBlock","text":"Logged Time:","spacing":"Medium","separator":true,"weight":"Bolder"}],"width":"stretch"}]},{"type":"Container","items":[{"type":"FactSet","facts":[{"title":"Tim Cadenbach","value":"2019/10/18 01:05 PM - 4h 22m"},{"title":"Tim Cadenbach","value":"2019/10/18 01:51 PM - 1h 30m"},{"title":"Tim Cadenbach","value":"2019/10/18 03:51 PM - 2h 30m"},{"title":"Tim Cadenbach","value":"2019/10/21 03:26 AM - 12h 4m"},{"title":"Tim Cadenbach","value":"2019/10/21 08:21 AM - 6h 12m"}]},{"type":"FactSet","facts":[{"title":"Estimated","value":"4h 12m"},{"title":"Total","value":"26h 38m"}]}]}],"$when":true},{"$when":true,"type":"Container","spacing":"Medium","items":[{"type":"ColumnSet","spacing":"Medium","columns":[{"spacing":"Medium","type":"Column","height":"stretch","items":[{"type":"Image","url":"https://tw-synthesiscore-beta.us.teamworkops.com/img/projects/comment.png"}],"width":"auto"},{"spacing":"Medium","type":"Column","items":[{"type":"TextBlock","text":"Comments:","separator":true,"weight":"Bolder"}],"width":"stretch"}]}],"separator":true},{"type":"Container","$when":true,"items":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"Image","style":"Person","url":"https://s3.amazonaws.com/TWFiles/558995/userAvatar/f4b323ae6f3dcdbba8e57ce81a29035a.jpg","size":"Small"}],"width":"auto"},{"type":"Column","items":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"TextBlock","weight":"Bolder","text":" [Tim Cadenbach](https://msbuilddemo.teamwork.com//people/259828) ( msbuilddemo )","isSubtle":true,"wrap":true}],"width":"auto"},{"type":"Column","items":[{"type":"TextBlock","spacing":"None","text":"2019-10-18T16:22:02Z","isSubtle":true,"wrap":true}],"width":"stretch"}]}],"width":"stretch"}]},{"type":"TextBlock","text":"Yes this is a comment, who would have thought!\n","wrap":true}],"style":"emphasis"},{"type":"Container","$when":true,"items":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"Image","style":"Person","url":"https://s3.amazonaws.com/TWFiles/558995/userAvatar/f4b323ae6f3dcdbba8e57ce81a29035a.jpg","size":"Small"}],"width":"auto"},{"type":"Column","items":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"TextBlock","weight":"Bolder","text":" [Tim Cadenbach](https://msbuilddemo.teamwork.com//people/259828) ( msbuilddemo )","isSubtle":true,"wrap":true}],"width":"auto"},{"type":"Column","items":[{"type":"TextBlock","spacing":"None","text":"2019-10-18T17:27:20Z","isSubtle":true,"wrap":true}],"width":"stretch"}]}],"width":"stretch"}]},{"type":"TextBlock","text":"Hey TIm :)","wrap":true}],"style":"emphasis"},{"type":"Container","$when":true,"items":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"Image","style":"Person","url":"https://s3.amazonaws.com/TWFiles/558995/userAvatar/f4b323ae6f3dcdbba8e57ce81a29035a.jpg","size":"Small"}],"width":"auto"},{"type":"Column","items":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"TextBlock","weight":"Bolder","text":" [Tim Cadenbach](https://msbuilddemo.teamwork.com//people/259828) ( msbuilddemo )","isSubtle":true,"wrap":true}],"width":"auto"},{"type":"Column","items":[{"type":"TextBlock","spacing":"None","text":"2019-10-21T14:33:36Z","isSubtle":true,"wrap":true}],"width":"stretch"}]}],"width":"stretch"}]},{"type":"TextBlock","text":"Test Comment 2","wrap":true}],"style":"emphasis"},{"type":"Container","$when":true,"items":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"Image","style":"Person","url":"https://s3.amazonaws.com/TWFiles/558995/userAvatar/f4b323ae6f3dcdbba8e57ce81a29035a.jpg","size":"Small"}],"width":"auto"},{"type":"Column","items":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"TextBlock","weight":"Bolder","text":" [Tim Cadenbach](https://msbuilddemo.teamwork.com//people/259828) ( msbuilddemo )","isSubtle":true,"wrap":true}],"width":"auto"},{"type":"Column","items":[{"type":"TextBlock","spacing":"None","text":"2019-10-21T15:14:37Z","isSubtle":true,"wrap":true}],"width":"stretch"}]}],"width":"stretch"}]},{"type":"TextBlock","text":"My fancy new test comment!","wrap":true}],"style":"emphasis"},{"type":"Container","$when":true,"items":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"Image","style":"Person","url":"https://s3.amazonaws.com/TWFiles/558995/userAvatar/f4b323ae6f3dcdbba8e57ce81a29035a.jpg","size":"Small"}],"width":"auto"},{"type":"Column","items":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"TextBlock","weight":"Bolder","text":" [Tim Cadenbach](https://msbuilddemo.teamwork.com//people/259828) ( msbuilddemo )","isSubtle":true,"wrap":true}],"width":"auto"},{"type":"Column","items":[{"type":"TextBlock","spacing":"None","text":"2019-10-21T15:45:24Z","isSubtle":true,"wrap":true}],"width":"stretch"}]}],"width":"stretch"}]},{"type":"TextBlock","text":"Oh this is something for frontend work actually","wrap":true}],"style":"emphasis"},{"type":"Container","$when":true,"items":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"Image","style":"Person","url":"https://s3.amazonaws.com/TWFiles/558995/userAvatar/f4b323ae6f3dcdbba8e57ce81a29035a.jpg","size":"Small"}],"width":"auto"},{"type":"Column","items":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"TextBlock","weight":"Bolder","text":" [Tim Cadenbach](https://msbuilddemo.teamwork.com//people/259828) ( msbuilddemo )","isSubtle":true,"wrap":true}],"width":"auto"},{"type":"Column","items":[{"type":"TextBlock","spacing":"None","text":"2019-10-21T15:45:49Z","isSubtle":true,"wrap":true}],"width":"stretch"}]}],"width":"stretch"}]},{"type":"TextBlock","text":"hmm yea been there done that fixed it\n","wrap":true}],"style":"emphasis"}],"actions":[{"type":"Action.ShowCard","title":"Add Comment","card":{"type":"AdaptiveCard","body":[{"type":"ColumnSet","columns":[{"type":"Column","items":[{"type":"Image","url":"https://tw-synthesiscore-beta.us.teamworkops.com/img/projects/comment_notify.png"}],"width":"auto"},{"type":"Column","items":[{"type":"TextBlock","text":"Comment"}],"width":"stretch"}]},{"id":"comment","type":"Input.Text","placeholder":"Your comment","isMultiline":true}],"actions":[{"type":"Action.Submit","title":"Submit","data":{"taskId":16756850,"type":"comment"}}],"version":"1.0","$schema":"http://adaptivecards.io/schemas/adaptive-card.json"}},{"type":"Action.ShowCard","title":"Log Time","card":{"type":"AdaptiveCard","version":"1.2","body":[{"type":"Container","items":[{"type":"ColumnSet","columns":[{"type":"Column","width":"stretch","items":[{"type":"TextBlock","text":"Hours","spacing":"None"}],"spacing":"None"},{"type":"Column","width":"stretch","items":[{"type":"TextBlock","text":"Minutes","spacing":"None"}],"spacing":"None"},{"type":"Column","width":"stretch"},{"type":"Column","width":"stretch"}],"spacing":"None"}],"verticalContentAlignment":"Center"},{"type":"Container","items":[{"type":"ColumnSet","columns":[{"type":"Column","width":"stretch","items":[{"type":"Input.Number","id":"hours","value":"0"}]},{"type":"Column","width":"stretch","items":[{"type":"Input.Number","value":"0","id":"minutes","validation":{"necessity":"Required"}}]},{"type":"Column","width":"stretch"},{"type":"Column","width":"stretch"}]}],"spacing":"None"},{"type":"TextBlock","text":"Description"},{"type":"Input.Text","placeholder":"Description","id":"description","isMultiline":true},{"type":"Input.Toggle","title":"Billable","value":"false","wrap":false,"id":"billable"},{"type":"Input.Toggle","title":"Task is now complete","value":"false","wrap":false,"id":"complete"}],"$schema":"http://adaptivecards.io/schemas/adaptive-card.json","actions":[{"type":"Action.Submit","title":"Submit","data":{"taskId":16756850,"type":"time"}}]}}],"$schema":"http://adaptivecards.io/schemas/adaptive-card.json","version":"1.1"}

@DeeJayTC FYI

WPF renderer is deprecated

authors: jonmill matthidinger

repo: microsoft/AdaptiveCards


text:
Revert "generate template json for localized lang"

Reverts microsoft/Application-Insights-Workbooks#444
Need to implement multi-checkout

already have fixed out, closing out this PR

source: gharchive/pull-request


text:
adds an alerts sample

Adds a new template to azure monitor that lets you see alerts on resources (very similar to the alerts blade itself), all by querying the ARG table for alerts resources.

by default, the resources are all/all/all/all for last hour.
selecting one or more rows in the summary shows alerts for that severity
it also uses Yves' new nosubscription template if nothing is selected:

also updated the datasource docs to indicate that this datasource is "discouraged"

PR Checklist

[x] Explain your changes, so people looking at the PR know what and why, the code changes are the how.
[x] if updating templates, it is helpful to post a screenshot of what the changes look like.
[x] if updating templates, ensure that your parameters and steps have meaningful names.
[x] if adding new templates, or changing items in a gallery, it's helpful to post a screenshot of what the gallery looks like now

It isn't obvious that you can click on the map and have more info show up below it.
Can you add a text step below the map that indicates 'Click on the map nodes to view the alerts in the selected regions' ?

On Erica's note, you can also add a text step for selecting a row to show details/region

It isn't obvious that you can click on the map and have more info show up below it.
Can you add a text step below the map that indicates 'Click on the map nodes to view the alerts in the selected regions' ?

i can, though i'm not a big fan of explaining everywhere that people can click things

authors: ericajlin gardnerjr yves-chan


text:
A query string shows in the table statistics activity log even though the query is not executed

Storage Explorer Version: 1.29.0-dev
Build Number: 20230407.2
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Ventura 13.3 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test cases
Regression From: Previous release (1.28.1)
Steps to Reproduce

Expand one storage account -> Tables.
Create a table -> Click 'Query'.
Add a clause -> Click 'Table Statistics'.
Check no query string shows in the activity log.

Expected Experience
No query string shows in the activity log.

Actual Experience
A query string shows in the activity log.

@v-xianya This is by design. It would be too confusing to allow a query to be "active" or not when the query panel is open. So we now just assume that if the query panel is open, a query is "active". That means that any successive actions (refresh, table stats, etc.) will use the query if the panel is open. If the panel is closed, all subsequent actions will not use the query.

authors: craxal v-xianya

repo: microsoft/AzureStorageExplorer


text:
Main build broken due to typo in base template

Main builds is broken.
Cause:
A single quote with the description here:
https://github.com/microsoft/AzureTRE/pull/1441/files#diff-de9aeb2e92de44c969857df599e9705da62f75986ae318f7abf506e729d1e19dR13

Closing as merged.

authors: marrobi martinpeck

repo: microsoft/AzureTRE


text:
azurerm_app_service_plan is deprecated and we should use azurerm_service_plan

Fixes #1815
What is being addressed
azurerm_app_service_plan is deprecated and we should use azurerm_service_plan
How is this addressed

This updates the core resource
We will upgrade each workspace service in separate PR, so as we can test them individually and add e2e test
Each resource needs to be AzureRM 3.5

/test-extended

lgtm. what happens if there are no resources to migrate? will the migrate script skip?

Ideally, if there are no resources to migrate, it will just skip. However that's where the bug is at the moment (if there is NO state file, it breaks) :-(

/test-extended

authors: eladiw ross-p-smith


text:
Add 'status_message' for requests that are blocked by the malware scanner

Resolves #2274
What is being addressed
Added the reason for being blocked to requests that are blocked by the malware scanner
How is this addressed

Renamed the error_message field in airlock requests to status_message
Added the malware scanner verdict to the status_message field of the request

/test

/test

@damoodamoo @jjgriff93
Note that the name of the field errorMessage in Airlock requests has changed to statusMessage,
it might break the UI
https://github.com/yuvalyaron/AzureTRE/blob/600efaa10ebaa251ba94cdbdd4678d3d23d2349f/api_app/models/domain/airlock_request.py#L84


text:
[AdaptiveForm] Properties with default or const values should be set on mount

Description
The AdaptiveForm package should set field values to the default or const value on mount.
Schema
"properties": {
  "type": {
     "type": "string",
     "description": "The activity type",
     "const": "invoke"
   },
  "protocol": {
     "type": "string",
     "description": "Supported protocol",
     "default": "BotFrameworkV3"
   },
}

https://github.com/microsoft/BotFramework-Composer/pull/2704

authors: cwhitten tdurnford

repo: microsoft/BotFramework-Composer


text:
[WIP]refactor: centralize lg parsing logic to 'shared' lib (#1659)

Description
Closes #1308.
Merges all LG related logic to one module in '@bfc/shared'. Prepares for the upcoming lg syntax update.
Where are we parsing lg strings?

[x] In 'visual -> ObiEditor.ts -> line 52, 92', we parse lg string to extract lg name and node id to perform lg copy.
[x] In 'visual -> utils -> hooks.ts', we parse lg string to extract lg name (and then invoke lgApi to update template)
[x] In 'client -> lgUtils.ts', we parse lg string to extract lg name
[x] In 'packages/lib -> indexers -> dialogIndexer.ts', we parse lg string to extract lg name
[ ] In 'form -> TableField -> line 100', extract lg name out of string (should be coverd in another PR which focuses on shellApi refinement)
[x] In 'form -> LgEditorWidget.tsx -> line 35~52, line 102', construct a lg id.

How we understand LG strings
// 1. LgText
{
    "activity": "....", // LgText
    "prompt": "....", // LgText
    "invalidPrompt": "..." // LgText
}

// 2. LgTemplateRef
'[bfdactivity-1234]'
'[greeting]'
'[greeting(1)]'

// 3. LgTemplateName
'bfdactivity-1234' in '[bfdactivity-1234]'
'greeting' in '[greeting(1)]'

// 4. LgMetaData (Composer-only)
'bfdactivity-1234' => { type: 'activity', designerId: '1234' } // LgMetaData
'greeting' => NO meta data since its not created by Composer

Task Item
Closes #1308
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Code refactor (non-breaking change which improve code quality, clean up, add tests, etc)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Doc update (document update)

Checklist

[x] I have added tests that prove my fix is effective or that my feature works
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have functionally tested my change

Screenshots
Please include screenshots or gifs if your PR include UX changes.

I forgot one appearance of lg logic in LgEditorWidget.ts. Mark it as WIP until I'm done.

@boydc2014 @zhixzhan ready for review

LGTM, but let's wait a little bit until @cwhitten and @a-b-r-o-w-n can have a chance to look at. Also, if LSP is also good to go, let's merge LSP first.


text:
fix: update a test case

Description
The test case failed locally but passed online due to different environment
Task Item
#minor
Screenshots

Coverage remained the same at 47.992% when pulling f2679a3bebea8072fd0b041589c822b19a647f51 on liweitian:fixtestcase into 2f655bba38c42900d2374c8fb349769f9158a664 on microsoft:master.

authors: coveralls liweitian


text:
feat: sync form title, trigger intent and lu intent

Description
Allow editing of the intent name in the intent trigger and sync with lu provider.
Task Item
closes #2884

Coverage decreased (-0.2%) to 56.278% when pulling 46f67aac9ecbc5a7c6c918e612a612948c371c86 on lei9444:abrown/feat/update-intent-name into fd2a6d4f06d8322855f4edd03ad7edc884872912 on microsoft:main.

authors: a-b-r-o-w-n coveralls


text:
fix: Deploy exception returns real error

Description
When zip deploy fails it was returning the same error message about hostname and not the underlying error.
This fixes the error message and includes the underlying error message for non-auth issues.
Task Item
#minor
#7809
Screenshots
N/A

Coverage remained the same at 50.563% when pulling 4afe4b046e1aa73c5801140571a539decf7d8cf5 on gcox/deploy-err-msg into 6d40daefac24ea0495fc75db6d9d3c0fe6ab1c1c on main.

authors: GeoffCoxMSFT coveralls


text:
A fullstop or dot (.) is getting added at the end of speech input in emulator

How to remove the the unwanted full-stop or dot (.) being added to speech input in emulator or web-chat hosted on azure.

Hi @vannela ,
This is caused by the Text Normalization feature of the Cognitive Services speech service. This is configurable through Web Chat when embedding the control yourself within your own UI.
However, Web Chat embedding in Azure and in the Emulator do not expose a way for the user to change this option, so the speech service will always normalize text and try to make it appear with the correct punctuation and capitalization.
If you want, we can close this issue and create a feature request to add UI to the Emulator to expose this option. In regards to Web Chat on Azure, we can't do anything about that.

Thanks for the update, and Yes, this issue can be closed and create a feature request to add UI to the Emulator to expose this option.

authors: tonyanziano vannela

repo: microsoft/BotFramework-Emulator


text:
Request for Configurable Option to Word Wrap Text of Suggested Action Buttons

Feature Request
Is your feature request related to a problem? Please describe.

The feature request being requested is related to a problem.  The current problem is that when the text for the suggested action buttons are long, the text does not word wrap.  The text is cut off instead.  The user is not able to read the full text of the suggested action buttons.
Describe the suggestion or request in detail

Would like to have an out-of-the-box configurable option where we can turn on and off the word wrap of text of suggested action buttons.  This way, when the word wrap is turned on, the user is able to read the full text of the suggested action buttons.
Describe alternatives you have considered

At the moment, the only alternative to making the word wrap happen is to use custom css.  But this is only a workaround/band-aid to the issue.  The underlying problem is that there isn't an out-of-the-box configurable option to do this.  To word wrap the text of suggested action buttons, we need to do a little extra, manual work to make it happen.
Additional context

Screenshot:

Thanks for filing this issue! I've added the feature request label. If any one else would like this feature, please thumbsup the original comment above.

Quick note, @sam-sam-med posted a screencap of Adaptive Cards (which is not Web Chat's domain), but this change is intended for Web Chat's Suggested Actions buttons.

Hi @corinagum, this is the exact same issue I'm also facing with - text in suggested actions is cut-off when too long. And I'm happy to see it's been moved to in progress recently. If possible, could you also share me the ETA of it? Thank you.

Hi @corinagum, this is the exact same issue I'm also facing with - text in suggested actions is cut-off when too long. And I'm happy to see it's been moved to in progress recently. If possible, could you also share me the ETA of it? Thank you.

Hi @HuaTang92. Currently there is no official ETA. I was offline for a few weeks, so I did not add progress to this work item. Web Chat team's planning meeting will most likely be happening soon, after which more information will be available.

Hi @HuaTang92. Currently there is no official ETA. I was offline for a few weeks, so I did not add progress to this work item. Web Chat team's planning meeting will most likely be happening soon, after which more information will be available.

Per discussion with compulim: adding needs-team-discussion to verify if we should have design meeting -- word wrap on buttons is not very common as a default feature

This would affect flow layout of SA - is word wrap in flow layout possible?

height of buttons on the same line may be different.

Per discussion with compulim: adding needs-team-discussion to verify if we should have design meeting -- word wrap on buttons is not very common as a default feature

This would affect flow layout of SA - is word wrap in flow layout possible?

height of buttons on the same line may be different.

@Quirinevwm Do you have feedback on this request? 🙂

@Quirinevwm Do you have feedback on this request? 🙂

@corinagum sure! As scribbled in the overview: 'flow' does look weird when content for actions differ in length. If they are more similar the flow experience is better. It's just since we don't' control any content our end users put in let's go for 'stacked'.
From a design perspective, I actually like that the 'bug' now highlights the essence for the content to be short for the action :) Aside we should be able to make this experience nicer. Suggestions for stacked:

Multi line of max 2 lines (max character count). If we make it possible to put in large chunks of text, the actions start to look more like cards.. The double width action (2 lines) really feels like the max to mimic a button.
Whenever the max character count then overrides 2 lines (the text is still cut off) can we rely on hover (canvas specific) to show the ending of the line of text.

@corinagum sure! As scribbled in the overview: 'flow' does look weird when content for actions differ in length. If they are more similar the flow experience is better. It's just since we don't' control any content our end users put in let's go for 'stacked'.
From a design perspective, I actually like that the 'bug' now highlights the essence for the content to be short for the action :) Aside we should be able to make this experience nicer. Suggestions for stacked:

Multi line of max 2 lines (max character count). If we make it possible to put in large chunks of text, the actions start to look more like cards.. The double width action (2 lines) really feels like the max to mimic a button.
Whenever the max character count then overrides 2 lines (the text is still cut off) can we rely on hover (canvas specific) to show the ending of the line of text.

Ps. I do think the way forward could be 'Flow' as conversation designers/content creators get more specific on making the 'actions' short in content :)

Ps. I do think the way forward could be 'Flow' as conversation designers/content creators get more specific on making the 'actions' short in content :)

@Quirinevwm to make sure I understand,

Only implement word wrapping on SA buttons for stacked layout
Max char count for all SA buttons

(What should this max char count be?)

Investigate SA buttons char max length

Investigate tooltip on hover for extra long buttons

Without having looked into it I'm concerned this will not be trivial, but I'll report back

(Based on PS): Continue to encourage bot developers to use short text names for SA buttons?

Please let me know if I got anything wrong 😆

@Quirinevwm to make sure I understand,

Only implement word wrapping on SA buttons for stacked layout
Max char count for all SA buttons

(What should this max char count be?)

Investigate SA buttons char max length

Investigate tooltip on hover for extra long buttons

Without having looked into it I'm concerned this will not be trivial, but I'll report back

(Based on PS): Continue to encourage bot developers to use short text names for SA buttons?

Please let me know if I got anything wrong 😆

@corinagum yes!
Just for stacked: only way that works with wrapping
for the max character count, I propose to start with #25 or #20 - then we can explore together if you've mocked it up?

main goal, encourage devs to go for 'short content on SA action buttons'
Bit of guidance: Rule of thumb to use a verb phrase for the title of a push button. If you need more than 20-25 characters it likely that the experience for the user will be affected (especially if you include multiple buttons). Also by hiding in the tool tip is not the recommended experience.

Only implement word wrapping on SA buttons for stacked layout

50c from a 'customer'. Since one is already trying to free up as much real estate as possible when selecting the flow layout, you are safe to assume that the length of the text on the button (the CTA) is already as short as possible. So it makes sense to not word-wrap in flow layout.

@HesselWellema thanks for the feedback! We've had tons of differing opinions on this topic so it's good to see alignment with the decisions we receive from the designers. Overall we strongly believe that buttons should always be a short as possible, with necessary context added with the activity. I'll be documenting this in our PR

authors: HesselWellema HuaTang92 Quirinevwm corinagum sam-sam-med

repo: microsoft/BotFramework-WebChat


text:
Questions for different modes of UniXcoder

Hi,
Thanks for your good work,
For UniXcoder, the example that measures the similarity between NL-PL pairs you showed is using encoder-only mode.
Is it possible that encoder-decoder mode can achieve better results?
My task is to extract embeddings (function embedding) and measure the similarity between them, which mode do you suggest to use?
Thanks a lot,
Rongqi

In pre-training, we use encoder-only mode for contrastive learning, so encoder-decoder mode  will perform worse.
I suggest you use encoder-only mode to measure the similarity, since encoder-decoder and decoder-only mode is for generation.

cross-modal generation task is encoder-decoder mode. However, for code-to-text generation, the code fragment is encoded by encoder-only model and generate text using encoder-decoder mode.

Yes.

authors: guoday rongqipan

repo: microsoft/CodeBERT


text:
Fix caching in afr driver

Description
1.) Update the cache on network call response in storage manager.
2.) No need to cache latest in initializeSnapshot with latest id, as if it came from cache, then no need to update again and we are doing so on network call response.

@jatgarg - heads up - would be nice to point to ADO items that it helps to fix - hard to connect the dots when we need to point people to both root cause, but also investigations

authors: jatgarg vladsud

repo: microsoft/FluidFramework


text:
Sequence zero length obliterate fix

Guard assert on deltaArgs.deltaSegments.length in SequenceEvent to allow zero length obliterates. An obliterate can still have an effect on concurrent inserts even if it affects zero segments when it is sequenced.

Merged into https://github.com/microsoft/FluidFramework/pull/23011


text:
emit resumeConnection event from container

Our internal Loop partners are trying to measure performance and reliability when establishing the websocket connection.  However, there is no centralized place to detect when we are actually starting to connect.
It could be from them calling resume, or setAutoreconnect, or some time after "disconnect" event is raised as the framework tries to reconnect.  And in the case of resume, one supported configuration is to let the host app call resume, in which case the shared code being instrumented has no visibility into when the connection attempt begins.
So, this PR adds a new "resumeConnection" event which is fired from the Container when it is kicking off the connection.
My intention would be to add this event to IContainEvents in container-definitions package once this implementation goes in.

@vladsud I need you to look at this please.  Thanks!

I'm not sure what hosts are looking for exactly, but would same problem be solved by exposing duration on existing events? I.e. what we log in telemetry as duration in _Connecting & _Connected events?
Note that either way time covered will include things like data center meltdown (in various forms, including 429s), so it will never cover single attempt. So hosts are likely to want to cover user experiences only, and even today they have full control here (in the form of where they call various APIs) - I think it would be easier for hosts to use explicit workflows and track individual scenarios (connection on boot, connection on user returning back to computer), then rely on general events like that.

I'm not sure what hosts are looking for exactly, but would same problem be solved by exposing duration on existing events?

@vladsud - This is an ask coming out of the work I've done with Vivek, we are trying to instrument initial connection in OWH code.  Current reality is that many sessions close without ever connecting.  So we need a signal when we are trying to start to get the baseline of our reliability goal.

even today they have full control here (in the form of where they call various APIs)

See my initial comment.  There is a case where host apps can take responsibility for calling resume and OWH doesn't know.  This is what triggered this work.  Hoping to get this in for next release (should have started it sooner) so it's ready for Vivek to code against when he returns in 2 weeks.

Other way to think about this - The host is interested in cases where the user is disconnected but doesn't want to be.  Today, it's starting a 15 second timer after disconnected event.  But that's not "fair" to us, because maybe we don't even try to connect until some time later.  This event gives the host a clear picture - "I am trying to connect....I connected" will be the message they get now.

Other way to think about this - The host is interested in cases where the user is disconnected but doesn't want to be. Today, it's starting a 15 second timer after disconnected event. But that's not "fair" to us, because maybe we don't even try to connect until some time later. This event gives the host a clear picture - "I am trying to connect....I connected" will be the message they get now.

I'm not sure I follow. 15 second is UX thing, it has nothing to do with ability to track (internal) transitions.

There is a case where host apps can take responsibility for calling resume and OWH doesn't know. This is what triggered this work. Hoping to get this in for next release (should have started it sooner) so it's ready for Vivek to code against when he returns in 2 weeks.

I think if OWH moves responsibility to call resume() to hosts, then responsibility to track all the times moves as well. Basically, user does not care if connection takes 5 seconds if hosts waits 10 seconds before calling resume(). You want to see first full picture (end-to-end), then follow with break down.
I do not have very big push back on event, but let's clearly define the meaning of it, as right now it's not clear to me when it should fire (see comment on IF check)

Closing for now, the partner asking for this event can build on disconnected event as the signal that we are (about to be) trying to connect.

authors: markfields vladsud


text:
[refactor] SWIG - Split pointer manipulation to individual .i file

To make SWIG interface declarations more readable,
pointer manipulation methods were split to a separate module.

Hello @imatiach-msft , as you are the core maintainer of SWIG, can you review this one?
I just moved the existing code to a separate file and added a brief overview.

@guolinke can we merge this?

Could you please update this PR to the latest master? We recently learned that our CI was missing one of the checks that replicates CRAN (#3585 ), and added a new R CI job (#3588). Sorry for the inconvenience.

authors: AlbertoEAF jameslamb

repo: microsoft/LightGBM

license: mit


text:
mxnet to pytorch, 'NpzFile' object has no attribute 'item'

Platform: win10
Python version: 3.8.3
Source framework with version: mxnet-cu102 1.6.0
Destination framework with version:  pytorch 1.6.0
Pre-trained model path:
link
extraction code：x2vu
Running scripts:
$ mmtoir -f mxnet -n model-symbol.json -w model-0000.params --inputShape 3,112,112 -o IRmxnet
$ mmtocode -f pytorch -n IRmxnet.pb -w IRmxnet.npy -o IRpytorch.py -dw IRpytorch.npy
$ mmtomodel -f pytorch -in IRpytorch.py -iw IRpytorch.npy -o Res_50.pth
I use these scripts to get the .pth
but when i run the code:

def load_weights(weight_file):
if weight_file == None:
return
try:
    weights_dict = np.load(weight_file, allow_pickle=True).item()
except:
    weights_dict = np.load(weight_file, allow_pickle=True, encoding='bytes').item()

return weights_dict

weight_file is the Res_50.pth , and then, i got this:

Traceback (most recent call last):
File "D:\Program Files (x86)\JetBrains\PyCharm 2020.2.1\plugins\python\helpers\pydev\pydevd.py", line 1448, in _exec
pydev_imports.execfile(file, globals, locals)  # execute the script
File "D:\Program Files (x86)\JetBrains\PyCharm 2020.2.1\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:\PythonProject\mycode\pytorch_test.py", line 16, in
model = KitModel('./Res_50.pth').to(device)
File "D:\PythonProject\mycode\IRpytorch.py", line 26, in init
_weights_dict = load_weights(weight_file)
File "D:\PythonProject\mycode\IRpytorch.py", line 16, in load_weights
weights_dict = np.load(weight_file, allow_pickle=True, encoding='bytes').item()
AttributeError: 'NpzFile' object has no attribute 'item'

please help me !

Platform: ubuntu18.04
Python version: 3.6.12
Source framework with version: mxnet-cu102 1.6.0
Destination framework with version: pytorch 1.3.1
Running scripts:
$ mmtoir -f mxnet -n model-symbol.json -w model-0000.params --inputShape 3,112,112 -o IRmxnet
$ mmtocode -f pytorch -n IRmxnet.pb -w IRmxnet.npy -o Resnet50.py -dw Resnet50.npy
$ mmtomodel -f pytorch -in Resnet50.py -iw Resnet50.npy -o Resnet_50.pth
I changed my computer today. Now i got different error
this is my used scrpts to load .pth:

import torch
from Resnet50 import KitModel
if name == 'main':
device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')
# Load Model
model = KitModel('./Resnet_50.pth').to(device)

model.eval()

and this is the Resnet50.py

import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
import math
__weights_dict = dict()
def load_weights(weight_file):
if weight_file == None:
return
try:
    weights_dict = np.load(weight_file, allow_pickle=True).item()
except:
    weights_dict = np.load(weight_file, allow_pickle=True, encoding='bytes').item()

return weights_dict

class KitModel(nn.Module):
def __init__(self, weight_file):
    super(KitModel, self).__init__()
    global __weights_dict
    __weights_dict = load_weights(weight_file)
   '''network...'''
def forward(self, x):
  ''' forward '''

when program run the model = KitModel('./Resnet_50.pth').to(device), it will run into function load_weights. And this time, weights_dict = np.load(weight_file, allow_pickle=True).item() prompts for an error message

Traceback (most recent call last):
File "/home/wwgz-cbm/pycharm-professional-2020.2.3/pycharm-2020.2.3/plugins/python/helpers/pydev/pydevd.py", line 1448, in _exec
pydev_imports.execfile(file, globals, locals)  # execute the script
File "/home/wwgz-cbm/pycharm-professional-2020.2.3/pycharm-2020.2.3/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/wwgz-cbm/PycharmProjects/pythonProject/mmdnn-test/pytorch_val.py", line 15, in
model = KitModel('./Resnet_50.pth').to(device)
File "/home/wwgz-cbm/PycharmProjects/pythonProject/mmdnn-test/Resnet50.py", line 26, in init
__weights_dict = load_weights(weight_file)
File "/home/wwgz-cbm/PycharmProjects/pythonProject/mmdnn-test/Resnet50.py", line 16, in load_weights
weights_dict = np.load(weight_file, allow_pickle=True, encoding='bytes').item()
AttributeError: 'int' object has no attribute 'item'

please help me !（There seems to be no relu or prelu in the the .pth file generated  by mmdnn ?)

problem solved . loading model like #862

repo: microsoft/MMdnn


text:
Esent & VirtualAlloc Calls - Memory Leak?

We are using the ManagedEsent lib and therefor Esent in our desktop application. It is used as a Cache to store all kind of data (e.g. user data like names or binary stuff like images and larger binary stuff like word documents etc.
The library served us well for the last couple of years.
Recently 2 customers noted that some clients are demanding more and more memory. Both customers use Citrix and our first thought was, that it must be something wrong with Citrix. Unfortunately the issue can't be easily reproduced - it is not always the same user and we couldn't find a pattern.
After hours of investigation we finally could get a Windows Performance .etl file and it seems that esent claims more and more memory:

Line #, Process, Commit Stack, Commit Time (s), Decommit Time (s), Address, Count, Size (MB)
2, , [Root]/ntdll.dll!RtlUserThreadStart/kernel32.dll!BaseThreadInitThunk/ntdll.dll!TppWorkerThread/ntdll.dll!TppTimerpExecuteCallback/ntdll.dll!RtlpTpTimerCallback/esent.dll!COSTimerQueueEntry::Completion_/esent.dll!BFIMaintCacheSizeITask/esent.dll!ErrBFICacheGrow/esent.dll!ErrBFICacheISetSize/esent.dll!ErrBFICacheISetDataSize/esent.dll!OSSYNC::FPageCommit/KernelBase.dll!VirtualAlloc/hmpalert.dll!<PDB not found>/ntdll.dll!NtAllocateVirtualMemory/ntoskrnl.exe!KiSystemServiceCopyEnd/ntoskrnl.exe!NtAllocateVirtualMemory/ntoskrnl.exe!MiAllocateVirtualMemory, 0.885232700, 1.683456200, 0x0000028B9C2D0000, 1, 512.000

The CPU is also quite busy with those calls:

Be aware, that this is a server with "lots" of memory, but one client that claims all memory is problematic.
Question: Do I read the etl file correct and that "esent" seems to be the root cause of the memory allocation? What does "BFIMaintCacheSizeITask" and "ErrBFICacheISetSize" do? I couldn't find anything and maybe someone from the ManagedEsent team knows more.
I found a property CacheSize (Docs), but I'm not 100% sure if this would solve the problem or how to apply it - I can't find in the Microsoft.Isam.Esent.Interop.Instance - InstanceParameters-Property.

The BF functions have to deal with the buffer cache.
Yes, you'll probably want to set CacheSizeMax. https://docs.microsoft.com/en-us/windows/win32/extensible-storage-engine/systemparameters.cachesizemax-property
Basically: The database cache starts at zero, and grows very aggressively up to CacheSizeMin. Once it's there, it can grow up to CacheSizeMax if there's available memory on the system. It should stay between CacheSizeMin and CacheSizeMax. It is supposed to back off when another process needs it more.
The cache-sizing algorithm uses LRU-K. If the database is small, then there's no need for it to grow very large. If the database IS large, but you only ever access the same few rows of the same few tables, then it will not grow very large, either.
So your process is likely accessing large portions of the database, and it's likely being done on a machine with lots of available memory. Just because it's using a lot of memory does not mean that it's a leak. It should shrink if other programs start to use memory. But to be safe, setting the min/max cache sizes can make it more predictable. Are you seeing negative performance on the system, or was it just noticed that it had a lot of memory allocated?
You can use the Database counters in perfmon to see the current Database Cache Size (MB)

Hope that helps.

Are you seeing negative performance on the system, or was it just noticed that it had a lot of memory allocated?
The IT admins were not very happy that a process claims ~20-40GB memory ("commit size", not active working set) and those servers were unstable at this point. I'm not really sure why or how some process gets this big, because our data inside the esent database is quite small (>500mb).
The CacheSizeMax property seems a good fit - at least it would help, if we could set a hard limit.
How do I apply the CacheSizeMax property via ManagedEsent? Is is not a part of the InstanceParameters

Thanks for your help!

It's SystemParameters.CacheSize:
https://github.com/microsoft/ManagedEsent/blob/master/EsentInterop/SystemParameters.cs
@MsftBrettShirley @michaelthorp is it a known issue that the database cache might grow well beyond the database size?
@robertmuehsig which OS version is it? WPA should be able to tell you.

@machish Thanks - didn't noticed the static SystemParameters class. The OS was Windows Server 2019.

authors: machish robertmuehsig

repo: microsoft/ManagedEsent


text:
Cannot start the Compositor

I want to use Azure Kinect to film hololens2. all is build and no erro, but cannot start the compositor. this is the window of compositor

I cannot Select the Video Source from the dropdown list . where can show the dropdown list?

You need to be running a scene containing the SpectatorView.Compositor prefab in the Editor (such as SpectatorViewCompositor) for these menus to become enabled.

Thank you, it work.

repo: microsoft/MixedReality-SpectatorView


text:
Hand Menu scene description panel buttons overlap with text

Describe the bug
On device and the editor, the buttons in the Hand Menu Example scene description panel overlap with the text above it.
Screenshots
On device:

Editor:

Your setup (please complete the following information)

Unity Version 2019.4.20f1

@elbuhofantasma Could you please check the version number of the TextMeshPro? It seems like TMP version issue.

@cre8ivepark I am using the version that Unity 2019.4.20f1 gives you by default. That version is 2.1.1.

@elbuhofantasma I tried multiple combinations with Unity 2018 and 2019 with TextMeshPro 1.4.1 and 2.x.x
It seems this is the bug specific to TextMesh Pro 2.1.0 - 2.1.3.
A higher or lower version does not show this symptom.
1.4.1 - No issues (this is our current ver. in the packages/manifest.json)
2.0.1 - No issues
2.1.0 - Shows the symptom
2.1.1 - Shows the symptom
2.1.3 - Shows the symptom
2.1.4 - No issues (latest version available)
Looking into changelogs about 'spacing' and it seems there were several updates around it.
https://docs.unity3d.com/Packages/com.unity.textmeshpro@2.1/changelog/CHANGELOG.html

@davidkline-ms to add an update in the json manifest for UPM.
@polar-kev to verify that docs recommend latest version of TMP when manually importing packages

authors: cre8ivepark elbuhofantasma polar-kev

repo: microsoft/MixedRealityToolkit-Unity


text:
Merge stabilization into dev

Merge stabilization into dev

/azp run

/azp run


text:
Clarify which tenant is which

When listing Primary /secondary tenant, would be valuable to indicate Primary (Resource), secondary (Data). i keep losing track

Updated Github

repo: microsoft/OpenHack-FHIR


text:
Memory leak on RetrieveMultipleAsync

In the last 3 releases:

1.1.22
1.1.27
1.1.32

The memory leak as described in Issue #207 has returned.
Version 1.1.17 however does not have this issue.
As per #207 this new leak is also only an issue when using RetrieveMultipleAsync, using RetrieveMultiple works as expected
As per [https://github.com/microsoft/PowerPlatform-DataverseServiceClient/issues/207#issuecomment-983838048](This reply on 207 )
I tested the following and still saw memory consumption continue to rise and never be released:

Smaller Batch sizes
Pulling from narrow tables, (The example below is using ActivityParty which is only 33 columns wide)

Here is some sample code from a .NET 8.0 Console App which reproduces the issue:
using Microsoft.PowerPlatform.Dataverse.Client;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Query;

internal class Program
{
    private static async Task Main(string[] args)
    {
        string InstanceURL = "<Dynamics URL Here>";
        string ClientId = "<ClientId Here>";
        string ClientSecret = "<ClientSecret Here>";

        ServiceClient.MaxConnectionTimeout = TimeSpan.FromMinutes(60);
        ServiceClient client = new ServiceClient($"AuthType=ClientSecret; Url={InstanceURL}; ClientId={ClientId}; ClientSecret={ClientSecret}")
        {
            EnableAffinityCookie = false,
        };

        QueryExpression query = new()
        {
            PageInfo = new PagingInfo
            {
                PagingCookie = "",
                PageNumber = 1,
                Count = 5000,
            },
            EntityName = "activityparty",
            Distinct = false,
            NoLock = true,
            ColumnSet = new ColumnSet(true),
        };

        bool MoreRecords = false;
        long TotalCount = 0;
        do
        {
            EntityCollection QueryResult = await client.RetrieveMultipleAsync(query);
            TotalCount += QueryResult?.Entities?.Count ?? 0;
            MoreRecords = QueryResult?.MoreRecords ?? false;
            if (MoreRecords)
            {
                query.PageInfo.PagingCookie = QueryResult?.PagingCookie ?? string.Empty;
                query.PageInfo.PageNumber++;
            }
        }
        while (MoreRecords);

        Console.WriteLine($"Downloaded {TotalCount:N0} Records");
    }
}

thanks for reporting,  have you configured MaxBufferPool for the client? or are you using defaults?

@lukeswanton Also note:  We change the spelling of the config setting from MaxBufferPoolSizeOveride to MaxBufferPoolSizeOverride
(we were missing a "r" in Override)

@MattB-msft everything is using the default settings except where updated as per the example code.

The fix we did for #207 was to open up the access to the MaxBufferPoolSize property to allow as user to tune the buffer sizes to prevent fragmentation in memory and to allow .net GC to handle that better,
Out of curiosity, In your use case, is the "effort" column populated in the activityparty?
And given your paging there how many records are you working with?

@MattB-msft the example provided is not the actual usecase as that is against a custom table with 52 columns and circa 10million rows.
But for reproduction purposes I recreated the issue against an OOB table that has very few columns (no. columns considered due to your reply on #207) and activityparty was a good fit as it is also typically on the larger side.
My concern here is not whether messing with settings can resolve it, but rather the default OOB settings result in a memory leak in the last 3 releases but do not in releases prior.
For my actual usecase I have simply swapped to using the older package version in NuGet and all is working as expected with no memory usage leak.
So it looks like what ever changes where implemented in the 1.1.22 release have caused the recurrence of this leak.

Ok, that help clarify what you're seeing @lukeswanton,
We will have a look now that we understand your seeing it as a general regression and not use case specific.
as for what changed:
in .22, the underlying ServiceModule libs were bumped due to security issues in lower-level transient dependencies.
in .32, the underlying ServiceModule subsystem was forked for .net core and .net framework due to .net core choices that broke backward compatibility.

Thanks @lukeswanton. I did experiment with setting MaxBufferPoolSizeOverride but that didn't appear to stop the heap size from ever-increasing, and that's with forcing a GC before fetching the next page of results as well.
This is my first outing with the Dynamics SDK so just plumped for the latest version. But have just tested with 1.1.17 and it seems to play nicely with the rest of the codebase, so I'll also switch to that for the time-being.

@iturner100  what page size are you using? I have similar issue with Dataverse client on Azure Container Apps, though even after going back to 1.17 and using ReceiveMultiple instead of ReceiveMultipleAsync I'm still getting "Failed to allocate a managed memory buffer of 268435456 bytes. The amount of available memory may be low."

authors: MateuszPeczek MattB-msft iturner100 lukeswanton


text:
SignUpGenius (Independent Publisher)

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[X] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[X] I attest that the connector works and I verified by deploying and testing all the operations.
[X] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[X] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[X] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[X] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[X] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[X] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[X] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

Hello @troystaylor,
Thank you very much and congratulations on your new submission. Our Certification Engineers will review it within 1-2 weeks.
Please let us know if you have any questions.
Thank you very much again for working with us.

[[certify-connector]]

Hello @troystaylor,
I hope you are doing well.
Congratulations, your connector is approved. We will move forward with the certification process. We are preparing your connector for production deployment and will queue up for the next deployment schedule. Once your connector onboards the next deployment schedule, it starts to deploy your connector in our production environments that typically takes 3-4 weeks.
Please let us know if you have any questions.
Thank you very much for working with us.

Hello @troystaylor,
I hope you are doing well.
Your connector is in production deployment and queued up for the next deployment schedule. This process typically takes 3-4 weeks. Please note that the documentation for your connector will not be generated until the deployment process is in the final steps.
Please let us know if you have any questions.
Thank you very much for working with us.

Hello @troystaylor,
I hope you are doing well.
Congratulations, the deployment of your connector and documentation page was already completed, We have a short survey on the connector certification process that we would like for you to complete. Your feedback is appreciated and will help us improve the program.
Thank you very much for working with us.

authors: Amjed-Ayoub sriyen-msft troystaylor v-EgorKozhadei

repo: microsoft/PowerPlatformConnectors


text:
Plumsail HelpDesk (Certified Publisher) - Added support of region selection when creating a new connection

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[x] I attest that the connector works and I verified by deploying and testing all the operations.
[x] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[x] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[x] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[x] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

Updates: Added support for region selection when creating a new connection.
Backward compatibility: The update was tested with existing connectors and doesn't break old connections. Changes kick off only after connection recreation or editing.
Notes:
I'm resubmitting the pull request again because I was told to do so in the old one. It seems like the build pipeline had issues and I need to recreate the pull request.

Hi @vmanoharas,
Please review the conversation in another PR:
https://github.com/microsoft/PowerPlatformConnectors/pull/2920#issuecomment-1709610763
I recreated PR twice, as you asked. It didn't help.

Hello @antonkhrit,
Apologies for the inconvenience caused. Can you please abandon this PR and raise new PR again.

Hello @antonkhrit,
Apologies for the inconvenience caused. Can you please abandon this PR and raise new PR again.

Hi @vmanoharas,
I created a new one:
https://github.com/microsoft/PowerPlatformConnectors/pull/2940
The issue is the same.

authors: antonkhrit vmanoharas


text:
Fancy Zones error

Microsoft PowerToys version
0.47.0
Running as admin

[ ] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
Opened settings-> fancy zones layout editor because fancy zone custom layout did not resume when computer was reconnected to monitor. Editor crashed and closed without visibly opening.
Custom layouts were still in editor, however I had to open the settings to reassign the custom layouts to my monitors. The only thing I did was disconnect my laptop, put in to sleep mode, reconnected the next monrning.
✔ Expected Behavior
Layouts to stay assigned to monitors, i.e. last config sticks to number of monitors, changes or does not assign a layout if more monitors appear. For example if I disconnect from a 2 monitor setup I would expect when I reconnect to keep the same layout/settings and if more/less monitors appear keep same settings with additional monitors to not yet be assigned any layout. If less monitors, keep layouts for corresponding montiors.
❌ Actual Behavior
Layout assigned defaulted to default layouts in fancyzones editor.
Other Software
No response

Seems like #13105

Could you attach a full bug report file? Right-click on the tray icon and click Report Bug. Then drag-and-drop the generated file into the GitHub comment to upload it. Thanks!

Having the same issue with the latest Powertoys update. When the desktop resolution changes (such as when launching & exiting a full screen game), the zone layout is reset back to default.

repo: microsoft/PowerToys


text:
Color Picker paste color in uppercase

Microsoft PowerToys version
0.49.1
Running as admin

[X] Yes

Area(s) with issue?
ColorPicker
Steps to reproduce
When you get a color with the eyedropper, if you paste the color directly (without using an alternative format), the HEX code is paste in uppercase, not in lowercase.
In my opinion, the best way should be to add an option in the default list that allow the user to decide between the lowercase or the uppercase as default.
CMYK - cmyk(100%, 50%, 75%, 0%)
HEX - FFAA00
HEX - ffaa00
HSB - hsb(100, 50%, 75%)
(...)
Good job!
Thx
✔ Expected Behavior
Paste color in lowercase
❌ Actual Behavior
Paste color in uppercase
Other Software
No response

Limited issues: #8305

/dup #8305

authors: arnofly crutkas franky920920


text:
Want the 'window maximize button' to be FancyZone compliant

Description of the new feature / enhancement
With an ultra-wide LCD, using the standard Windows window maximize button can be very wide and difficult to use.
I want a setting that can be maximized within the area defined by FancyZone.
Scenario when this would be used?
When you want to maximize the window in the FancyZone with an ultra-wide LCD.
Supporting information
No response

/dup #279

authors: Aaron-Junker kizcaw


text:
PowerToys not showing Minecraft Launcher's icon

Microsoft PowerToys version
0.57.2
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce

Alt+Space to trigger PowerToys run
Type in "Minecraft Launcher"

✔ Expected Behavior
Showing Minecraft Launcher's Icon
❌ Actual Behavior
Showing missing icon

Other Software
No response

Turnning down "Run as Admin" still not works

It was somehow solved.

authors: BennyDioxide codinglikenoob


text:
Preserve Original Window Size

Would it be possible to preserve the original window size, for windows that are maximized when dragged into a zone, so that they return to their last state if dragged from the zone? This would be similar to the way Windows 10 handles windows that are dragged after they are snapped to the edge of a screen.

Hi @esiemiat
thank you for your feedback, we are already tracking this feature in https://github.com/microsoft/PowerToys/issues/166
I will close this one as a duplicate.
Thank you.

authors: enricogior esiemiat


text:
Sometime PowerRun Doesn't Work

Microsoft PowerToys version
0.62.1
Running as admin

[ ] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
Press Alt+Space While in any application or browser
✔ Expected Behavior
The Search bar should open up
❌ Actual Behavior
Couple of tries later it pops, Doesn't Start at first couple of times
Other Software
No response

Just found there's a setting called "Centralized Keyboard Hook". That fixed it. 😃


text:
Mouse Utilities: Cursor Highlighter

Description of the new feature / enhancement
When turned on, a halo (similar to mouse highlighter) stays on around the cursor.
Perhaps have a different option for CROSS HAIRS to have HIGHLIGHT ALWAYS ON instead.
Options could be:

Highlight Color
Radius size
Opacity
Border Size
Border Color

Scenario when this would be used?
Useful for when sharing screen:

Presentations
Creating Video Tutorials
Classroom setting

Supporting information
There seems to be another app out there "Auto-Hot Key" that has similar functionality.
https://www.autohotkey.com/

I think you're referring to Cursor Highlighter from Luc Boisvert.
I agree. I thought I could replace Boisverts cursor highlighter script with power toys' highlighter, but the features in Boisvert's script are better in my opinion.
Boisvert's highlighter:

is constant
left and right clicks can have different sizes as well as colors
Highlight doesn't "stay in place" after clicking, it follows the mouse.

/dup #14137

authors: ArkEngel crutkas fallerallera


text:
Power toy run crash.

Microsoft PowerToys version
0.66.0
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
PowerToysReport_2023-01-26-19-01-22.zip
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

Can you please upgrade to latest 0.73 and verify if the issue still occur?
/needinfo

authors: InfinityPatel davidegiacometti


text:
File Locksmith问题反馈

Microsoft PowerToys version
0.67.1
Installation method
PowerToys auto-update, Microsoft Store
Running as admin
Yes
Area(s) with issue?
File Locksmith
Steps to reproduce
文件删除、移动或拔出U盘时提示文件被占用。使用该功能检查锁定进程，显示未被任何程序占用。望解决，ᠪᠠᠨᡳᡥᠠ（巴尼哈/谢谢）
✔ Expected Behavior
扫描到占用程序，并解除占用。
❌ Actual Behavior
扫描不到任何信息。
Other Software
No response

Are you still experiencing this issue? /needinfo

您仍然遇到此問題嗎？/需要資訊

您好，该问题似乎并未解决。

authors: AisinGioroKiIoi cinnamon-msft


text:
Shortcut Guide for PowerToys shortcuts

Description of the new feature / enhancement
Adding the PowerToys shortcuts to Shortcut Guide or add other page for these shortcuts
Scenario when this would be used?
I'm struggling remembering PowerToys shortcuts, so it could be good to have a quick way to review them.
Supporting information
No response

I mentioned the hotkey memorization problem in https://github.com/microsoft/PowerToys/issues/25197
My solution is different (merger of Screen Snipping Tool + Text Extractor into one PrintSreen rectangle select utility, that also has optional direct hotkeys that bypass the context menu).
So my solution is only for rectangle-selector -- but the sentiment is there as well.

Basically, using the proposed context menu (pops up after selecting screen rectangle), as a memorization cheat sheet.

Duplicate of #25172?

See also Shortcut Guide - also show the shortcut keys defined in PowerToys settings? #25457

/dup https://github.com/microsoft/PowerToys/issues/15405

authors: MortenLoberg XibalbaM mdrejhon pashagolub stefansjfw


text:
WCAG contrast analyzer

Description of the new feature / enhancement
With a color picker able to take two samples of color for foreground and background and calculate contrast ratio between them
Scenario when this would be used?
A tool like this will be very handful to test WCAG 1.4.3, 1.4.6 and 1.4.11 color contrast criteria, Accessibility auditors and web developers concerned in accessibility will appreciate an easy mean to know if contrast is enough to meet WCAG.
Supporting information
No response

/dup https://github.com/microsoft/PowerToys/issues/9357

authors: cizquierdof crutkas


text:
Add Custom Web Search Feature to PowerToys Run

Description of the new feature / enhancement
I propose adding a new feature to PowerToys Run that would allow users to create custom web search filters, similar to the functionality available in Alfred for macOS. This feature would enhance the productivity and usability of PowerToys Run by enabling users to perform web searches directly from the application.
Scenario when this would be used?

Users often need to perform web searches for specific topics, products, or documentation.
With this feature, users can define custom web search filters, specifying the search engine (e.g., Google, Bing, DuckDuckGo) and the search query placeholders.
For example, a user could define a filter for searching on "caniuse.com" by typing "caniuse [query]" in PowerToys Run, where "[query]" would be replaced with the user's search term.
This feature would streamline the web search process and save time by eliminating the need to open a web browser and visit the search engine's website manually.

Supporting information
This feature is inspired by the functionality available in Alfred for macOS, which has received positive feedback for its convenience and productivity benefits.
This feature could be implemented as a user-configurable option in PowerToys settings, allowing users to define their own web search filters and keywords.

/dup #3420

authors: Aaron-Junker mattisvensson


text:
MS POWER TOYS- Keyboard manager  KEY STUCK

Microsoft PowerToys version
0.84.1
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
Keyboard Manager
Steps to reproduce
remap your any key top ctrl or shift  and do cpu intresic tasks
✔ Expected Behavior
it should work fine
❌ Actual Behavior
but the ctrl get stuck as if it is permanently pressed and it only fix itself after a restart
Other Software
No response

Also have the same problem with shift and ctrl keeps hanging random while using them in a macro in "Keyboard Manager"

I can confirm this issue as well. Once I reverted back to version 0.83.0 the problem is gone.

/dup https://github.com/microsoft/PowerToys/issues/22346

authors: Iminzilion aikansh1 crutkas oushies


text:
[Shortcut Guide] Overlay didn't close after screen lock

ℹ Computer information

PowerToys version: v0.20.1
PowerToy Utility: Shortcut Guide
Running PowerToys as Admin: Yes
Windows build number: 19041.450

📝 Provide detailed reproduction steps (if any)

Enable Shortcut Guide at power toys
Use keyboard shortcut(Win + L) to lock screen
Login to desktop and the Shortcut Guide overlay didn't close

This bug didn't trigger every time but it is quite frequent.
✔ Expected result
Login to desktop without Shortcut Guide overlay stay on screen

Closing in favor of https://github.com/microsoft/PowerToys/issues/7978


text:
Fancy Zones snaps on drag start

ℹ Computer information

PowerToys version: v0.28.0
PowerToy Utility: Fancy Zones
Running PowerToys as Admin: true
Windows build number: 20H2 (OS Build 19042.630)

📝 Provide detailed reproduction steps (if any)

Enable and Create Fancy Zones

✔ Expected result
Window should snap to zone on drag release.
❌ Actual result
Window snaps to zone on drag start.
When dragging window and holding shift (or when just dragging if Hold Shift key is disabled) the window immediately snaps to the fancy zone instead of doing it on mouse release. This results in the screen flashing the fancy zones and immediately snapping the window without letting the user properly take advantage of the fancy zones (since it snaps to the nearest one, effectively just resizing the window)

Had the same issue, restart of PowerToys helped for me.

@dbara Restart of powertoys and restart of windows both did not resolve the issue for me.

@Mkassabov @dbara
the bug is tracked in https://github.com/microsoft/PowerToys/issues/8330
We'll post there a private build with a fix if you want to test it, otherwise there will be 0.27.1 released in a few days.
Thanks for reporting the issue.

authors: Mkassabov dbara enricogior


text:
[Advanced Paste > UX] Small spelling fix

Summary of the Pull Request
Small spelling fix of a string of the Advanced Paste UI. This should help for better translation.

PR Checklist

[x] Closes: https://github.com/microsoft/PowerToys/pull/33045#discussion_r1613584125
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[] Tests: Added/updated and all pass
[x] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

/azp run

@jaimecbernardo, @stefansjfw
Why is the build failing? Can't find any mistake.

Looks like flakiness. I'll just merge.

authors: htcfreek jaimecbernardo


text:
Enable PDF files in preview pane.

Summary of the Pull Request
This PR enables user to preview PDF files in the Explorer preview pane and in Outlook.
What is this about:
Windows does not support out of the box experience for previewing PDF files in the preview pane. Users need to install third-party software like Adobe Acrobat reader. The PdfPreviewHandler module enbales the user to preview PDF files. It is based on
@pvginkel his PdfiumViewer and @TimChen44 version of it for .NET Core PdfiumViewer.Core.
What is include in the PR:
How does someone test / validate:
Run the installer, open Explorer and select a PDF file, enable the preview pane. Maybe need to remove third-party PDF software.
Quality Checklist

[X] Linked issue: #3548
[ ] Communication: I've discussed this with core contributors in the issue.
[X] Tests: Added/updated and all pass
[X] Installer: Added/updated and all pass
[X] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[x] Binaries: Any new files are added to WXS / YML

[x] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

@rdeveen
Thank you for your contribution and the PR.
Some thoughts:

Shoud this be disabled by default to not break existing handler of e. g. Adobe Acrobat?
Does it make sense to have two different options for explorer and outlook?

@rdeveen
Thank you for your contribution and the PR.
Some thoughts:

Shoud this be disabled by default to not break existing handler of e. g. Adobe Acrobat?
Does it make sense to have two different options for explorer and outlook?

Shoud this be disabled by default to not break existing handlers of e. g. Adobe Acrobat?
Not sure, maybe it can be enabled by default if no other handlers are installed. And disabled if other handers are installed?

Does it make sense to have two different options for explorer and outlook?
I don't think this is possible, The previewers are enabled in both applicationas automatically. This is the same as for the MarkDown and SVG previewer.

Shoud this be disabled by default to not break existing handlers of e. g. Adobe Acrobat?
Not sure, maybe it can be enabled by default if no other handlers are installed. And disabled if other handers are installed?

Does it make sense to have two different options for explorer and outlook?
I don't think this is possible, The previewers are enabled in both applicationas automatically. This is the same as for the MarkDown and SVG previewer.

I would prefer if we would take this approach - https://blogs.u2u.be/lander/post/2018/01/23/Creating-a-PDF-Viewer-in-WPF-using-Windows-10-APIs - of using Windows APIs instead of bringing another external dependency for viewing PDFs

I would prefer if we would take this approach - https://blogs.u2u.be/lander/post/2018/01/23/Creating-a-PDF-Viewer-in-WPF-using-Windows-10-APIs - of using Windows APIs instead of bringing another external dependency for viewing PDFs

Shoud this be disabled by default to not break existing handlers of e. g. Adobe Acrobat?

Not sure, maybe it can be enabled by default if no other handlers are installed. And disabled if other handers are installed?

We should try to only enable it by default if no other handler is enabled at install time.

Does it make sense to have two different options for explorer and outlook?

I don't think this is possible, The previewers are enabled in both applicationas automatically. This is the same as for the MarkDown and SVG previewer.

Okay. I thought we have two different handlers because of your description.

Shoud this be disabled by default to not break existing handlers of e. g. Adobe Acrobat?

Not sure, maybe it can be enabled by default if no other handlers are installed. And disabled if other handers are installed?

We should try to only enable it by default if no other handler is enabled at install time.

Does it make sense to have two different options for explorer and outlook?

I don't think this is possible, The previewers are enabled in both applicationas automatically. This is the same as for the MarkDown and SVG previewer.

Okay. I thought we have two different handlers because of your description.

This solution worries me for ARM64 support when i see the following:

Install-Package PdfiumViewer.Native.x86_64.v8-xfa
Install-Package PdfiumViewer.Native.x86.v8-xfa

This solution worries me for ARM64 support when i see the following:

Install-Package PdfiumViewer.Native.x86_64.v8-xfa
Install-Package PdfiumViewer.Native.x86.v8-xfa

@rdeveen
as @crutkas pointed out, at this stage we are working towards stability and ARM64 compatibility.
We need to be very conservative and make sure that any dependency we add, it's 100% tested on ARM64 and doesn't have performance issue on ARM64.
The core doesn't have the time to do such testing for PdfiumViewer.Native.x86_64.v8-xfa or Package PdfiumViewer.Native.x86.v8-xfa. So unless you have a way to do such validation on ARM64 we will have to put this PR on hold.

@rdeveen
as @crutkas pointed out, at this stage we are working towards stability and ARM64 compatibility.
We need to be very conservative and make sure that any dependency we add, it's 100% tested on ARM64 and doesn't have performance issue on ARM64.
The core doesn't have the time to do such testing for PdfiumViewer.Native.x86_64.v8-xfa or Package PdfiumViewer.Native.x86.v8-xfa. So unless you have a way to do such validation on ARM64 we will have to put this PR on hold.

Can we create a quick POC here loading a PDF in a ARM64 app?  UWP route would be the quickest way to verify.   I have an Surface Pro X i can test with.

Can we create a quick POC here loading a PDF in a ARM64 app?  UWP route would be the quickest way to verify.   I have an Surface Pro X i can test with.

The project https://github.com/TimChen44/PdfiumViewer.Core has a demo app? Maybe you can build it?
On the other hand, the solution @martinchrzan is proposing is also working on my machine. With Windows.Data.Pdf I can open the PDF file. It can read the pages and then transforms the first page to an image.

I think this approach is better because it's using only Microsoft libraries and not the PdfiumViewer.

The project https://github.com/TimChen44/PdfiumViewer.Core has a demo app? Maybe you can build it?
On the other hand, the solution @martinchrzan is proposing is also working on my machine. With Windows.Data.Pdf I can open the PDF file. It can read the pages and then transforms the first page to an image.

I think this approach is better because it's using only Microsoft libraries and not the PdfiumViewer.

@rdeveen I feel better with that approach, keeps security bugs to something we can update.  Also allows us to maybe do a bit more of a complex UX in the preview pane (imagine clicking on the page and it goes big in a multi-page doc)

@rdeveen I feel better with that approach, keeps security bugs to something we can update.  Also allows us to maybe do a bit more of a complex UX in the preview pane (imagine clicking on the page and it goes big in a multi-page doc)

In this update i have completely removed the dependency of the Pdfium viewer and used the PdfDocument from UWP.

In this update i have completely removed the dependency of the Pdfium viewer and used the PdfDocument from UWP.

@crutkas can this PR get a little attention?

I have updated this PR with the latest version of the master branch. What is needed to remove the #Status-Blocked label from this PR @enricogior?

Looking at this,

i can't look at the code in VS.  F7 the file throws an error and when expanded it shows a resx file. (See pic below)
coding style wise, i wouldn't have var named the same as the actual Objects.  example: RichTextBox richTextBox.  I'd suggest var rb =  new RichTextBox .....

Image
var stream = new ReadonlyStream as well since Stream is an actual base object.

lot of magic numbers for padding and widths and calculating sizes without a comment what it means.
think we need to inform user that there are more than 10 pages.

this also kind of feels like a setting

coding style wise, you shift between var and direct type, i'd suggest standardizing on var.

@crutkas Thank you for the review. I like this. I hope I have changed all the good feedback correctly.

we need to add the dll's to the yml.  testing the installer now

Ran it from installer, worked.  good MLP

needs the YML file stuff

nevermind, looks like @rdeveen did it :)
@enricogior, i'm good getting this in

@crutkas
every time PowerToys.exe starts, this toast notification appears:

@rdeveen @crutkas
I tested with an invalid PDF, it didn't crash, but it didn't report it as error with telemetry and after all the PDF are rendered like this until you close and reopen Explorer:

@rdeveen @crutkas
I tested with an invalid PDF, it didn't crash, but it didn't report it as an error with telemetry and after that all the PDFs are rendered like this, until you close and reopen Explorer:

Is it possible that you can share this invalid PDF file?

@rdeveen
the one in the screenshot is valid.
To create an invalid PDF, take any binary file (a picture for example) and change the extension to .pdf

@rdeveen
the one in the screenshot is valid.
To create an invalid PDF, take any binary file (a picture for example) and change the extension to .pdf

@enricogior Does the invalid PDF give the message "This PDF could not be preview due to an internal error."? The invalid PDF I created does and the next PDF to preview is working correctly. I'm not able to reproduce your scenario as you described.
The loading of the PDF should fail and the exception should be logged as here: https://github.com/microsoft/PowerToys/pull/9088/files#diff-c61841f34419aaa2ae56f44a03cd9530a30aecbfd4013c461261934bfc11a003R163

Any updates?

Hi @rdeveen , Was trying to get it in, but there are some more conflicts with master, would you mind getting this PR in as well? https://github.com/rdeveen/PowerToys/pull/6
Thank you.

What should I do to get this PR merged?

@crutkas @dedavis6797

@rdeveen ,
Sorry for the delay.
This PR needs a re-review from @DHowett  due to repo's policies.

authors: Aaron-Junker Jay-o-Way crutkas enricogior htcfreek jaimecbernardo martinchrzan rdeveen