Bug 196287 - add "switch the dirction " for text field in RTL languages
Summary: add "switch the dirction " for text field in RTL languages
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: rtl, triaged
Depends on:
Blocks:
 
Reported: 2009-06-13 04:49 UTC by Zayed Al-Saidi
Modified: 2018-10-27 02:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zayed Al-Saidi 2009-06-13 04:49:03 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Please, add an option to switch the dirction of text field in html pages. It is hard to write English in RTL layout. This option is there in firefox as context menu entry.
Comment 1 Ebrahim Mohammadi 2010-06-03 17:46:21 UTC
You can use Ctrl+RightShift to achieve the same result.
Comment 2 Zayed Al-Saidi 2010-06-03 18:13:13 UTC
@ Mohammd

It does not work to me. I tested using kde 4.3 and kde 4.5 pre
Comment 3 Ebrahim Mohammadi 2010-06-03 18:32:05 UTC
Pressing LeftCtrl+LeftShift for LTR, and RightCtrl+RightShift for RTL works on KDE 4.4.3 using Qt 4.6.2. Not sure about older versions.
Comment 4 Maksim Orlovich 2010-06-03 18:40:19 UTC
Do you mean text alignment or the direction? I think the direction should work automatically, but there is also 'Insert Unicode Character' which lets you override the direction in an absurdly user-unfriendly way.
Comment 5 Ebrahim Mohammadi 2010-12-18 21:44:15 UTC
Direction is detected automatically, hence sometimes wrong, specially in mixed LTR and RTL text. So user should be able to manually change direction of a text field to LTR or RTL, maybe through a context menu entry.
Comment 6 Diego Iastrubni 2012-11-20 21:59:58 UTC
Hi Ebrahim, Zayed.

This feature is already available in KDE. Is this not working for you? (Qt3/Qt4/Qt5 support setting the direction of the text like in windows - by pressing control+shift).

If you can make this work, I will close this bug.
Comment 7 Zayed Al-Saidi 2012-11-24 16:12:59 UTC
Diego, thank you for you effort. The real issue is when the html element has "dir=rtl" option. For example take this simple:
<!DOCTYPE html>
<html>
<body dir=rtl>

<form action="">
First name: <input type="text">
</form>
</body>
</html>

When you try to write English text, the text will start from right! I try to press  control+shift , nothing changed.  But if I remove the "dir=rtl" option, everything is OK (i.e. English text start from left and Arabic one from right).

I think this report should be a bug reprot rather than feature request.
Comment 8 Andrew Crouthamel 2018-09-23 02:23:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Andrew Crouthamel 2018-10-27 02:40:56 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!