Wednesday, March 27, 2024

AndroidStudio Archive

 The archive of older versions is here.

Thursday, February 15, 2024

Windows Explorer is Dead in Windows 11. How to Restart it.

Windows Explorer is dead. You cannot open the Taskbar, switch workspace or even summon an open application but the mouse is responsive.

This worked for me:

Press Ctrl + Shift + ESC to open the Task Manager.

You can now restart Windows Explorer clicking: Run new task (top left) and then typing: explorer.

That should do it!

Thursday, May 11, 2023

Android FragmentStateManager.createView IllegalArgumentException: No view found for id

I had this exception when replacing a fragment inside another fragment in a transaction where getParentFragmentManager() was called.

The solution was calling getChildFragmentManager():

Return a private FragmentManager for placing and managing Fragments inside of this Fragment.

Thanks to flodaniel here and Malachiasz here.

Saturday, February 25, 2023

Disable "Do you want to open this file?"

 It's really annoying that Windows 10/11? always asks this question when you try to open a file you created.

To disable for new files (old ones are not affected unfortunately):

Open the "Local Group Policy Editor" (search for it).

Go to "User Configuration" -> "Administrative Templates" -> "Windows Components" -> "Attachment Manager".

Double click on "Do not preserve zone information in file attachments" and set it to Enabled.

Trying to open all new files will not result in the dreaded pop up disturbing your work.

Thanks to this forum answer.


Friday, December 02, 2022

Show More Options by Default in Windows 11

 To enable:

Go to Search and type Run to add the following to the registry entry:

reg add HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /ve /d "" /f

Then restart the file explorer to see the change.

To disable:

reg delete “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}” /f
References: allthings.how

Thursday, September 29, 2022

Windows 11: Edit the All Apps Start Menu

Right-click Windows and select Run.
Now execute the following:

# Open the Startup Folder of All Users

%ProgramData%\Microsoft\Windows\Start Menu\Programs\StartUp

That's it!

Thanks to appuals.com

Monday, November 15, 2021

Add Shortcuts to Create Files on the Windows 10 Context Menu

Use the Registry Editor. 

LibreOffice Writer (.odt)
Go to: Computer\HKEY_CLASSES_ROOT\.odt\LibreOffice.WriterDocument.1\ShellNew
(Default) REG_SZ (value not set)
FileName RED_DZ C:\Program Files\LibreOffice\share\template\shellnew\soffice.odt