Ribbon Bar with Terminal Services/Citrix/Remote Desktop

Ribbon Bar with Terminal Services/Citrix/Remote Desktop

Postby Gale FORd » Tue Oct 05, 2010 6:00 pm

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.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

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

Postby Gale FORd » Tue Oct 05, 2010 8:45 pm

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
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

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

Postby Gale FORd » Tue Oct 05, 2010 8:59 pm

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
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

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

Postby Antonio Linares » Wed Oct 06, 2010 6:20 am

Gale,

What screen colors resolution are you using ?

Please try to modify it and make some tests, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby James Bott » Fri Oct 08, 2010 6:06 pm

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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

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

Postby Gale FORd » Fri Oct 08, 2010 10:19 pm

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.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

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

Postby James Bott » Fri Oct 08, 2010 11:01 pm

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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

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

Postby Gale FORd » Fri Oct 08, 2010 11:54 pm

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.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

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

Postby Massimo Linossi » Sat Oct 09, 2010 6:47 am

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.
User avatar
Massimo Linossi
 
Posts: 498
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

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

Postby norberto » Wed Oct 27, 2010 6:06 am

hi, can you explain this change? affect ribbon without terminal server? i use with/without terminal server. thanks
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

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

Postby Massimo Linossi » Wed Oct 27, 2010 6:11 am

Hi.
Works perfectly with/without terminal server/citrix.
User avatar
Massimo Linossi
 
Posts: 498
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

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

Postby norberto » Wed Oct 27, 2010 7:01 am

ok . very thanks , i need put this bitmap in c:\ ??
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

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

Postby Massimo Linossi » Wed Oct 27, 2010 8:46 am

You can put the bitmap in your folder application or where you like.
User avatar
Massimo Linossi
 
Posts: 498
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

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

Postby norberto » Sun Nov 07, 2010 3:02 pm

hi, this fix is included in fwh1010??
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 90 guests