justforlxz / deepin-topbar

Provide the function of the top bar, beautiful, easy to use.
https://blog.justforlxz.com/
GNU General Public License v3.0
326 stars 51 forks source link

concept-deepin-topBar ... ??? #30

Open aiamuzz opened 6 years ago

aiamuzz commented 6 years ago

Hi,

elegance being the keyword ... Deepin is elegant !!!

I am not a coder(i am a Computer Science Graduate and an ex-banker), had i been one(a coder) probably you'd have deepin-topbar on the following lines, unfortunately i am not ... so i am open to collaboration with a coder.

And i would like to believe that If Deepin ever officially decided to develop the topBar it would almost & certainly be like the one i am posting here ... i guess.

don't you think the elegance of deepin is consistent and can be seen in this visual topbar ?

OK ... here you go ... for your-eyes-only ...

it is NOT a topBar in flesh and blood ... it is just a concept topBar(at least until a coder is willing to collaborate and want to go down this road and help realize it) ...

deepin_topbar_screen 1

deepin_topbar_screen 2

deepin_topbar_screen 3

deepin_topbar_screen 4

deepin_topbar_screen 5

deepin_topbar_screen 6

deepin_topbar_screen 7

aiamuzz commented 6 years ago

Info :

I am a lazy person ... as a consequence i would want to accomplish things with the least possible effort ... being a CS graduate, the nerd in me can't help but think on the following lines ...

if i was a coder ... and being a buff for efficiency(the lazy person that i am) ...

I would think out loud ... the following ...

My Starting point for proj_topBar ... would be deepin-dock ...

that explains ... Screen 1 & Screen 2 ... they are Deepin Dock in Fashion mode and Efficient mode(as is) respectively.

Screen 3 is the path i would pursue first ... the **Lazy_CSgrad_Design_Brand** guy that i am ...

In this screen you'll see ... a Lazy guy takes an existing deepin-dock ... renames it to deepin-dock-topbar ... and adds a third 'Mode' ... which i call 'Deepin (Unofficial)'

Deepin (Unofficial) mode ... equals ... Fashion Mode = true (with the location bottom) and Efficient Mode = true (with the location top)

If this is achieved then we have a topBar to start with(a blank) ... BUT ... the Efficient top bar of deepin-dock needs to be modified ... if we modify right away then we mess the 'Efficient Mode' ... so i would create a copy(a duplicate) of the Efficient Mode Module within deepin-dock-topbar

so effectively at this point deepin-dock-topbar fork would have 3 modules instead of 2 ... it would have 'Fashion Mode Module' 'Efficient Mode Module' 'Deepin (Unofficial) Mode Module' - which is the duplicate of Efficient Mode Module ... aka ... topbar module

the next step would be ... to tweak/develop ... the Deepin (Unofficial) Mode Module ...

If we remove the ability to add icons to the efficient mode in this 3rd module, the Deepin (Unofficial) Mode Module ... then what we would be left with is a Deepin-topBar !!!

Screens 4, 5, 6, 7 are ways in which i would go on to develop the Deepin (Unoffcial) topbar ...

aiamuzz commented 6 years ago

If the deepin-dock cannot be manipulated as per what i hope to ... then one will have no choice but to start building a topbar from the ground up ... and Its highly NECESSARY to develop a deepin-topbar on the lines of Screens 4, 5, 6, 7 ... don't you think ?

DeepinOS is catching up fast PRIMARILY for one reason ... its eye-candy design(an elegance never seen in the Linux distributions world) ... the fact that its 'Deepin Desktop Environment(dde)' is being adopted and integrated into a lot of other popular distros is reason enough to highly focus on a topbar which is in line with the 'design definition' of deepin OS !!!

@kirigayakazushin ... i have borrowed deepin OS's current design definition and recreated/developed this deepin-topbar visual roadmap ... i would be willing to assist you in any way i can ... i have a much more detailed roadmap (checklist) to take this project forward ... please let me know ... i'll share the same with you for this project.

If its done right then this project could be presented to Deepin Official team for an official consideration to merge into its official deepin-dock ... as it is in line with their universal design definition/philosophy !!!

aiamuzz commented 6 years ago

any design feedback is welcome ... and if @kirigayakazushin permits than i would like to continue tweaking the design as per your feedback and post the same here ... but this will be a virtual topbar, only for your eyes ... a concept bar ... just like a concept car !!!

justforlxz commented 6 years ago

@aiamuzz Thanks for your advices, the company has now decided not to develop the topbar, so I developed it myself. I have done similar to your current design, but technically not very good to achieve, and some of the design does not meet expectations, it will only retain the menu. My principle is to make the best use of existing technologies and data without making any major changes to the system.

justforlxz commented 6 years ago

My next plan is that the menu contains only a few shortcuts and there will be an advanced setup program that controls more detailed settings.

aiamuzz commented 6 years ago

Hello ... @kirigayakazushin

That's sad ... If the company has decided not to develop topbar ... and glad you are trying to develop one ... even i think a topbar option is a good one to have.

Like i said i am not a coder ... but i have some questions if you can clarify ...

  1. As you are a coder and you know to read the code, is it possible to enable the following in deepin-dock package ?

Fashion Mode = true (with the location bottom) Efficient Mode = true (with the location top

basically can both fashion mode and efficient mode be switched on at the same time ?

In your free time could you look into the deepin-dock code ?

justforlxz commented 6 years ago

This needs to be change for dde-dock, because the content is determined by the product department.And dde-dock is currently only allowed to start one. @aiamuzz

aiamuzz commented 6 years ago

i know it is currently allowed to start one ... but if one had to tried ... is it possible ... unless the product department does not permit to do so ...

  1. My second question ... Is it possible to extract/export the entire 'Efficient Mode Module' from the dde-dock package ... if so can it be run as a separate package ?
justforlxz commented 6 years ago

In fact, dde-dock also has a backend program that holds and supplies all the data it needs, and the dock is a singleton, so it's not easy to do that.

aiamuzz commented 6 years ago

hmmmmm ... that is bad news ...

If somehow one could isolate and export/duplicate/copy the efficient mode to a separate package ... it will be a great way to develop the topbar with minimal changes to the system. Basically i am looking if we can use the current efficient mode implementation as a top bar ...

the topbar you have developed in this project ... how have you approached it ... have you built it from scratch ? or you have built over existing implementation ?

justforlxz commented 6 years ago

deepin-topbar is actually from dde-dock. Initially, I used all the frame code directly. In the subsequent submission, I replaced a lot of code to realize the function I wanted. You can think of topbar as an efficient mode dock. I've reimplemented some plug-in interfaces, and based on this added new features.

aiamuzz commented 6 years ago

oh ok ... that's good ... i wouldn't understand the technical terminology as i don't understand it completely ... i can understand it only as a concept.

aiamuzz commented 6 years ago

Hey that's great ... so topbar is actually the efficient mode dock ?

Have you modified system-tray bits of code by any chance ?

justforlxz commented 6 years ago

@aiamuzz Yes, but the dock's tray is a plug-in, and the topbar's tray is a module. They are different. You can remove the dock's tray by removing the plugin, but you can not do that for topbar.

aiamuzz commented 6 years ago

by dock's tray do you mean ... the default deepin fashion mode dock at the bottom or do you mean the system tray(set of icons) seen on the right of the efficient mode bar ?

smold22 commented 6 years ago

deepin_top-bart_desktop_1 deepin_top-bart_desktop_2 deepin_top_bar2 deepin_top_bar3 deepin_top_bar4 deepin_top_bar5 deepin_top_bar6 deepin_top_bar7 deepin_top_bar8 If the appearance and functionality will be similar, it will be quite convenient

justforlxz commented 6 years ago

@smold22 Thank you for your suggestion, I will consider it.

smold22 commented 6 years ago

And why you don't want to try to make a topbar with dynamic blur, remove the date and leave only time. A a date display at the touch of the right mouse button

smold22 commented 6 years ago

and could you tweak the display of the language selection icon, and instead put the flag of the selected language

smold22 commented 6 years ago

Here is there is remarkable icons https://github.com/stephenhutchings/typicons.font.git deepinscreenshot_ - _20180325151810