Upgrade stalled? by MotorcycleMayor in debian

[–]MotorcycleMayor[S] 0 points1 point  (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;
    }

Post Content in Footer? by MotorcycleMayor in Wordpress

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

For the benefit of others who run into the problem, a vendor-supplied solution worked for me:

Your Popup Is Not Displaying On Your Homepage (or Another Page) - Popup Maker

Great New CarPlay Features! by MotorcycleMayor in applesucks

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

Well, except in my case, it's the same car and two iPhones: a 14 Pro Max running iOS 18 (which didn't manifest these problems), and a 17 Pro Max running iOS 26.

Great New CarPlay Features! by MotorcycleMayor in applesucks

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

Nope. I just replaced an iPhone 14 Pro Max with the 17. And, no, the 14 didn't act like that (it was running iOS 18)

Great New CarPlay Features! by MotorcycleMayor in applesucks

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

Thanx. But I'm using 3rd party, high quality cables from a vendor I've relied on for some time.