{"id":45,"date":"2017-04-03T18:22:45","date_gmt":"2017-04-03T18:22:45","guid":{"rendered":"http:\/\/tog000.io\/?p=45"},"modified":"2017-06-12T19:11:03","modified_gmt":"2017-06-12T19:11:03","slug":"fix-unreadable-tooltips-in-eclipse-on-kde-kubuntu","status":"publish","type":"post","link":"https:\/\/gtrisca.dev\/index.php\/2017\/04\/03\/fix-unreadable-tooltips-in-eclipse-on-kde-kubuntu\/","title":{"rendered":"Fix unreadable tooltips in Eclipse on KDE (Kubuntu)"},"content":{"rendered":"<p>My system configuration:<\/p>\n<ul>\n<li>Eclipse Neon.2 Release (4.6.2)<\/li>\n<li>KDE Frameworks 5.26.0<\/li>\n<li>Kubuntu 16.10<\/li>\n<\/ul>\n<p>Enabling the Breeze GTK theme (<code>gtk3-engines-breeze<\/code>) causes tooltips in Eclipse to become very hard to read, especially when there are links in the content:<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-50\" src=\"http:\/\/tog000.io\/wp-content\/uploads\/2017\/04\/Screenshot_20170403_135548.png\" alt=\"\" width=\"301\" height=\"196\" srcset=\"https:\/\/gtrisca.dev\/wp-content\/uploads\/2017\/04\/Screenshot_20170403_135548.png 301w, https:\/\/gtrisca.dev\/wp-content\/uploads\/2017\/04\/Screenshot_20170403_135548-300x195.png 300w\" sizes=\"(max-width: 301px) 100vw, 301px\" \/><\/p>\n<p>Unfortunately, changing the default link color in System Settings \u2192\u00a0Colors has no effect, regardless of whether &#8220;Apply colors to non-Qt applications&#8221; is selected or not.<\/p>\n<p>The best solution I could find is to modify the Breeze configuration directly. Luckily enough, it&#8217;s CSS.<\/p>\n<pre class=\"nums:false lang:css mark:12 decode:true \" title=\"\/usr\/share\/themes\/Breeze\/grk-3.0\/gtk.css\">\/************\r\n * Tooltips *\r\n ************\/\r\ntooltip {\r\n  color: #eff0f1;\r\n  padding: 4px;\r\n  \/* not working *\/\r\n  border-radius: 3px;\r\n  box-shadow: none;\r\n  text-shadow: none; }\r\n  tooltip.background {\r\n    background-color: #777777; \/* &lt;-- change this value *\/\r\n   background-clip: padding-box; }\r\n  tooltip.window-frame.csd {\r\n    background-color: transparent;\r\n    box-shadow: none; }\r\n  tooltip decoration { \r\n    background-color: transparent; }<\/pre>\n<p>It yields a bad-looking tooltip, but at least is readable!<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-47 alignnone\" src=\"\/\/tog000.io\/wp-content\/uploads\/2017\/04\/Screenshot_20170403_141814.png\" alt=\"\" width=\"298\" height=\"197\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My system configuration: Eclipse Neon.2 Release (4.6.2) KDE Frameworks 5.26.0 Kubuntu 16.10 Enabling the Breeze GTK theme (gtk3-engines-breeze) causes tooltips in Eclipse to become very hard to read, especially when there are links in the content: Unfortunately, changing the default link color in System Settings \u2192\u00a0Colors has no effect, regardless of whether &#8220;Apply colors to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/posts\/45"}],"collection":[{"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":5,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":77,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/posts\/45\/revisions\/77"}],"wp:attachment":[{"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}