Closed GoogleCodeExporter closed 9 years ago
Please provide a little project that reproduces the bug!
Original comment by benoit.m...@gmail.com
on 8 Dec 2012 at 5:34
Used Gambas3
A small project is attached.
I am attaching another bug report as a spinoff from this testing project.
Original comment by t4769_a...@cogeco.ca
on 8 Dec 2012 at 7:05
Attachments:
One more bit of information that MAY be important(?).
The project has 11 command buttons, 10 have icons attached through the
Properties option of Picture. These are stock 32x32 icons. There are no
problems with the display of these buttons.
The transparent command button gets it's icon from code. A different icon is
chosen each day. Each icon has a number from 1 to 31 displayed on a pseudo
calendar page.
The code looks like this:
' load a calendar icon for the day of the month for the today button
btnToday.Picture = Picture.Load("img/cal-" & Format(Day(Now), "00") & ".png")
It does seem a coincidence that this happens from code and not a menu option.
Original comment by t4769_a...@cogeco.ca
on 9 Dec 2012 at 3:54
I cannot reproduce the problem. Maybe it is a bug in the widget theme. Which
widget theme do you use?
Original comment by benoit.m...@gmail.com
on 10 Dec 2012 at 1:57
I tried each and every theme on my stock Kubuntu KDE for styles and icons and
the issue is reproducible. Specifically, Oxygen theme and icons reproduce the
problem. I even downloaded some extra themes and icons and tried them.
One extra point. If I assign a picture from the properties menu to the command
button then the issue goes away. If I use code then the issue returns.
It maybe my general KDE setup so I used a live cd to rename .kde and I
rebooted. Surprise. Surprise. Look at the image from a new .kde install.
Everyone of the command buttons are now a transparent.
I also tried the transparent command button for clicking and it works as
expected. When the mousepointer moves over the button, an outline can be seen.
The issue is mostly at my end not yours. A bug exists somewhere but it is not
totally Gambas's fault. So . . . please mark this issue closed.
Thank You
Original comment by t4769_a...@cogeco.ca
on 10 Dec 2012 at 6:29
Attachments:
OK. I close the issue. Check in the KDE control panel if you are using the
"raster" or the "native" QT graphics system.
Original comment by benoit.m...@gmail.com
on 10 Dec 2012 at 8:52
From: t4769_a929@cogeco.ca
I reported a bug about this a week ago(?) but I am unable to locate the closed
bug so I will submit a new bug and someone can attach it to the closed bug.
Please and Thank You.
I have the cause of the problem. I created a new icon for a new button and it
too along with the original button had a transparent background when run by
cron (loaded by Scheduled tasks).
The new icon was 48x48. I downsized it to 32x32 because it did not look good
then no transparency problem. I took the 31 day calendar icons for the original
button which were 48x48 and downsized all of them to 32x32. Voila, no
transparencies.
The size of the icon is relative to the height(?) of the button so isolating a
problem size is not possible. My buttons are 45 in height and 48x48 causes a
problem.
The cause of the problem is putting too large an icon onto a button. It was
reproducable in all my KDE styles and icons so I believe it to be a problem at
your end.
Hope this helps.
Original comment by benoit.m...@gmail.com
on 20 Dec 2012 at 8:49
Original issue reported on code.google.com by
t4769_a...@cogeco.ca
on 7 Dec 2012 at 10:07Attachments: