チケット #43690

Saving options from optiondialog ignores changes

登録: 2022-01-26 14:03 最終更新: 2024-10-19 00:38

報告者:
担当者:
(未割り当て)
チケットの種類:
状況:
オープン
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
なし
ファイル:
なし

詳細

Based on reports by Dino The Dinosore in http://forum.freeciv.org/f/viewtopic.php?f=9&p=104765

"Save" in client option dialog confusingly does not save what user has just set and sees in the dialog, but what has actually been applied, i.e, one has to first "Apply" and then "Save". I see no reason for this behavior, but clicking "Save" should automatically include the apply step.

Both gtk- and Qt-client affected, sdl2-client likely not (setting component to "client common") though the bug is in each client's gui part.

チケットの履歴 (4 件中 3 件表示)

2022-01-26 14:03 更新者: cazfi
  • 新しいチケット "Saving options from optiondialog ignores changes" が作成されました
2022-01-26 14:20 更新者: cazfi
コメント

The problem is with server settings. Client can only send requests to the server to change the setting, but would then need to wait for the server to send actually changed settings (which can be only some of the settings, or even nothing at all), and this wait would need to be made so that the client main loop handles those server messages.

So not as easy as I thought.

2023-01-07 07:31 更新者: cazfi
  • マイルストーン(未割り当て) から S3_2 npf に更新されました
コメント

Reply To cazfi

The problem is with server settings. Client can only send requests to the server to change the setting, but would then need to wait for the server to send actually changed settings (which can be only some of the settings, or even nothing at all), and this wait would need to be made so that the client main loop handles those server messages.

The solution would for the client to send some serial number to server after new option value, and server to reply with that same serial message when it has processed all the options that it received before it.

2024-10-19 00:38 更新者: cazfi
  • マイルストーンS3_2 npf から 3.2.0 に更新されました
コメント

Reply To cazfi

The solution would for the client to send some serial number to server after new option value, and server to reply with that same serial message when it has processed all the options that it received before it.

The network (npf) part -> https://redmine.freeciv.org/issues/976

添付ファイルリスト

添付ファイルはありません

編集

このチケットにコメントを追加するには、ログインが必要です » ログインする