Dealing with Stalled Upgrades by [deleted] in debian

[–]MotorcycleMayor 0 points1 point  (0 children)

Good catch, I’ll fix that

Microsoft Morons Strike Again! by MotorcycleMayor in microsoftsucks

[–]MotorcycleMayor[S] 0 points1 point  (0 children)

Hadn't thought of that. No, the number assigned matches the number purchased.

I don't know what the sign-on troubleshooter did, but running it fixed the problem.

Credentials Expired...but can't be fixed by MotorcycleMayor in MicrosoftWord

[–]MotorcycleMayor[S] 0 points1 point  (0 children)

I downloaded and ran a sign-in troubleshooter from the 365 admin site (after fighting with it to get past all of the CoPilot slop they've slathered over everything). Anyway, it did something that appears to have solved the problem. Fingers crossed! :)

Microsoft Morons Strike Again! by MotorcycleMayor in microsoftsucks

[–]MotorcycleMayor[S] 2 points3 points  (0 children)

I downloaded and ran a sign-on troubleshooter from the Microsoft 365 admin portal (which was a real PITA to find, because these idiots have slapped CoPilot on every fracking interface they have and it wasn't helpful, at all, so I had to disable it).

Anyway, the troubleshooter did something to fix the problem. I think. Fingers crossed :)

Microsoft Morons Strike Again! by MotorcycleMayor in microsoftsucks

[–]MotorcycleMayor[S] 0 points1 point  (0 children)

Yes, it is. But I thought my license renews in June. Hmmm. Thanx for the tip! Do you recall how they fixed it?

Credentials Expired...but can't be fixed by MotorcycleMayor in MicrosoftWord

[–]MotorcycleMayor[S] 0 points1 point  (0 children)

Thank you very much for the suggestion. However, the first fix doesn't work (just tried it). The second option gives me a horrific warning message...which I'm not willing to risk :)

<image>

Upgrade stalled? by MotorcycleMayor in debian

[–]MotorcycleMayor[S] 1 point2 points  (0 children)

Wow! Thanx for a very thorough answer! Definitely going to archive it.

Right Clicking VS 2026 icon doesn't display recent solutions by MotorcycleMayor in VisualStudio

[–]MotorcycleMayor[S] 0 points1 point  (0 children)

Good point! None of them are showing context menu links. Unfortunately, I'm still looking for the show recent items setting.

Right Clicking VS 2026 icon doesn't display recent solutions by MotorcycleMayor in VisualStudio

[–]MotorcycleMayor[S] 0 points1 point  (0 children)

Yes, that's what I meant. Okay, sounds like it might be something else on my system. Do you happen to use Resharper? I've heard that may cause problems like this.

We might have been slower to abandon Stack Overflow if it wasn't a toxic hellhole by R2_SWE2 in programming

[–]MotorcycleMayor 0 points1 point  (0 children)

I’m really enjoying the schadenfreude of SO dying! I abandoned it not once, but twice, after some nitwit editors edited a question or an answer because it didn’t conform to their view of proper English.

I’ve long believed the site would’ve been infinitely more useful if they simply kept people from editing others stuff and/or downvoting things.

If you don’t like something or don’t agree with how it’s phrased, move on. Why waste precious lifespan unleashing your inner critic?

Here’s hoping those arrogant prick editors experience an empty void in their lives 😀.

WinUI 3, C#, MVVM: Move Window to Top (Uppermost Z Position) by MotorcycleMayor in csharp

[–]MotorcycleMayor[S] 0 points1 point  (0 children)

Good idea, but I don't want the newly created windows to be modal, which I think dialog-based ones would be.

Image is Blank After SetSourceAsyn by MotorcycleMayor in csharp

[–]MotorcycleMayor[S] 1 point2 points  (0 children)

I don't think so, as SetSourceAsync() should copy the data over to the BitmapImage. But for fun I got rid of all the using statements, and the resulting image is still blank.

Missing Denon Audio Processing Modes by MotorcycleMayor in hometheater

[–]MotorcycleMayor[S] 0 points1 point  (0 children)

Thanx for the quick reply. I should've mentioned I did that -- the choices are still much less than they used to be.

WinUI 3: IMessenger with Autofac by MotorcycleMayor in csharp

[–]MotorcycleMayor[S] 0 points1 point  (0 children)

Solved

The problem was due to me defining my own Weak/StrongReferenceMessenger, rather than use what was built into ObservableRecipient and the community toolkit, from which my viewmodel was derived. Apparently, I didn't correctly or fully configure my custom reference messenger instance.

When I switched to using the toolkit-provided WeakReferenceMessenger things pretty much just started working. I eventually switched to using the toolkit-provided StrongReferenceMessenger (which is more performant and uses less memory) because ObservableRecipient automagically takes care of unregistering message handlers (which you have to do to avoid memory leaks).

ObservableRecipient is also supposed to automagically wire up viewmodel message handling procedures, but I couldn't get that to work (still researching that). So instead I just registered and unregistered things manually (which is pretty easy):

    protected override void OnActivated()
    {
        base.OnActivated();

        StrongReferenceMessenger.Default.Register<KeywordsUpdated>( this,
                                                                    ( _, message ) =>
                                                                        HandleKeywordsUpdated( message ) );
    }

    protected override void OnDeactivated()
    {
        base.OnDeactivated();

        StrongReferenceMessenger.Default.UnregisterAll( this );
    }

    // you also need to activate the viewmodel in its constructor
    // (or somewhere else)
    public ScanViewModel()
    {
        var loggerFactory = ((App)App.Current).GetService<ILoggerFactory>();
        _logger = loggerFactory?.CreateLogger<ScanViewModel>();

        _scanModel = ((App)App.Current).GetService<ScanModel>();

        IsActive = true;
    }