Ticket #254 (closed bug: fixed)

Opened 3 years ago

Last modified 8 months ago

Wrongly enabled buttons in apps/prefs (easy)

Reported by: diver Owned by: aldeck
Priority: low Milestone: R1
Component: Applications Version:
Cc: Blocked By:
Platform: All Blocking:

Description (last modified by wkornewald) (diff)

There are several apps/prefs which enable some buttons on the first start, when i didn't change anything. Here is this list:

Fonts - Default
Keyboard - Default
Keymap - Revert, Use
Mouse - Default
Scroll Bar - Default
Virtual memory - Default

Also, when you start Sounds, you could see how butons becomes disabled Sounds - Play, Stop.

Attachments

Anxiety - Ticket 254 - 20070816.diff (16.4 kB) - added by anxiety 16 months ago.
Diff file
20070816 - Ticket 254b.diff (1.1 kB) - added by anxiety 16 months ago.
Diff file, sounds disables correctly in this one
20070819 - Ticket 254c.diff (16.0 kB) - added by anxiety 16 months ago.
Diff file, contains changes for Appearance, Menu, and Tracker
menu.diff (16.0 kB) - added by aldeck 11 months ago.
Menu preflet should behave correctly with this.
menu2.diff (0.6 kB) - added by aldeck 11 months ago.
Corrects a little mistake in menu/ColorWindow.cpp

Change History

  Changed 3 years ago by axeld

  • owner changed from sikosis to axeld

  Changed 3 years ago by korli

  • bug_group set to developers

  Changed 2 years ago by axeld

  • priority changed from normal to low
  • platform set to All
  • description modified (diff)

  Changed 2 years ago by axeld

  • description modified (diff)

  Changed 20 months ago by wkornewald

  • description modified (diff)

Screen should work correctly after my changes.

  Changed 19 months ago by wkornewald

  • summary changed from Wrongly enabled buttons in apps/prefs to Wrongly enabled buttons in apps/prefs (easy)

Changed 16 months ago by anxiety

Diff file

  Changed 16 months ago by anxiety

I've attached a diff file that fixes the behavior of the default buttons, and hopefully handles the sounds issue satisfactory.

I did not make any changes to Keymap as the revert button doesn't do anything at all (with a note saying the original did not do anything either.) Perhaps that would be a good candidate for its own ticket?

Changed 16 months ago by anxiety

Diff file, sounds disables correctly in this one

  Changed 16 months ago by axeld

Indeed, I think Keymap deserves its own ticket. Thanks!

  Changed 16 months ago by axeld

  • status changed from new to closed
  • resolution set to fixed

And since ScrollBar has been removed, I'm closing this ticket now. Fixed in r21992.

  Changed 16 months ago by diver

  • status changed from closed to reopened
  • resolution fixed deleted

Oh yeah, E-mail pref app still need to be fixed, it was not in the image a year ago, so it didn't made up in this list in the first place.

  Changed 16 months ago by diver

Also add to this list: Menu Screen Tracker Preferences

  Changed 16 months ago by diver

Oops, i forgot about Appearance... So it must be

Appearance E-mail Menu Screen Tracker Preferences

Changed 16 months ago by anxiety

Diff file, contains changes for Appearance, Menu, and Tracker

  Changed 16 months ago by anxiety

I was able to get Appearance, Menu and Tracker working. Screen seems to work fine as long as the screen isn't in VESA mode. When in VESA there seems to be something going on with the refresh rate, but I wasn't able to figure out what. Email is going to take me some time as its more complex.

After looking at tracker, I think the majority of pref apps could benefit from using a consistent settings setup like tracker has.

  Changed 15 months ago by axeld

Thanks! In case you didn't notice, your patch was applied in r22049.

  Changed 14 months ago by diver

I found some problems: Menu: Selecting "Ctrl as Shortcut key" and back doesn't disable Revert button.

Tracker preferences: Selecting "Show Volumes on Desktop" (which is default) enables Default button. This could be seen only once, to reproduce you have to reboot.

And Background have Revert and Apply enabled.

Changed 11 months ago by aldeck

Menu preflet should behave correctly with this.

  Changed 11 months ago by aldeck

I hope that my patch is ok, i could have gone further in encapsulating all menu_info calls in the MenuSettings class and factoring/cleaning here and there, but i didn't want to make too much changes in one shot.

Going on to check the Screen preflet revert button, which should be disabled on start.

follow-up: ↓ 18   Changed 11 months ago by stippi

Works great, thanks a lot! Menu patch applied in r23296.

in reply to: ↑ 17   Changed 11 months ago by aldeck

Replying to stippi:

Works great, thanks a lot! Menu patch applied in r23296.

You're welcome! Thanks for the quick code review :)

Changed 11 months ago by aldeck

Corrects a little mistake in menu/ColorWindow.cpp

  Changed 11 months ago by aldeck

menu2.diff applied in r23708

follow-up: ↓ 21   Changed 10 months ago by diver

There is still a problem with Tracker preferences.

in reply to: ↑ 20   Changed 10 months ago by aldeck

Replying to diver:

There is still a problem with Tracker preferences.

Didn't have much time these days. I just found the problem for Tracker settings. Will commit soon :-) Screen and Keymap still need some work though.

  Changed 10 months ago by aldeck

Tracker settings Revert/Default buttons should now behave corectly with r24008. Note that Mount Settings can't be defaulted/reverted though, since it's handled quite differently.

  Changed 10 months ago by aldeck

  • owner changed from axeld to aldeck
  • status changed from reopened to new

  Changed 9 months ago by aldeck

Keymap is fixed now! r24180

  Changed 9 months ago by aldeck

Screen should be fixed! r24280

  Changed 8 months ago by diver

There are still problems with Background.

  Changed 8 months ago by diver

This bug could be closed as Background problems are documented in bug #1006

  Changed 8 months ago by aldeck

  • status changed from new to closed
  • resolution set to fixed

Ok! Thanks for testing :)

Note: See TracTickets for help on using tickets.