menu
Tatoeba
language
Register Log in
language English
menu
Tatoeba

chevron_right Register

chevron_right Log in

Browse

chevron_right Show random sentence

chevron_right Browse by language

chevron_right Browse by list

chevron_right Browse by tag

chevron_right Browse audio

Community

chevron_right Wall

chevron_right List of all members

chevron_right Languages of members

chevron_right Native speakers

search
clear
swap_horiz
search
DostKaplan DostKaplan November 29, 2016 November 29, 2016 at 12:02:24 AM UTC 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'}} hide replies show replies
gillux gillux November 29, 2016 November 29, 2016 at 12:46:59 PM UTC 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'}} hide replies show replies
DostKaplan DostKaplan November 30, 2016, edited November 30, 2016 November 30, 2016 at 6:38:05 AM UTC, edited November 30, 2016 at 6:41:01 AM UTC 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'}} hide replies show replies
gillux gillux December 2, 2016 December 2, 2016 at 12:54:41 PM UTC 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