Comments (22)
Currently I am the maintainer of official icon theme in LibreOffice, I might give a hand to this request.
from zotero-libreoffice-integration.
zotero-colibre.zip This is my work. For large size, I set 24px instead of 26px to match the latest convention changes. Actually, it still needs an extra large size of 32px. Please let me know if that size would like to be added too.
Hi,
upstream is not interested in my PR (see here).
I agree it's better to have the icons of the extensions change automatically when the user switches theme inside LibreOffice.
But this seems not possible with LibreOffice, and I think that we have what we have, and we need to live along with it :)
So I published the extension with your icons bundled on my fork.
If you ever make new icons for new themes, just open an issue there.
It should be trivial to add new icons :)
from zotero-libreoffice-integration.
Helo, can I work on this request?
Just curious, where the icon definition is placed? The icons itself are placed under build/oxt/icon. I would like to update them to 24px size instead of 26px
from zotero-libreoffice-integration.
Helo, can I work on this request?
Do you know how to bundle different icons for different themes in an extension? How does libreoffice icon theming work?
Just curious, where the icon definition is placed?
The icons itself are placed under build/oxt/icon. I would like to update them to 24px size instead of 26px
The icons are 26x26px because that's the requirement. I cannot find any official LibreOffice docs on this on the current web and LibreOffice docs have always been nigh-impossible to locate, but here's one place that says so. It doesn't make much sense to me either if you ask me, but that's what the docs said when we last updated the icons ourselves.
from zotero-libreoffice-integration.
Will the new “Add Note” button be added at some point also? I don't have MS Word, but I presume it is already on that platform, Thank you
from zotero-libreoffice-integration.
@bijang: Add Note is available on all platforms. If you're not seeing it in LO, reinstall the plugin from the Cite preferences. Post to the forums if you're still having trouble.
from zotero-libreoffice-integration.
thank you that's working fine
from zotero-libreoffice-integration.
Do you know how to bundle different icons for different themes in an extension?
As far as I know, there's no support for extensions to bring different themes currently from within LibreOffice theming mechanism. Another option is extension makers who provide the option to change the theme, but this means adding a new workload to them
How does libreoffice icon theming work?
I have zero understanding about code, so here I can not explain much. But I can bring anyone who interested against the topic to the right person.
The icons are 26x26px because that's the requirement. I cannot find any official LibreOffice docs on this on the current web and LibreOffice docs have always been nigh-impossible to locate, but here's one place that says so. It doesn't make much sense to me either if you ask me, but that's what the docs said when we last updated the icons ourselves.
26px x26px size was "official" icon theme called Galaxy from Sun Microsystem era, the LibreOffice team currently agrees to use 24px as it's standard size in FreeDesktop. But yea, so unfortunate no official docs here.
from zotero-libreoffice-integration.
As far as I know, there's no support for extensions to bring different themes currently from within LibreOffice theming mechanism.
That was my understanding too.
Another option is extension makers who provide the option to change the theme, but this means adding a new workload to them
I'm afraid we're not interested in it if it requires separate releases.
from zotero-libreoffice-integration.
The icons are 26x26px because that's the requirement
It was in the Galaxy days, but we have dropped that many years ago, and I changed the Large icons to 24 instead in LibreOffice/core@bea44e5
from zotero-libreoffice-integration.
@fitojb Are there any up-to-date docs for LibreOffice available somewhere that document modern plugin development?
from zotero-libreoffice-integration.
@adomasven Have you looked at https://wiki.documentfoundation.org/Development/Extension_Development ? If you’re missing something in particular, please make note of it on the talk page or send questions to the mailing list [email protected]
from zotero-libreoffice-integration.
Currently I am the maintainer of official icon theme in LibreOffice, I might give a hand to this request.
@rizmut if you can work on it, I will PR here to add them :)
from zotero-libreoffice-integration.
Oh yes the work is on progress
@rizmut if you can work on it, I will PR here to add them :)
from zotero-libreoffice-integration.
zotero-colibre.zip
This is my work. For large size, I set 24px instead of 26px to match the latest convention changes. Actually, it still needs an extra large size of 32px. Please let me know if that size would like to be added too.
from zotero-libreoffice-integration.
I got lost.
Relevant files seem to be in ./build/oxt/icons
.
They are not split by LibreOffice theme? So there is the same set of icons for all possible LibreOffice theme?
How plugin icons are supposed to be integrated with the main theme?
Shouldn't this be managed at the theme-level, instead of at the plugin-level?
from zotero-libreoffice-integration.
zotero-colibre.zip This is my work. For large size, I set 24px instead of 26px to match the latest convention changes. Actually, it still needs an extra large size of 32px. Please let me know if that size would like to be added too.
It looks really nice and integrates nicely with the overall colibre theme.
Although I probably would have colored the "Refresh" button in blue, but that's just taste 😁
from zotero-libreoffice-integration.
@rizmut I don't understand what setDocPrefs_24-a
is for. It seems it's not defined in the .xcu
files?
from zotero-libreoffice-integration.
@rizmut I don't understand what
setDocPrefs_24-a
is for. It seems it's not defined in the.xcu
files?
It's just a variation to choose. Either you go with setDocPrefs_24-a or go with setDocPrefs_24
from zotero-libreoffice-integration.
@rizmut I don't understand what
setDocPrefs_24-a
is for. It seems it's not defined in the.xcu
files?It's just a variation to choose. Either you go with setDocPrefs_24-a or go with setDocPrefs
Ok, I went with the latter.
I PRed this as promised :D
from zotero-libreoffice-integration.
Ah, what a shame, these icons look amazing @rizmut. Maybe they will be upstreamed in the future 🙏
from zotero-libreoffice-integration.
Hi,
upstream is not interested in my PR (see here).
I agree it's better to have the icons of the extensions change automatically when the user switches theme inside LibreOffice. But this seems not possible with LibreOffice, and I think that we have what we have, and we need to live along with it :)
Just wondering why upstream reject all of the PR? I means at least incorporating one of icon theme will not be a huge problem for them.
But thank a bunch for your PR. I am really too excited to add more icon themes if proper support exists.
from zotero-libreoffice-integration.
Related Issues (20)
- ReferenceMarks/Citations extended when typing on the border HOT 1
- Error updating when using a text formatting style with "Next style" set HOT 1
- Feature request/regression: per chapter/page "first-note-reference-number"
- Remove Zotero wiki dev documentation? HOT 1
- Ignore OpenOffice directories during installation HOT 1
- Cannot install extension with java.lang.reflect.InvocationTargetException HOT 1
- IEEE Refrence style does not show correctly in libreoffice with two column veiw HOT 1
- Remove installation cancellation confirmation dialog HOT 2
- how to use a libreoffice text style HOT 1
- Inserting citation keeps cursor in 'citation editing mode' HOT 1
- Disable track changes when inserting/editing citations HOT 1
- Transfer document not recognized if there is a bookmark in the import placeholder
- Stop linking to Java 8
- Copy-paste citation lose ReferenceMark HOT 1
- Bibliography is inserted outside the field if not inserted at the end of document. HOT 1
- Include link to extension in documentation HOT 1
- New icon theme for light/dark mode HOT 4
- Tabbed View: Where do I find Zotero? HOT 1
- Text of citation details, when imported into LibreOffice, is not set to the language of the citation HOT 1
- 32-bit Unicode characters cause document export to fail HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zotero-libreoffice-integration.