Page 1 of 1

Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Tue Oct 05, 2010 6:00 pm
by Gale FORd
I am starting this thread again.

I am testing the Ribbon Bar with Citrix/Terminal Services/Remote Desktop using latest Fivewin and xHarbour. There is a problem with the arrows and the quality of some of the buttons. Excel and Word both look ok but Fivewin ribbon does not.

Image

I will do some more testing but has anyone else noticed this and have a fix?

BTW: I am just using ribbon.prg in the samples folder.

Re: Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Tue Oct 05, 2010 8:45 pm
by Gale FORd
If I start ribbon.exe on the computer before I remote in, then it looks a lot better. It seems the biggest display problem happens if the application is started while the remote desktop session is in control.

Image

Re: Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Tue Oct 05, 2010 8:59 pm
by Gale FORd
Ok, I started ribbon.exe on my laptop. Then from another computer I used remote desktop to take control of laptop.
While the ribbon.exe was still running I started it again while I was remoted in. You can see the difference. At this point it the same program running at the same time.
I started Excel again and it was fine running in the remote desktop session.

Image

Re: Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Wed Oct 06, 2010 6:20 am
by Antonio Linares
Gale,

What screen colors resolution are you using ?

Please try to modify it and make some tests, thanks

Re: Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Fri Oct 08, 2010 6:06 pm
by James Bott
Gale,

I note that both the Copy and Paste icons look the same in both examples. This leads me to believe the problem is only with certain bitmap formats. Try converting one of the problem bitmaps to the same size and number of colors as the Copy bitmap and see if it then displays properly.

Regards,
James

Re: Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Fri Oct 08, 2010 10:19 pm
by Gale FORd
I am really busy right now but I will try to look at it this week end. Right now it is not usable for my Citrix users.
Also note the little down arrows. In a previous discussion on this forum, they were trying to get them to look right so when I was testing this I discovered more than the down arrows had display issues.

I bumped up the remote desktop to the highest display quality for those tests above. It's funny that if you start the program, then remote into it, all of the icons and arrows look ok. It is only when you start the program while the remote desktop session is already active that they do not display right.

Re: Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Fri Oct 08, 2010 11:01 pm
by James Bott
Gale,

...little down arrows...


I expect these are unique because the data for the bitmaps is stored in code.

It's funny that if you start the program, then remote into it, all of the icons and arrows look ok. It is only when you start the program while the remote desktop session is already active that they do not display right.


There well may be a bug in Citrix that is causing this. However, good luck getting that fixed.

It is easier to see if we can isolate the problem and try to fix it within FWH/(x)Harbour. This is why I am suggesting looking at the bitmap format issue. If we find that a certain format works, then the easiest solution is to convert other bitmaps to that format. The down arrows maybe more difficult to fix, I don't know.

Regards,
James

Re: Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Fri Oct 08, 2010 11:54 pm
by Gale FORd
The examples above were all done with a computer running Windows XP and another using remote desktop to access it.
It does the same thing using Citrix but I eliminated that early on. If I can get it to work with remote desktop then Terminal Services/Citrix should work.

Re: Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Sat Oct 09, 2010 6:47 am
by Massimo Linossi
Hi Gale.
You can solve this problem in this way.
In TRBTN.PRG find the line where is the call to LittleArrow() and change with ::hArrow := ReadBitmap( 0, "C:\littlearrow.bmp" )
The bitmap is 10x7, with the transparent background.
The find the lines with the calls to TransBmp() and make these changes :

do case
case nTypeButton == TYPE_SPLITPOPUP
//TransBmp( ::hArrow, 5, 4, 0, ::hDC, ::nWidth / 2 - 2.5, ::nHeight - 6, 5, 4 )
Drawmasked( ::hDC, ::hArrow, ::nHeight - 12, ::nWidth / 2 - 2.5 )

case nTypeButton == TYPE_POPUP
//TransBmp( ::hArrow, 5, 4, 0, ::hDC, ::nPopupMargin + 1, ::nHeight / 2 - 2, 5, 4 )
Drawmasked( ::hDC, ::hArrow, ::nHeight / 2 - 2, ::nPopupMargin - 9 )
endcase

In whit way works perfectly. Already tested in Terminal Services and Citrix.

Re: Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Wed Oct 27, 2010 6:06 am
by norberto
hi, can you explain this change? affect ribbon without terminal server? i use with/without terminal server. thanks

Re: Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Wed Oct 27, 2010 6:11 am
by Massimo Linossi
Hi.
Works perfectly with/without terminal server/citrix.

Re: Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Wed Oct 27, 2010 7:01 am
by norberto
ok . very thanks , i need put this bitmap in c:\ ??

Re: Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Wed Oct 27, 2010 8:46 am
by Massimo Linossi
You can put the bitmap in your folder application or where you like.

Re: Ribbon Bar with Terminal Services/Citrix/Remote Desktop

PostPosted: Sun Nov 07, 2010 3:02 pm
by norberto
hi, this fix is included in fwh1010??