LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 03-09-2019, 04:26 AM   #1
madmax25
Member
 
Registered: Aug 2018
Posts: 136

Rep: Reputation: Disabled
BL4.5.0-32bit - How to resize tray icon of TV-Browser, please?


There's an EPG tool installed on my BL4.5.0-32bit called
TV-Browser4.0.1, which is running with
the following version of Java.

Code:
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
OpenJDK Server VM (build 25.191-b12, mixed mode)
The only problem is, when TV-Browser is running,
its tray icon is too small.
It takes only about a quarter (the upper left one) of its supposed area in the tray. The rest of that square is white.

Do you know how to resize that icon in order to fill the entire square, please?

It seems to be something about Bodhi, because it doesn't happen in other distros.
 
Old 03-09-2019, 10:46 AM   #2
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 334

Rep: Reputation: 286Reputation: 286Reputation: 286
Screenshot please
 
1 members found this post helpful.
Old 03-09-2019, 10:55 AM   #3
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 334

Rep: Reputation: 286Reputation: 286Reputation: 286
Hmm, yes. It is true

https://i.imgur.com/Lt6e6II.jpg

I relaized there is another app, I use and with the same issue. Both have common they are based on Java. I see no issue with other apps.

Interesting. Not a big deal but maybe a little challenge to look at it in source code and fix.

Stefan
 
1 members found this post helpful.
Old 03-09-2019, 11:16 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 current / Linux Mint / Debian / Void Linux
Posts: 8,131

Rep: Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677
the source code says
Code:
$ grep -rwn . -e icon
./TV-Browser/src/org/tvbrowser/utils/ProgramUtils.java:497:            ImageSpan icon = connection.getPluginMarkIcon();
./TV-Browser/src/org/tvbrowser/utils/ProgramUtils.java:499:            if(icon != null) {
./TV-Browser/src/org/tvbrowser/utils/ProgramUtils.java:503:              markIcons.setSpan(icon, markIcons.length()-plugin.length(), markIcons.le 
ngth(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
./TV-Browser/src/org/tvbrowser/utils/UiUtils.java:2599:    Drawable icon = ContextCompat.getDrawable(context, drawable);
./TV-Browser/src/org/tvbrowser/utils/UiUtils.java:2601:    float zoom = 16f / icon.getIntrinsicHeight() * context.getResources().getDisplayMetric 
s().density;
./TV-Browser/src/org/tvbrowser/utils/UiUtils.java:2603:    icon.setBounds(0, 0, (int) (icon.getIntrinsicWidth() * zoom), (int) (icon.getIntrinsic
which in turn gives the tray the sized icon, as it look like it is using a connection to gain this icon, you can fiddle tihe the source code there ten re-install it to se if changes took place or, if not then you can try finding that icon and resizing it.

Last edited by BW-userx; 03-09-2019 at 11:17 AM.
 
1 members found this post helpful.
Old 03-09-2019, 11:51 AM   #5
madmax25
Member
 
Registered: Aug 2018
Posts: 136

Original Poster
Rep: Reputation: Disabled
My tray is on the lower edge of the screen, but yes, this screenshot is showing the very same issue.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BL4.5.0 32bit - Is there any recommendable network monitor? madmax25 Bodhi 2 03-04-2019 04:12 AM
BL4.5.0 32bit - How to use only 5GHz for WiFi? madmax25 Bodhi 3 02-18-2019 10:50 AM
BL4.5.0-32bit - How to remove unused packages without damaging system? madmax25 Bodhi 13 02-07-2019 10:49 AM
BL4.5.0.64bit - Vino tray icon missing madmax25 Bodhi 2 09-23-2018 09:34 AM
Fedora 13 32bit and then Linux Mint 32bit and then Ubuntu 10.04 32bit ciao303 Linux - Newbie 3 08-09-2010 11:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 04:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration