chewing / chewing-editor

Cross platform chewing user phrase editor
https://chewing.im/
GNU General Public License v2.0
31 stars 52 forks source link

Added Error Message Box #164

Closed eugenelet closed 8 years ago

eugenelet commented 8 years ago

Informs the user that Chinese (Chewing) has to be used as input method when adding new phrase. image

david50407 commented 8 years ago

Why we have to limit the IME user used? And in your changes, there is only popup while adding phrase failed, not about the input method.

david50407 commented 8 years ago

Maybe all we need is show a notification to tell user Failed to add phrase "blablabla", not an annoying message box.

eugenelet commented 8 years ago

The thing is, when I tried to add a word with other input method, it fails, and as a normal user, you won't know what happen if you didn't have a terminal to look at the warnings.

david50407 commented 8 years ago

So why you think it failed? I can add phrase using RIME not chewing.

eugenelet commented 8 years ago

I've no idea, I've tried both BoPoMoFo and PinYin, both failed. Not really familiar with the locales, need time to look into it..

david50407 commented 8 years ago

And some failure is about the wrong bopomofo, wrong length of bopomofo and phrase, or any other reason. These are not about what input method you used.

david50407 commented 8 years ago

Could you provide your environment and how to reproduce the problem in a new issue? Maybe we have to ensure what is the real problem and get how to fix it first.

eugenelet commented 8 years ago

Yeah sure. But it's just a short warning. But the pop-up message box can be helpful as well. It's at least able to inform the user that the new word they added wasn't updated due to other reasons.

Chocobo1 commented 8 years ago

@eugenelet You should use the status bar in the mainwindow to notify the user whether the modify/add operation is successful or not, not a pop-up window.

@david50407 I plan to reject this, your thoughts?

eugenelet commented 8 years ago

@Chocobo1 I just realized that the length of the phrase input must be the same as the bopomofo input. What if the error message would be for users that uses english as input and notifying them with a warning pop-up? I think it's more of a user experience type of thing. For first time users, if it appears on the status bar if an error happens meanwhile they are testing the program by input-ing english as a test case, if they didn't notice the status bar for error message (since it's too small) they might think that it's buggy. Just my thoughts. It's okay if you reject this :)

Chocobo1 commented 8 years ago

Just my thoughts.

Thanks for the feedback.

if they didn't notice the status bar for error message (since it's too small) they might think that it's buggy

Maybe should enlarge the status text and/or add some color.

kidwm commented 8 years ago

Ref: #160