menu
Tatoeba
language
Đăng ký Đăng nhập
language Tiếng Việt
menu
Tatoeba

chevron_right Đăng ký

chevron_right Đăng nhập

Duyệt

chevron_right Hiện câu ngẫu nhiên

chevron_right Duyệt theo ngôn ngữ

chevron_right Duyệt theo danh sách

chevron_right Duyệt theo thẻ

chevron_right Duyệt âm thanh

Cộng đồng

chevron_right Tường

chevron_right Danh sách thành viên

chevron_right Ngôn ngữ thành viên

chevron_right Người bản xứ

search
clear
swap_horiz
search
DostKaplan DostKaplan 29 tháng 11, 2016 00:02:24 UTC 29 tháng 11, 2016 link Permalink

[BUG]

Steps to reproduce the problem:

• In the same browser (I used Google Chrome) open two tabs.
• Login to Tatoeba.
• In tab #1, select From: English To: Turkish and make a search (example: love)
• In tab #2, select From: Turkish To: Malay and make a search (example: anne)
• Go back to tab #1 and select Contribute-->Add Sentences or Community-->Wall

Problem:
Tab #1 now shows From: Turkish To: Malay, taking the language settings from tab #2!

The fix:
Each Tatoeba page should carry the language settings set within a tab to all subsequent Tatoeba pages within the same tab. In other words Tatoeba pages in each tab should retain its own language settings. Don't rely on site cookies. Carry the language settings through via hidden fields in the HTML instead. That way I don't have to keep reselecting the From/To language dropdowns whenever I go back and forth between tabs.

{{vm.hiddenReplies[27706] ? 'expand_more' : 'expand_less'}} ẩn câu trả lời hiển thị câu trả lời
gillux gillux 29 tháng 11, 2016 12:46:59 UTC 29 tháng 11, 2016 link Permalink

> Problem:
> Tab #1 now shows From: Turkish To: Malay, taking the language settings from tab #2!

It’s not a bug, it’s a feature. :-)

You have a point, though. I like to assign a type of search for each tab, too. For the time being, you may use Firefox’s private browsing. It allows you to open one more session simultaneously with the non-private one.

{{vm.hiddenReplies[27714] ? 'expand_more' : 'expand_less'}} ẩn câu trả lời hiển thị câu trả lời
DostKaplan DostKaplan 30 tháng 11, 2016, đã chỉnh sửa 30 tháng 11, 2016 06:38:05 UTC 30 tháng 11, 2016, đã chỉnh sửa 06:41:01 UTC 30 tháng 11, 2016 link Permalink

I'd have to disagree that it is a "feature." I feel that consistency and reasonable, expected behaviors are part of basic web page experience. Another related problem is:

1. Search for "love". I see results containing "love".
2. On that very same page, now search for "hate". I see results containing "hate".
3. Now hit the Back button on the browser. The page displays the results for "love" as expected, but the search box at the top shows "hate". Bad bad bad! It is an easy matter to keep track of this sort thing by storing pertinent info using hidden HTML fields or in <div>'s dynamically which remain intact within the page.

{{vm.hiddenReplies[27717] ? 'expand_more' : 'expand_less'}} ẩn câu trả lời hiển thị câu trả lời
gillux gillux 2 tháng 12, 2016 12:54:41 UTC 2 tháng 12, 2016 link Permalink

When I say something is a feature, I mean it has been programmed this way on purpose. I’m not saying it’s good or bad. (The emoticon in my previous message was rather sarcastic, as the sentence “It’s not a bug, it’s a feature” is a popular rhetoric of developer.)

The other problem you’re describing is a feature too. On Tatoeba, on any page you open, you’ll always see the latest keywords you looked up in the search bar. Apparently, this feature has been implemented by Trang in the early days of Tatoeba (beginning of 2009) and it’s still there: https://github.com/Tatoeba/tato...c71c7e3ac31dd9