Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deskband not showing correctly for RTL languages #54

Open
srwi opened this issue Nov 16, 2020 · 9 comments
Open

Deskband not showing correctly for RTL languages #54

srwi opened this issue Nov 16, 2020 · 9 comments

Comments

@srwi
Copy link

srwi commented Nov 16, 2020

I received a bug report on a project of mine where I'm using CSDeskBand. It looks like right to left languages like Hebrew cause the deskband scaling to behave incorrectly. I tested it on my project and Audio Band as you can see in the video. Both of them use CSDeskBand.

fQdcCMOSd6

Edit: Only WPF is affected by this.

@eladpotok
Copy link

eladpotok commented Nov 26, 2020

try set fix width for the tool, like this

Options.MinHorizontalSize = new DeskBandSize(27, 40);

BTW - How did you overcome on the WIN message
image

תודה.

@srwi
Copy link
Author

srwi commented Nov 26, 2020

Are you also using version 3.1? Does your deskband not have the problem with RTL languages? I actually did set a minimal deskband size like this.

I think you can disable the message by setting ShowDeskBand to false or just removing the parameter (like I did).

@eladpotok
Copy link

regarding to your question, I am not sure what version I am using since I am using the code and not the nugget package.
I am using WPF host control and set a fix size in the XAML as well.

About my question, I did what you suggested. So while registration (by the BAT script) the toolbar is not shown. this is what this boolean parameter does. But I call to ShowDaskBand from another program, this message is shown.

@srwi
Copy link
Author

srwi commented Nov 26, 2020

I am also using the code file linked in the readme which points to version 3.1 as indicated in the first few lines of the file. Interesting that you are not experiencing that problem as @dsafa's own project audio-band has it.

Other than that parameter I honestly don't know what is causing that. I don't remember specifically changing anything, sorry.

@eladpotok
Copy link

eladpotok commented Nov 26, 2020

Actually My windows taskbar is Left To Right, So I Can't tell if it is fixed or not.
In your project, when you show the taskbar, this message is not shown?

@srwi
Copy link
Author

srwi commented Nov 26, 2020

No. I don't automatically trigger the taskbar to be shown though. I tell the user to manually enable it via the taskbar context menu. Is that it?

@eladpotok
Copy link

If I enable the toolbar via the taskbar I don't get this message. I am trying to find an option to disable this message when we enable the toolbar by other program.

@srwi
Copy link
Author

srwi commented Nov 26, 2020

It might be a safety measure to prevent software from secretly running code from within explorer.exe. That's only a wild guess though.

Edit: https://stackoverflow.com/a/8137927/1477251

@do2or
Copy link

do2or commented Jul 13, 2021

i confirm that this problem it's still persist in RTL languages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants