Cuis-Smalltalk / Cuis-Smalltalk-Dev

Active development of Cuis Smalltalk
MIT License
456 stars 71 forks source link

Preference "Size of GUI elements" is not persisted after image saving #267

Closed dram closed 9 months ago

dram commented 1 year ago

It seems that preference "Size of GUI elements" cannot be persisted after image saving.

Steps to reproduce:

  1. Open "Cuis6.0-6017.image"
  2. Change "Size of GUI elements" to "12 - standard desktop and laptops" in World / Preferences submenu
  3. Click "Save Image and Quit" in world menu
  4. Re-open "Cuis6.0-6017.image"
nachoba commented 1 year ago

Hi! Try deleting the UserPrefs.txt file after. Do the changes, save the image and that should work. Cheers! Nacho

Ignacio Sniechowski

On Fri, Oct 6, 2023 at 2:38 AM Xin Wang @.***> wrote:

It seems that preference "Size of GUI elements" cannot be persisted after image saving.

Steps to reproduce:

  1. Open "Cuis6.0-6017.image"
  2. Change "Size of GUI elements" to "12 - standard desktop and laptops" in World / Preferences submenu
  3. Click "Save Image and Quit" in world menu
  4. Re-open "Cuis6.0-6017.image"

— Reply to this email directly, view it on GitHub https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/issues/267, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA23RWQPM4N7MVZPKKPAQPTX56KMPAVCNFSM6AAAAAA5VJAARCVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDSNBWHA4TIOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

dram commented 1 year ago

Hi! Try deleting the UserPrefs.txt file after. Do the changes, save the image and that should work. Cheers! Nacho Ignacio Sniechowski On Fri, Oct 6, 2023 at 2:38 AM Xin Wang @.> wrote: It seems that preference "Size of GUI elements" cannot be persisted after image saving. Steps to reproduce: 1. Open "Cuis6.0-6017.image" 2. Change "Size of GUI elements" to "12 - standard desktop and laptops" in World / Preferences submenu 3. Click "Save Image and Quit" in world menu 4. Re-open "Cuis6.0-6017.image" — Reply to this email directly, view it on GitHub <#267>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA23RWQPM4N7MVZPKKPAQPTX56KMPAVCNFSM6AAAAAA5VJAARCVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDSNBWHA4TIOI . You are receiving this because you are subscribed to this thread.Message ID: @.>

Thanks for the tip, it works!

But I still think that behaviors should be consistent, regardless of whether UserPrefs.txt exists or not.

jvuletich commented 9 months ago

This behavior was changed a couple of days ago. Now UserPrefs.txt is auto generated / updated when the user chooses from menu. Please test, and reopen if needed. Thanks!