# Encountering bugs in Processing 4.1.1 on Windows 11

**URL:** <https://discourse.processing.org/t/encountering-bugs-in-processing-4-1-1-on-windows-11/39949>\
**Category:** Processing\
**Created:** [November 30, 2022, 6:06pm UTC](https://discourse.processing.org/t/encountering-bugs-in-processing-4-1-1-on-windows-11/39949 "2022-11-30T18:06:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![WolfyD](https://avatars.discourse-cdn.com/v4/letter/w/49beb7/32.png) [@WolfyD](https://discourse.processing.org/u/WolfyD)\
**Post date:** [November 30, 2022, 6:06pm UTC](https://discourse.processing.org/t/encountering-bugs-in-processing-4-1-1-on-windows-11/39949/1 "2022-11-30T18:06:44Z")

</div>

I have been using Processing 3.5.4 for a while but yesterday I decided to download Processing 4.1.1.  
I found a couple of bugs that are mostly just really annoying. I have read around online but have not found them mentioned (or solved) anywhere.

I found the following bugs/issues:

1. There are no modes in the modes list.
2. Most values in the settings don’t get saved when changed. (eg: Sketchbook folder and Sketch name) But some do (like Disable HiDPI Scaling and Language)
3. Some times (but not always) after closing the settings, the File menu becomes un-clickable until the size of the window is changed

I have made a video demonstrating all of these issues, you can see it [here](https://app.screencast.com/wZliwnkQ7dLvT)

Steps I have taken:

- I first moved the folder containing processing to a new location with less restrictions
- Next I moved the folder to the desktop, just in case
- I deleted the folder and all settings and other stored files, re-downloaded 4.1.1 and extracted it on to the desktop
- I downloaded 4.1.0 and 4.0 and tried both of them
- All of these I added to the Microsoft Defender exclusions list
- I turned off Microsoft Defender and all real time protection
- I ran 4.1.1 in administrator mode
- I ran 4.1.1 in compatibility mode
- I ran `.\\processing.exe --l4j-debug`. I attached the resulting log file below

```auto
Version: 3.14
CmdLine: C:\Users\radic\Desktop\processing-4.1.1\processing.exe --l4j-debug
WOW64: yes
Working dir:	C:\Users\radic\Desktop\processing-4.1.1\.
Java min ver:	1.017.000_001
Java max ver:	
Bundled JRE(s):	java
Check launcher:	C:\Users\radic\Desktop\processing-4.1.1\java\bin\javaw.exe (OK)
Heap -Xmx: Requested 512 MB / 0%, Available: 985 MB, Heap size: 512 MB
Main class: processing.app.ui.Splash
Add classpath:	core\library\core.jar
Add classpath:	lib\pde.jar
Add classpath:	lib\jna.jar
Add classpath:	lib\jna-platform.jar
Add classpath:	lib\ant.jar
Add classpath:	lib\ant-launcher.jar
Add classpath:	lib\flatlaf.jar
Launcher: C:\Users\radic\Desktop\processing-4.1.1\java\bin\javaw.exe
Launcher args:	-Xmx512m -Djna.nosys=true -Djna.boot.library.path=lib -Djna.nounpack=true -Dsun.java2d.d3d=false -Dsun.java2d.ddoffscreen=false -Dsun.java2d.noddraw=true -Dpython.console.encoding=UTF-8 -classpath "lib;core\library\core.jar;lib\pde.jar;lib\jna.jar;lib\jna-platform.jar;lib\ant.jar;lib\ant-launcher.jar;lib\flatlaf.jar" processing.app.ui.Splash
Args length:	343/32768 chars
Exit code: 0

```

Additional info:  
I’m running `Processing 4.1.1` on `Windows 11 Pro x64 22H2` Build: `22621.900`  
CPU: `Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz 2.50 GHz`

As I was writing this, I found a weird solution/workaround, that may help identify the issue.  
As you can see on the video, if I change a setting, save it, exit Processing and than start Processing again, the setting will not be saved.

However, if I change a setting, save it and than instantly open a second instance of Processing, that instance will use the new value for the setting, and it will work like that from that point onward.  
This though still doesn’t solve the issue with the modes.

I’ll happily provide any additional information that helps!

EDIT:  
I found a workaround for the modes as well.  
I downloaded 3.5.4 again, and downloaded python mode on that one. As soon as I opened 4.1.1 again, I found that python mode was now available there as well.  
This may help a little until this issue is solved.

---

<div class="post-metadata">

**Author:** ![sableraph](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sableraph/32/251_2.png) [@sableraph](https://discourse.processing.org/u/sableraph)\
**Post date:** [November 30, 2022, 6:38pm UTC](https://discourse.processing.org/t/encountering-bugs-in-processing-4-1-1-on-windows-11/39949/2 "2022-11-30T18:38:41Z")

</div>

Hi @WolfyD Thanks for reporting this in such details!

The issue with preferences has been reported [here](https://github.com/processing/processing4/issues/608). Feel free to add any missing information in the replies.

As for the problem with modes, would you mind raising this issue on Github so it can be investigated?

> **[Issues · processing/processing4](https://github.com/processing/processing4/issues)**
>
> Processing 4.x releases for Java 17. Contribute to processing/processing4 development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![WolfyD](https://avatars.discourse-cdn.com/v4/letter/w/49beb7/32.png) [@WolfyD](https://discourse.processing.org/u/WolfyD)\
**Post date:** [November 30, 2022, 6:43pm UTC](https://discourse.processing.org/t/encountering-bugs-in-processing-4-1-1-on-windows-11/39949/3 "2022-11-30T18:43:30Z")

</div>

Hi @sableraph Thank you for the quick response!

I will check the GitHub page, thank you!  
And sure, I’ll create an issue for it.

---

<div class="post-metadata">

**Author:** ![WolfyD](https://avatars.discourse-cdn.com/v4/letter/w/49beb7/32.png) [@WolfyD](https://discourse.processing.org/u/WolfyD)\
**Post date:** [November 30, 2022, 7:35pm UTC](https://discourse.processing.org/t/encountering-bugs-in-processing-4-1-1-on-windows-11/39949/4 "2022-11-30T19:35:27Z")

</div>

Hello @sableraph  
I created a new issue in GitHub.  
You can find it [here](https://github.com/processing/processing4/issues/613)
