This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 218206 - Support for Chromium
Summary: Support for Chromium
Status: VERIFIED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords: RELNOTE
Depends on:
Blocks:
 
Reported: 2012-09-12 11:38 UTC by Tomas Mysik
Modified: 2012-11-20 21:58 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2012-09-12 11:38:44 UTC
NB Chrome extension should work in Chromium as well. See issue #218197 for possible problems.
Comment 1 Vladimir Riha 2012-09-12 12:12:37 UTC
Observed problems:
- control actions for Select Mode in right click context menu are missing
- resizing window does not work - window is resized only from maximized state and to wrong size (might be related to Ubuntu)
Comment 2 Tomas Mysik 2012-11-14 07:21:53 UTC
I must reassign to David - the plugin detection does not work for me at all. I installed Chromium from Ubuntu packages [1] but NB still tells me that the plugin is not installed. If I run without the NB integration, Chromium is correctly opened with the proper file.

Please evaluate and fix if possible, then reassign back to me.

Thanks.
[1] Version 22.0.1229.94 Ubuntu 12.10 (161065), I use Kubuntu 12.10
Comment 3 David Konecny 2012-11-14 19:16:47 UTC
Interesting. Have a look at extbrowser/src/org/netbeans/modules/extbrowser/plugins/chrome/ChromiumManagerAccessor.java - it looks for /.config/chromium in your home folder and rest is the same as for Chrome - last used profile is read from "local state" file followed by opening profile's subfolder and reading "preferences" file from there. What's different in your setup?
Comment 4 Tomas Mysik 2012-11-15 05:23:43 UTC
I see now - I run Chromium with "--user-data-dir=/tmp/chromium" because I prefer Chrome so I do not want chromium files in my home directory. If I need to run it without the parameter, let me know, I will do it.

Thanks.
Comment 5 David Konecny 2012-11-15 18:46:07 UTC
(In reply to comment #4)
> If I need to run it without the parameter, let me know

Yes, you do. Both Chrome and Chromium depends on it.
Comment 6 Tomas Mysik 2012-11-16 06:04:48 UTC
(In reply to comment #5)
> Yes, you do. Both Chrome and Chromium depends on it.

In such case we should have it somewhere - in Release Notes maybe?
Comment 7 Tomas Mysik 2012-11-16 06:11:45 UTC
I just roughly tested it and it works for me (including the cases from comment #1) - Láďo, can you please verify?

Thanks.

Chromium installed from Kubuntu 12.10 packages, version: 22.0.1229.94 Ubuntu 12.10 (161065)
Comment 8 David Konecny 2012-11-16 08:09:52 UTC
Good point. To summarize:

Could we record in the release notes please that Chrome (or Chromium) with 'custom user data directory' is not supported. See http://www.chromium.org/user-experience/user-data-directory for more info on how to set custom user data directory and where the default one is.
Comment 9 Vladimir Riha 2012-11-16 08:18:57 UTC
I tried basic debugging, Inspect mode, window resizing and all seems fine. I'll give it more thorough testing later today or on Monday.


Version 23.0.1271.64 Ubuntu 12.04 (165188)
Product Version: NetBeans IDE Dev (Build 201211160001)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15
System: Linux version 3.2.0-32-generic-pae running on i386; UTF-8; en_US (nb)
Comment 10 Vladimir Riha 2012-11-20 09:54:47 UTC
No other issues found so verifying


Product Version: NetBeans IDE Dev (Build web-main-9262-on-20121119)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b16
System: Linux version 3.2.0-33-generic-pae running on i386; UTF-8; en_US (nb)
Comment 11 Tomas Mysik 2012-11-20 10:32:34 UTC
(In reply to comment #8)
> Good point. To summarize:
> 
> Could we record in the release notes please that Chrome (or Chromium) with
> 'custom user data directory' is not supported. See
> http://www.chromium.org/user-experience/user-data-directory for more info on
> how to set custom user data directory and where the default one is.

Davide, is the RELNOTE keyword enough or should I do something more?

Thanks.
Comment 12 David Konecny 2012-11-20 21:58:24 UTC
The RELNOTE and Target Milestone should be enough.