menu
Tatoeba
language
Înregistrare Autentificare
language Română
menu
Tatoeba

chevron_right Înregistrare

chevron_right Autentificare

Navigați

chevron_right Afișați o propoziție aleatorie

chevron_right Navigați după limbă

chevron_right Navigați după liste

chevron_right Navigați după etichete

chevron_right Navigați după conținut audio

Comunitate

chevron_right Perete

chevron_right Listă cu toți membrii

chevron_right Limbi vorbite de membri

chevron_right Vorbitori nativi

search
clear
swap_horiz
search
DostKaplan DostKaplan 29 noiembrie 2016 29 noiembrie 2016, 00:02:24 UTC link Link permanent

[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'}} ascundeți răspunsurile afișați răspunsurile
gillux gillux 29 noiembrie 2016 29 noiembrie 2016, 12:46:59 UTC link Link permanent

> 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'}} ascundeți răspunsurile afișați răspunsurile
DostKaplan DostKaplan 30 noiembrie 2016, editat 30 noiembrie 2016 30 noiembrie 2016, 06:38:05 UTC, editat 30 noiembrie 2016, 06:41:01 UTC link Link permanent

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'}} ascundeți răspunsurile afișați răspunsurile
gillux gillux 2 decembrie 2016 2 decembrie 2016, 12:54:41 UTC link Link permanent

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