Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342478 - Bidi 3.7: support setOrientation() for Tooltip.
Summary: Bidi 3.7: support setOrientation() for Tooltip.
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on: 304901 344463
Blocks:
  Show dependency tree
 
Reported: 2011-04-11 13:51 EDT by mariavin CLA
Modified: 2019-09-02 15:12 EDT (History)
6 users (show)

See Also:


Attachments
TooltipSetOrientation (4.73 KB, image/gif)
2011-04-11 13:55 EDT, mariavin CLA
no flags Details
Test patch (401.42 KB, text/plain)
2011-04-12 03:43 EDT, mariavin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mariavin CLA 2011-04-11 13:51:29 EDT
Build Identifier: 20100617-1415

After the tooltip was created it's orientation cannot be dynamically modified, through setOrientation.								


Reproducible: Always
Comment 1 mariavin CLA 2011-04-11 13:55:14 EDT
Created attachment 192957 [details]
TooltipSetOrientation
Comment 2 Felipe Heidrich CLA 2011-04-11 15:53:23 EDT
Is this really necessary ?
Tooltip is not a control and it is very easy to recreate the tooltip with the correct orientation when needed. I suggest closing this issue as wont fix.
Comment 3 mariavin CLA 2011-04-12 03:43:50 EDT
Created attachment 193004 [details]
Test patch

1. Needs to be applied in project level on the "org.eclipse.swt.examples" project
2. The test to use are in the added package : 

org.eclipse.swt.examples.mirroringTest

3. The tests files are: ControlExample.java and ControlExampleRTL.java
(run them as Java application)

the main difference that there's two additional buttons for the set orientation property check, they're not recreate the widgets but call their setOrientation.
Comment 4 mariavin CLA 2011-04-12 03:48:54 EDT
(In reply to comment #2)
> Is this really necessary ?
> Tooltip is not a control and it is very easy to recreate the tooltip with the
> correct orientation when needed. I suggest closing this issue as wont fix.

It's also not mirrored if recreated with the SWT.RIGHT_TO_LEFT, I mean to the icon of course the text displayed correct when recreated. You can see it in RTL GUI in test files there's an option to switch the direction of the main shell.
Comment 5 Felipe Heidrich CLA 2011-04-12 10:06:30 EDT
You should rename this bug to: RTL support for Tooltip
as the current support is deficient.
Comment 6 Felipe Heidrich CLA 2011-04-12 11:51:21 EDT
related: bug 342477
Comment 7 Eclipse Genie CLA 2018-11-05 14:33:00 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 8 Lars Vogel CLA 2019-09-02 15:05:14 EDT
This bug has been marked as stalebug a while ago without any further interaction.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard flag.
Comment 9 Lars Vogel CLA 2019-09-02 15:12:02 EDT
This bug was marked as stalebug a while ago. Marking as worksforme.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.